2014-07-07 21:53:04 +02:00
|
|
|
################################################################################
|
|
|
|
#
|
|
|
|
# ncmpc
|
|
|
|
#
|
|
|
|
################################################################################
|
|
|
|
|
|
|
|
NCMPC_VERSION_MAJOR = 0
|
2019-02-08 22:40:47 +01:00
|
|
|
NCMPC_VERSION = $(NCMPC_VERSION_MAJOR).33
|
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-02-08 22:40:47 +01:00
|
|
|
NCMPC_DEPENDENCIES = boost host-pkgconf libmpdclient ncurses
|
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
|
|
|
|
|
2018-11-11 20:44:08 +01:00
|
|
|
NCMPC_CONF_OPTS = \
|
|
|
|
-Dcurses=ncurses \
|
2019-02-08 22:40:48 +01:00
|
|
|
-Ddocumentation=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))
|