[packages] ffmpeg: fix configuration for ffmpeg server support, don't build ffmpeg...
authorNicolas Thill <nico@openwrt.org>
Thu, 1 Jul 2010 00:39:50 +0000 (00:39 +0000)
committerNicolas Thill <nico@openwrt.org>
Thu, 1 Jul 2010 00:39:50 +0000 (00:39 +0000)
SVN-Revision: 22006

multimedia/ffmpeg/Config.in
multimedia/ffmpeg/Makefile

index 889cf8b..c5267f3 100644 (file)
@@ -10,8 +10,9 @@ config FFMPEG_PATENTED
        default BUILD_PATENTED
 
 config FFMPEG_FFSERVER_SUPPORT
-       bool "Include support for FFmpeg streaming support"
+       bool "Include support for ffserver (FFmpeg streaming server)"
        select FFMPEG_MUXER_ffm
+       select FFMPEG_DEMUXER_ffm
        select FFMPEG_DEMUXER_rtsp
        select FFMPEG_PROTOCOL_rtp
 
index 75e9e1b..28639f3 100644 (file)
@@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
 
 PKG_NAME:=ffmpeg
 PKG_VERSION:=0.5.2
-PKG_RELEASE:=2
+PKG_RELEASE:=3
 
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
 PKG_SOURCE_URL:=http://ffmpeg.org/releases/
@@ -185,8 +185,6 @@ define Build/Configure
                --enable-shared \
                --enable-static \
                --disable-debug \
-               --enable-ffmpeg \
-               --enable-ffserver \
                --enable-gpl \
                --disable-libfaad \
                --disable-mmx \
@@ -199,6 +197,8 @@ define Build/Configure
                --enable-zlib \
                --enable-postproc \
                \
+               $(if $(CONFIG_PACKAGE_ffmpeg),,--disable-ffmpeg) \
+               $(if $(CONFIG_PACKAGE_ffserver),,--disable-ffserver) \
                $(if $(CONFIG_FFMPEG_IPV6),,--disable-ipv6) \
                \
                --disable-bsfs \