2014-07-07 21:53:04 +02:00
|
|
|
################################################################################
|
|
|
|
#
|
|
|
|
# ncmpc
|
|
|
|
#
|
|
|
|
################################################################################
|
|
|
|
|
|
|
|
NCMPC_VERSION_MAJOR = 0
|
2021-04-05 15:52:33 +02:00
|
|
|
NCMPC_VERSION = $(NCMPC_VERSION_MAJOR).45
|
2015-03-03 09:41:14 +01:00
|
|
|
NCMPC_SOURCE = ncmpc-$(NCMPC_VERSION).tar.xz
|
2014-07-07 21:53:04 +02:00
|
|
|
NCMPC_SITE = http://www.musicpd.org/download/ncmpc/$(NCMPC_VERSION_MAJOR)
|
2019-04-21 19:27:16 +02:00
|
|
|
NCMPC_DEPENDENCIES = \
|
|
|
|
boost \
|
|
|
|
host-pkgconf \
|
|
|
|
libmpdclient \
|
|
|
|
ncurses \
|
|
|
|
$(TARGET_NLS_DEPENDENCIES)
|
2017-03-30 15:43:32 +02:00
|
|
|
NCMPC_LICENSE = GPL-2.0+
|
2014-07-07 21:53:04 +02:00
|
|
|
NCMPC_LICENSE_FILES = COPYING
|
2021-03-05 23:27:44 +01:00
|
|
|
NCMPC_CPE_ID_VENDOR = ncmpc_project
|
2014-07-07 21:53:04 +02:00
|
|
|
|
2018-11-11 20:44:08 +01:00
|
|
|
NCMPC_CONF_OPTS = \
|
|
|
|
-Dcurses=ncurses \
|
2019-06-10 11:51:46 +02:00
|
|
|
-Ddocumentation=disabled \
|
|
|
|
$(if $(BR2_SYSTEM_ENABLE_NLS),-Dnls=enabled,-Dnls=disabled)
|
2018-03-08 17:42:52 +01:00
|
|
|
|
2018-04-02 13:10:18 +02:00
|
|
|
ifeq ($(BR2_PACKAGE_LIRC_TOOLS),y)
|
|
|
|
NCMPC_DEPENDENCIES += lirc-tools
|
2019-02-08 22:40:47 +01:00
|
|
|
NCMPC_CONF_OPTS += -Dlirc=enabled
|
2018-04-02 13:10:18 +02:00
|
|
|
else
|
2019-02-08 22:40:47 +01:00
|
|
|
NCMPC_CONF_OPTS += -Dlirc=disabled
|
2018-04-02 13:10:18 +02:00
|
|
|
endif
|
|
|
|
|
2019-02-08 22:40:48 +01:00
|
|
|
ifeq ($(BR2_PACKAGE_PCRE),y)
|
|
|
|
NCMPC_DEPENDENCIES += pcre
|
|
|
|
NCMPC_CONF_OPTS += -Dregex=enabled
|
|
|
|
else
|
|
|
|
NCMPC_CONF_OPTS += -Dregex=disabled
|
|
|
|
endif
|
|
|
|
|
2018-05-15 21:51:57 +02:00
|
|
|
$(eval $(meson-package))
|