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:
parent
6518cf4da7
commit
87d57e0572
@ -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))
|
||||
|
Loading…
Reference in New Issue
Block a user