1 #sbs-git:slp/pkgs/g/gstreamer0.10-ffmpeg gst-ffmpeg 0.10.11 eab91d2292960a6c9af3b27ca939ad65a4418984
3 Summary: FFmpeg plugin for GStreamer
8 Source0: %{name}-%{version}.tar.gz
9 #Patch0: gst-ffmpeg-autotools.patch
10 #Patch1: gst-ffmpeg-ffmux-ehancement.patch
11 #Patch2: gst-ffmpeg-swscale-pc.patch
12 BuildRequires: gettext
14 BuildRequires: gstreamer-tools
15 BuildRequires: gst-plugins-base-devel
16 BuildRequires: pkgconfig(gstreamer-0.10)
17 BuildRequires: pkgconfig(glib-2.0)
18 BuildRequires: pkgconfig(zlib)
21 This GStreamer plugin supports a large number of audio and video compression
22 formats through the use of the FFmpeg library. The plugin contains GStreamer
23 elements for decoding 90+ formats (AVI, MPEG, OGG, Matroska, ASF, ...),
24 demuxing 30+ formats and colorspace conversion.
36 export CFLAGS+=" -Wall -Wno-unused-but-set-variable -Wno-implicit-function-declaration -g -fPIC\
37 -DFFDEC_RANK_MODIFICATION"
39 export EXTRA_CONFIGURE="--disable-gpl"
42 export EXTRA_CONFIGURE="$EXTRA_CONFIGURE --disable-libvorbis --disable-libtheora --enable-decoders --enable-encoders"
44 export EXTRA_CONFIGURE="$EXTRA_CONFIGURE --disable-libvorbis --disable-libtheora"
46 %configure --disable-static \
49 --with-html-dir=/tmp/dump \
50 --with-ffmpeg-extra-configure="$EXTRA_CONFIGURE"
56 mkdir -p %{buildroot}/usr/share/license
57 cp COPYING.LIB %{buildroot}/usr/share/license/%{name}
62 %manifest gst-ffmpeg.manifest
63 %defattr(-,root,root,-)
64 /usr/lib/gstreamer-0.10/libgstffmpeg.so
65 /usr/share/license/%{name}