From: Fabrice Fontaine Date: Mon, 2 Apr 2018 11:10:18 +0000 (+0200) Subject: ncmpc: add optional dependency to lirc-tools X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=1189d03fe70f8b74384649d9a9edbacca3586240;p=buildroot.git ncmpc: add optional dependency to lirc-tools Signed-off-by: Fabrice Fontaine Signed-off-by: Peter Korsgaard --- diff --git a/package/ncmpc/ncmpc.mk b/package/ncmpc/ncmpc.mk index 6bce627562..1d464b72de 100644 --- a/package/ncmpc/ncmpc.mk +++ b/package/ncmpc/ncmpc.mk @@ -18,6 +18,13 @@ NCMPC_CONF_OPTS += \ --buildtype $(if $(BR2_ENABLE_DEBUG),debug,release) \ --cross-file $(HOST_DIR)/etc/meson/cross-compilation.conf +ifeq ($(BR2_PACKAGE_LIRC_TOOLS),y) +NCMPC_DEPENDENCIES += lirc-tools +NCMPC_CONF_OPTS += -Dlirc=true +else +NCMPC_CONF_OPTS += -Dlirc=false +endif + NCMPC_NINJA_OPTS = $(if $(VERBOSE),-v) define NCMPC_CONFIGURE_CMDS