2.0 beta init
[framework/multimedia/gstreamer0.10-ffmpeg.git] / packaging / gst-ffmpeg.spec
1 #sbs-git:slp/pkgs/g/gstreamer0.10-ffmpeg gst-ffmpeg 0.10.13 eab91d2292960a6c9af3b27ca939ad65a4418984
2 Name:       gst-ffmpeg
3 Summary:    FFmpeg plugin for GStreamer
4 Version:    0.10.13
5 Release:    3
6 Group:      Applications/Multimedia
7 License:    LGPLv2+
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
13 BuildRequires:  which
14 BuildRequires:  prelink
15 BuildRequires:  gstreamer-tools
16 BuildRequires:  gst-plugins-base-devel  
17 BuildRequires:  pkgconfig(gstreamer-0.10) 
18 BuildRequires:  pkgconfig(glib-2.0)
19 BuildRequires:  pkgconfig(liboil-0.3)
20 BuildRequires:  pkgconfig(zlib)
21 BuildRequires:  pkgconfig(vorbis)
22 BuildRequires:  pkgconfig(theora)
23
24 %description
25 This GStreamer plugin supports a large number of audio and video compression
26 formats through the use of the FFmpeg library.  The plugin contains GStreamer
27 elements for decoding 90+ formats (AVI, MPEG, OGG, Matroska, ASF, ...),
28 demuxing 30+ formats and colorspace conversion.
29
30
31 %prep
32 %setup -q 
33 #%patch0 -p1
34 #%patch1 -p1
35 #%patch2 -p1
36
37 %build
38 ./autogen.sh
39
40 export CFLAGS+=" -Wall -g -fPIC\
41  -DGST_EXT_FFMUX_ENHANCEMENT\
42  -DFFDEC_RANK_MODIFICATION"
43
44 %configure --prefix=%{_prefix}\
45  --disable-static\
46  --disable-nls\
47  --enable-lgpl\
48  --disable-version3\
49  --disable-gpl\
50  --disable-nonfree\
51  --with-html-dir=/tmp/dump
52
53
54 make %{?jobs:-j%jobs}
55
56 %install
57 rm -rf %{buildroot}
58 %make_install
59
60
61 %files
62 %defattr(-,root,root,-)
63 /usr/lib/gstreamer-0.10/libgstffmpeg.so
64 /usr/lib/gstreamer-0.10/libgstffmpegscale.so