package/tvheadend: add option to enable timeshift 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-04 14:10:55 +02:00 committed by Yann E. MORIN
parent 09c71669ab
commit 1ae47f5c48
2 changed files with 12 additions and 0 deletions

View File

@ -40,6 +40,12 @@ config BR2_PACKAGE_TVHEADEND_SATIP
help
Enable SAT>IP support.
config BR2_PACKAGE_TVHEADEND_TIMESHIFT
bool "timeshift support"
default y
help
Enable timeshift support.
config BR2_PACKAGE_TVHEADEND_TRANSCODING
bool "transcoding support"
depends on BR2_PACKAGE_FFMPEG_ARCH_SUPPORTS

View File

@ -85,6 +85,12 @@ else
TVHEADEND_CONF_OPTS += --disable-satip_client --disable-satip_server
endif
ifeq ($(BR2_PACKAGE_TVHEADEND_TIMESHIFT),y)
TVHEADEND_CONF_OPTS += --enable-timeshift
else
TVHEADEND_CONF_OPTS += --disable-timeshift
endif
ifeq ($(BR2_PACKAGE_LIBDVBCSA),y)
TVHEADEND_DEPENDENCIES += libdvbcsa
TVHEADEND_CONF_OPTS += --enable-tvhcsa