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