kumquat-buildroot/package/ncmpc/ncmpc.mk
Fabrice Fontaine 87d57e0572 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>
2019-02-10 15:08:43 +01:00

34 lines
857 B
Makefile

################################################################################
#
# ncmpc
#
################################################################################
NCMPC_VERSION_MAJOR = 0
NCMPC_VERSION = $(NCMPC_VERSION_MAJOR).33
NCMPC_SOURCE = ncmpc-$(NCMPC_VERSION).tar.xz
NCMPC_SITE = http://www.musicpd.org/download/ncmpc/$(NCMPC_VERSION_MAJOR)
NCMPC_DEPENDENCIES = boost host-pkgconf libmpdclient ncurses
NCMPC_LICENSE = GPL-2.0+
NCMPC_LICENSE_FILES = COPYING
NCMPC_CONF_OPTS = \
-Dcurses=ncurses \
-Ddocumentation=disabled
ifeq ($(BR2_PACKAGE_LIRC_TOOLS),y)
NCMPC_DEPENDENCIES += lirc-tools
NCMPC_CONF_OPTS += -Dlirc=enabled
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))