aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Fabrice Fontaine <fontaine.fabrice@gmail.com>2019-02-08 22:40:48 +0100
committerGravatar Thomas Petazzoni <thomas.petazzoni@bootlin.com>2019-02-10 15:08:43 +0100
commit87d57e0572c5a4890aecb979d2c3474a48705a26 (patch)
treef310db43d71393d03fcaa8db5ae63d4b2f3d37f6
parent6518cf4da7dd7ef2e6ff472f913d9bb28bde39cf (diff)
downloadbuildroot-87d57e0572c5a4890aecb979d2c3474a48705a26.tar.gz
buildroot-87d57e0572c5a4890aecb979d2c3474a48705a26.tar.bz2
package/ncmpc: add pcre optional dependency
pcre dependency has been added in version 0.32: https://github.com/MusicPlayerDaemon/ncmpc/commit/0b3169510014f0f336de58864b97a3cc0f308500 Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
-rw-r--r--package/ncmpc/ncmpc.mk10
1 files changed, 8 insertions, 2 deletions
diff --git a/package/ncmpc/ncmpc.mk b/package/ncmpc/ncmpc.mk
index 4167974490..2e52be27d5 100644
--- a/package/ncmpc/ncmpc.mk
+++ b/package/ncmpc/ncmpc.mk
@@ -14,8 +14,7 @@ NCMPC_LICENSE_FILES = COPYING
NCMPC_CONF_OPTS = \
-Dcurses=ncurses \
- -Ddocumentation=disabled \
- -Dregex=disabled
+ -Ddocumentation=disabled
ifeq ($(BR2_PACKAGE_LIRC_TOOLS),y)
NCMPC_DEPENDENCIES += lirc-tools
@@ -24,4 +23,11 @@ else
NCMPC_CONF_OPTS += -Dlirc=disabled
endif
+ifeq ($(BR2_PACKAGE_PCRE),y)
+NCMPC_DEPENDENCIES += pcre
+NCMPC_CONF_OPTS += -Dregex=enabled
+else
+NCMPC_CONF_OPTS += -Dregex=disabled
+endif
+
$(eval $(meson-package))