d07edd1e4f
- C++20 is mandatory since776e97b7a1
- iconv is an optional dependency since68c04f925d
- Second patch is not needed sincec264db04dd
https://github.com/MusicPlayerDaemon/ncmpc/blob/v0.47/NEWS Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com> Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
41 lines
1.0 KiB
Makefile
41 lines
1.0 KiB
Makefile
################################################################################
|
|
#
|
|
# ncmpc
|
|
#
|
|
################################################################################
|
|
|
|
NCMPC_VERSION_MAJOR = 0
|
|
NCMPC_VERSION = $(NCMPC_VERSION_MAJOR).47
|
|
NCMPC_SOURCE = ncmpc-$(NCMPC_VERSION).tar.xz
|
|
NCMPC_SITE = http://www.musicpd.org/download/ncmpc/$(NCMPC_VERSION_MAJOR)
|
|
NCMPC_DEPENDENCIES = \
|
|
host-pkgconf \
|
|
libmpdclient \
|
|
ncurses \
|
|
$(if $(BR2_PACKAGE_LIBICONV),libiconv) \
|
|
$(TARGET_NLS_DEPENDENCIES)
|
|
NCMPC_LICENSE = GPL-2.0+
|
|
NCMPC_LICENSE_FILES = COPYING
|
|
NCMPC_CPE_ID_VENDOR = ncmpc_project
|
|
|
|
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_PCRE2),y)
|
|
NCMPC_DEPENDENCIES += pcre2
|
|
NCMPC_CONF_OPTS += -Dregex=enabled
|
|
else
|
|
NCMPC_CONF_OPTS += -Dregex=disabled
|
|
endif
|
|
|
|
$(eval $(meson-package))
|