6387b2730d
cpe:2.3🅰️ncmpc_project:ncmpc is a valid CPE identifier for this package: https://nvd.nist.gov/products/cpe/search/results?namingFormat=2.3&keyword=cpe%3A2.3%3Aa%3Ancmpc_project%3Ancmpc Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com> Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
41 lines
987 B
Makefile
41 lines
987 B
Makefile
################################################################################
|
|
#
|
|
# ncmpc
|
|
#
|
|
################################################################################
|
|
|
|
NCMPC_VERSION_MAJOR = 0
|
|
NCMPC_VERSION = $(NCMPC_VERSION_MAJOR).42
|
|
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 \
|
|
$(TARGET_NLS_DEPENDENCIES)
|
|
NCMPC_LICENSE = GPL-2.0+
|
|
NCMPC_LICENSE_FILES = COPYING
|
|
NCMPC_CPE_ID_VALID = YES
|
|
|
|
NCMPC_CONF_OPTS = \
|
|
-Dcurses=ncurses \
|
|
-Ddocumentation=disabled \
|
|
$(if $(BR2_SYSTEM_ENABLE_NLS),-Dnls=enabled,-Dnls=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))
|