summaryrefslogtreecommitdiffstats
path: root/package/tvheadend
diff options
context:
space:
mode:
authorBernd Kuhls <bernd.kuhls@t-online.de>2014-10-14 20:28:26 +0200
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2014-10-28 22:04:48 +0100
commit050ca88db35bc81158de1c8709594e2dcd4af72e (patch)
tree7bfe2fa98273f03e5e55b540d90a097498f8effa /package/tvheadend
parent299741c485616ef033d220c24726ff3d54a9709f (diff)
package/tvheadend: Add support for libdvbcsa
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package/tvheadend')
-rw-r--r--package/tvheadend/tvheadend.mk8
1 files changed, 8 insertions, 0 deletions
diff --git a/package/tvheadend/tvheadend.mk b/package/tvheadend/tvheadend.mk
index 1445838ac..54112a659 100644
--- a/package/tvheadend/tvheadend.mk
+++ b/package/tvheadend/tvheadend.mk
@@ -14,6 +14,13 @@ ifeq ($(BR2_PACKAGE_AVAHI),y)
TVHEADEND_DEPENDENCIES += avahi
endif
+ifeq ($(BR2_PACKAGE_LIBDVBCSA),y)
+TVHEADEND_DEPENDENCIES += libdvbcsa
+TVHEADEND_CONF_OPTS += --enable-dvbcsa
+else
+TVHEADEND_CONF_OPTS += --disable-dvbcsa
+endif
+
ifeq ($(BR2_PACKAGE_LIBICONV),y)
TVHEADEND_DEPENDENCIES += libiconv
endif
@@ -30,6 +37,7 @@ define TVHEADEND_CONFIGURE_CMDS
--cpu="$(BR2_GCC_TARGET_CPU)" \
--python="$(HOST_DIR)/usr/bin/python" \
--disable-dvbscan \
+ $(TVHEADEND_CONF_OPTS) \
)
endef