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