ncmpc: add optional dependency to lirc-tools

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
Fabrice Fontaine 2018-04-02 13:10:18 +02:00 committed by Peter Korsgaard
parent cdac332d20
commit 1189d03fe7

View File

@ -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