aboutsummaryrefslogtreecommitdiff
path: root/package
diff options
context:
space:
mode:
authorGravatar Bernd Kuhls <bernd.kuhls@t-online.de>2014-10-31 22:07:00 +0100
committerGravatar Thomas Petazzoni <thomas.petazzoni@free-electrons.com>2014-11-01 14:47:46 +0100
commitad41eda9e82d418d8f2a0f6149bb7a88982941a0 (patch)
tree2b7166e6c870c89429c596e1085d9937d4412c6d /package
parent9966aed04948d230f1c1f3de4faee2762607e210 (diff)
downloadbuildroot-ad41eda9e82d418d8f2a0f6149bb7a88982941a0.tar.gz
buildroot-ad41eda9e82d418d8f2a0f6149bb7a88982941a0.tar.bz2
package/tvheadend: Add transcoding support by ffmpeg
Add --disable-libffmpeg_static to disable static linking of ffmpeg libraries into the tvheadend binary. tvheadend compiles with ffmpeg using this minimal defconfig: BR2_TOOLCHAIN_BUILDROOT_LARGEFILE=y BR2_TOOLCHAIN_BUILDROOT_INET_IPV6=y BR2_PACKAGE_FFMPEG=y BR2_PACKAGE_TVHEADEND=y Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package')
-rw-r--r--package/tvheadend/Config.in2
-rw-r--r--package/tvheadend/tvheadend.mk8
2 files changed, 10 insertions, 0 deletions
diff --git a/package/tvheadend/Config.in b/package/tvheadend/Config.in
index f7182a1248..303a345ca6 100644
--- a/package/tvheadend/Config.in
+++ b/package/tvheadend/Config.in
@@ -13,6 +13,8 @@ config BR2_PACKAGE_TVHEADEND
# architecture is avr32, which uses gcc 4.2.
depends on !BR2_avr32
select BR2_PACKAGE_DTV_SCAN_TABLES
+ select BR2_PACKAGE_FFMPEG_AVRESAMPLE if BR2_PACKAGE_FFMPEG
+ select BR2_PACKAGE_FFMPEG_SWSCALE if BR2_PACKAGE_FFMPEG
select BR2_PACKAGE_LIBICONV if !BR2_ENABLE_LOCALE
select BR2_PACKAGE_OPENSSL
help
diff --git a/package/tvheadend/tvheadend.mk b/package/tvheadend/tvheadend.mk
index bd46d0e59f..08d8e7e420 100644
--- a/package/tvheadend/tvheadend.mk
+++ b/package/tvheadend/tvheadend.mk
@@ -14,6 +14,13 @@ ifeq ($(BR2_PACKAGE_AVAHI),y)
TVHEADEND_DEPENDENCIES += avahi
endif
+ifeq ($(BR2_PACKAGE_FFMPEG),y)
+TVHEADEND_DEPENDENCIES += ffmpeg
+TVHEADEND_CONF_OPTS += --enable-libav
+else
+TVHEADEND_CONF_OPTS += --disable-libav
+endif
+
ifeq ($(BR2_PACKAGE_LIBDVBCSA),y)
TVHEADEND_DEPENDENCIES += libdvbcsa
TVHEADEND_CONF_OPTS += --enable-dvbcsa
@@ -38,6 +45,7 @@ define TVHEADEND_CONFIGURE_CMDS
--python="$(HOST_DIR)/usr/bin/python" \
--disable-dvbscan \
--enable-bundle \
+ --disable-libffmpeg_static \
$(TVHEADEND_CONF_OPTS) \
)
endef