package/tvheadend: Add support for libdvbcsa
authorBernd Kuhls <bernd.kuhls@t-online.de>
Tue, 14 Oct 2014 18:28:26 +0000 (20:28 +0200)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Tue, 28 Oct 2014 21:04:48 +0000 (22:04 +0100)
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/tvheadend/tvheadend.mk

index 1445838aca072b0df2ccbcf0bb5298d2fe7d87fd..54112a65939aa0e2a0551f75b7713a821d62f2e7 100644 (file)
@@ -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