package/tvheadend: add option to enable timeshift support
authorBernd Kuhls <bernd.kuhls@t-online.de>
Sun, 4 Apr 2021 12:10:55 +0000 (14:10 +0200)
committerYann E. MORIN <yann.morin.1998@free.fr>
Sun, 4 Apr 2021 12:25:22 +0000 (14:25 +0200)
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>
package/tvheadend/Config.in
package/tvheadend/tvheadend.mk

index d96d19989890914d715ea301e4f519493dd39911..cc42f8b4cd48bba57582fc3b9399c7b1019f1c15 100644 (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
index 9a007ce8d1cfd2a89eacac33c30dce3c420c1b32..dd963f2e94440098f5157fb8dcad75ce50d92782 100644 (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