ncmpc.mk 1022 B

12345678910111213141516171819202122232425262728293031323334353637383940
  1. ################################################################################
  2. #
  3. # ncmpc
  4. #
  5. ################################################################################
  6. NCMPC_VERSION_MAJOR = 0
  7. NCMPC_VERSION = $(NCMPC_VERSION_MAJOR).49
  8. NCMPC_SOURCE = ncmpc-$(NCMPC_VERSION).tar.xz
  9. NCMPC_SITE = http://www.musicpd.org/download/ncmpc/$(NCMPC_VERSION_MAJOR)
  10. NCMPC_DEPENDENCIES = \
  11. host-pkgconf \
  12. libmpdclient \
  13. ncurses \
  14. $(if $(BR2_PACKAGE_LIBICONV),libiconv) \
  15. $(TARGET_NLS_DEPENDENCIES)
  16. NCMPC_LICENSE = GPL-2.0+
  17. NCMPC_LICENSE_FILES = COPYING
  18. NCMPC_CPE_ID_VALID = YES
  19. NCMPC_CONF_OPTS = \
  20. -Dcurses=ncurses \
  21. -Ddocumentation=disabled \
  22. $(if $(BR2_SYSTEM_ENABLE_NLS),-Dnls=enabled,-Dnls=disabled)
  23. ifeq ($(BR2_PACKAGE_LIRC_TOOLS),y)
  24. NCMPC_DEPENDENCIES += lirc-tools
  25. NCMPC_CONF_OPTS += -Dlirc=enabled
  26. else
  27. NCMPC_CONF_OPTS += -Dlirc=disabled
  28. endif
  29. ifeq ($(BR2_PACKAGE_PCRE2),y)
  30. NCMPC_DEPENDENCIES += pcre2
  31. NCMPC_CONF_OPTS += -Dregex=enabled
  32. else
  33. NCMPC_CONF_OPTS += -Dregex=disabled
  34. endif
  35. $(eval $(meson-package))