ncmpc: build manpage and enable regex
This commit is contained in:
parent
d73bbaaebd
commit
e999a6f576
@ -5,18 +5,16 @@
|
||||
meson,
|
||||
ninja,
|
||||
pkg-config,
|
||||
sphinx,
|
||||
glib,
|
||||
ncurses,
|
||||
libmpdclient,
|
||||
gettext,
|
||||
boost,
|
||||
fmt,
|
||||
pcreSupport ? false,
|
||||
pcre ? null,
|
||||
pcre2,
|
||||
}:
|
||||
|
||||
assert pcreSupport -> pcre != null;
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "ncmpc";
|
||||
version = "0.51";
|
||||
@ -34,19 +32,25 @@ stdenv.mkDerivation rec {
|
||||
libmpdclient
|
||||
boost
|
||||
fmt
|
||||
] ++ lib.optional pcreSupport pcre;
|
||||
pcre2
|
||||
];
|
||||
|
||||
nativeBuildInputs = [
|
||||
meson
|
||||
ninja
|
||||
pkg-config
|
||||
gettext
|
||||
sphinx
|
||||
];
|
||||
|
||||
mesonFlags = [
|
||||
"-Dlirc=disabled"
|
||||
"-Ddocumentation=disabled"
|
||||
] ++ lib.optional (!pcreSupport) "-Dregex=disabled";
|
||||
(lib.mesonEnable "lirc" false)
|
||||
];
|
||||
|
||||
outputs = [
|
||||
"out"
|
||||
"doc"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Curses-based interface for MPD (music player daemon)";
|
||||
|
Loading…
Reference in New Issue
Block a user