package/ncmpc: add pcre optional dependency

pcre dependency has been added in version 0.32:
0b31695100

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
Fabrice Fontaine 2019-02-08 22:40:48 +01:00 committed by Thomas Petazzoni
parent 6518cf4da7
commit 87d57e0572

View File

@ -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))