package/tvheadend: add optional support for rpi-userland
authorBernd Kuhls <bernd.kuhls@t-online.de>
Wed, 6 Sep 2017 20:49:08 +0000 (22:49 +0200)
committerArnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Tue, 19 Sep 2017 20:20:09 +0000 (22:20 +0200)
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
package/tvheadend/tvheadend.mk

index ee3607ae9f5381721e099930ad61c6b0dc0ec20b..cf8bee9ceebb4472f640debbb282ed7aae689e79 100644 (file)
@@ -41,6 +41,12 @@ TVHEADEND_DEPENDENCIES += opus
 else
 TVHEADEND_CONF_OPTS += --disable-libopus
 endif
+ifeq ($(BR2_PACKAGE_RPI_USERLAND),y)
+TVHEADEND_CONF_OPTS += --enable-omx
+TVHEADEND_DEPENDENCIES += rpi-userland
+else
+TVHEADEND_CONF_OPTS += --disable-omx
+endif
 ifeq ($(BR2_PACKAGE_X265),y)
 TVHEADEND_CONF_OPTS += --enable-libx265
 TVHEADEND_DEPENDENCIES += x265
@@ -51,6 +57,7 @@ else
 TVHEADEND_CONF_OPTS += \
        --disable-libav \
        --disable-libopus \
+       --disable-omx \
        --disable-vaapi \
        --disable-libx264 \
        --disable-libx265