mirror of
https://github.com/motioneye-project/motioneyeos.git
synced 2025-07-29 22:26:31 +00:00
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 = \
|
NCMPC_CONF_OPTS = \
|
||||||
-Dcurses=ncurses \
|
-Dcurses=ncurses \
|
||||||
-Ddocumentation=disabled \
|
-Ddocumentation=disabled
|
||||||
-Dregex=disabled
|
|
||||||
|
|
||||||
ifeq ($(BR2_PACKAGE_LIRC_TOOLS),y)
|
ifeq ($(BR2_PACKAGE_LIRC_TOOLS),y)
|
||||||
NCMPC_DEPENDENCIES += lirc-tools
|
NCMPC_DEPENDENCIES += lirc-tools
|
||||||
@ -24,4 +23,11 @@ else
|
|||||||
NCMPC_CONF_OPTS += -Dlirc=disabled
|
NCMPC_CONF_OPTS += -Dlirc=disabled
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
ifeq ($(BR2_PACKAGE_PCRE),y)
|
||||||
|
NCMPC_DEPENDENCIES += pcre
|
||||||
|
NCMPC_CONF_OPTS += -Dregex=enabled
|
||||||
|
else
|
||||||
|
NCMPC_CONF_OPTS += -Dregex=disabled
|
||||||
|
endif
|
||||||
|
|
||||||
$(eval $(meson-package))
|
$(eval $(meson-package))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user