package/tvheadend: add option to enable descrambler support

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>
This commit is contained in:
Bernd Kuhls 2021-04-03 17:22:34 +02:00 committed by Yann E. MORIN
parent 07cbc83f8f
commit 4989c16072
2 changed files with 22 additions and 0 deletions

View File

@ -28,6 +28,12 @@ config BR2_PACKAGE_TVHEADEND
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

View File

@ -63,6 +63,22 @@ TVHEADEND_CONF_OPTS += \
--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