aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Fabrice Fontaine <fontaine.fabrice@gmail.com>2019-04-06 18:57:58 +0200
committerGravatar Thomas Petazzoni <thomas.petazzoni@bootlin.com>2019-04-11 19:36:42 +0200
commita53b5bfdc0594b477e035ed71834646dd0642de3 (patch)
treecd7559f9dfff6e17b68da4e8ca281ab2b7acacad
parent791ea4513c240dd7ba36586e0c8249c479fd3905 (diff)
downloadbuildroot-a53b5bfdc0594b477e035ed71834646dd0642de3.tar.gz
buildroot-a53b5bfdc0594b477e035ed71834646dd0642de3.tar.bz2
package/squeezelite: add optional lirc-tools dependency
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
-rw-r--r--package/squeezelite/Config.in8
-rw-r--r--package/squeezelite/squeezelite.mk5
2 files changed, 13 insertions, 0 deletions
diff --git a/package/squeezelite/Config.in b/package/squeezelite/Config.in
index 57f55ffc8c..b1820a146d 100644
--- a/package/squeezelite/Config.in
+++ b/package/squeezelite/Config.in
@@ -27,6 +27,14 @@ config BR2_PACKAGE_SQUEEZELITE_FFMPEG
config BR2_PACKAGE_SQUEEZELITE_DSD
bool "Enable DSD decoding"
+config BR2_PACKAGE_SQUEEZELITE_LIRC
+ bool "Enable lirc support"
+ depends on BR2_INSTALL_LIBSTDCPP
+ select BR2_PACKAGE_LIRC_TOOLS
+
+comment "lirc support needs a toolchain with C++"
+ depends on !BR2_INSTALL_LIBSTDCPP
+
config BR2_PACKAGE_SQUEEZELITE_RESAMPLE
bool "Enable resampling support"
select BR2_PACKAGE_LIBSOXR
diff --git a/package/squeezelite/squeezelite.mk b/package/squeezelite/squeezelite.mk
index 012b5304ab..e41053663a 100644
--- a/package/squeezelite/squeezelite.mk
+++ b/package/squeezelite/squeezelite.mk
@@ -20,6 +20,11 @@ ifeq ($(BR2_PACKAGE_SQUEEZELITE_DSD),y)
SQUEEZELITE_MAKE_OPTS += -DDSD
endif
+ifeq ($(BR2_PACKAGE_SQUEEZELITE_LIRC),y)
+SQUEEZELITE_DEPENDENCIES += lirc-tools
+SQUEEZELITE_MAKE_OPTS += -DIR
+endif
+
ifeq ($(BR2_PACKAGE_SQUEEZELITE_RESAMPLE),y)
SQUEEZELITE_DEPENDENCIES += libsoxr
SQUEEZELITE_MAKE_OPTS += -DRESAMPLE