Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
[yann.morin.1998@free.fr: one option per-commit]
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
if BR2_PACKAGE_TVHEADEND
+config BR2_PACKAGE_TVHEADEND_DESCRAMBLER
+ bool "descrambler support"
+ default y
+ help
+ Enable support for various descrambler modules.
+
config BR2_PACKAGE_TVHEADEND_TRANSCODING
bool "transcoding support"
depends on BR2_PACKAGE_FFMPEG_ARCH_SUPPORTS
--disable-libx265
endif
+ifeq ($(BR2_PACKAGE_TVHEADEND_DESCRAMBLER),y)
+TVHEADEND_CONF_OPTS += \
+ --enable-cardclient \
+ --enable-cwc \
+ --enable-cccam \
+ --enable-capmt \
+ --enable-constcw
+else
+TVHEADEND_CONF_OPTS += \
+ --disable-cardclient \
+ --disable-cwc \
+ --disable-cccam \
+ --disable-capmt \
+ --disable-constcw
+endif
+
ifeq ($(BR2_PACKAGE_LIBDVBCSA),y)
TVHEADEND_DEPENDENCIES += libdvbcsa
TVHEADEND_CONF_OPTS += --enable-tvhcsa