souphttpsrc: add cookie jar
[platform/upstream/gst-plugins-good.git] / packaging / gst-plugins-good.spec
1 %bcond_with x
2 %define gst_branch 1.0
3
4 Name:           gst-plugins-good
5 Version:        1.6.1
6 Release:        16
7 License:        LGPL-2.1+
8 Summary:        GStreamer Streaming-Media Framework Plug-Ins
9 Url:            http://gstreamer.freedesktop.org/
10 Group:          Multimedia/Framework
11 Source:         http://gstreamer.freedesktop.org/src/gst-plugins-good/gst-plugins-good-%{version}.tar.xz
12 Source100:      common.tar.gz
13 BuildRequires:  gcc-c++
14 BuildRequires:  gettext-tools
15 BuildRequires:  pkgconfig(glib-2.0) >= 2.32
16 BuildRequires:  pkgconfig(gstreamer-1.0)
17 BuildRequires:  pkgconfig(gstreamer-plugins-base-1.0)
18 BuildRequires:  libjpeg-devel
19 BuildRequires:  orc >= 0.4.16
20 BuildRequires:  python
21 BuildRequires:  xsltproc
22 BuildRequires:  pkgconfig(bzip2)
23 #BuildRequires:  pkgconfig(libpng) >= 1.2
24 BuildRequires:  pkgconfig(libpulse) >= 1.0
25 BuildRequires:  pkgconfig(libsoup-2.4)
26 BuildRequires:  pkgconfig(libxml-2.0) >= 2.4.9
27 # TODO find where process.h comes from, not kernel-devel and not wxWidgets so far.
28 %if %{with x}
29 BuildRequires:  pkgconfig(ice)
30 BuildRequires:  pkgconfig(sm)
31 BuildRequires:  pkgconfig(xdamage)
32 BuildRequires:  pkgconfig(xfixes)
33 # used by libgstvideo4linux2.so
34 BuildRequires:  pkgconfig(xv)
35 %endif
36
37 BuildRequires:  pkgconfig(zlib)
38 BuildRequires:  pkgconfig(libv4l2)
39 BuildRequires:  pkgconfig(vconf)
40 Requires:       gst-plugins-base >= 1.0.0
41 Requires:       gstreamer >= 1.0.5
42
43 %description
44 GStreamer is a streaming media framework based on graphs of filters
45 that operate on media data. Applications using this library can do
46 anything media-related, from real-time sound processing to playing
47 videos. Its plug-in-based architecture means that new data types or
48 processing capabilities can be added simply by installing new plug-ins.
49
50 %package extra
51 Summary:        Complementary plugins for %{name}
52 Group:          Productivity/Multimedia/Other
53 Requires:       %{name} = %{version}
54 Enhances:       gst-plugins-good
55
56 %description extra
57 This package provides complementary plugins for
58 %{name}.
59
60 %prep
61 %setup -q -n gst-plugins-good-%{version}
62 %setup -q -T -D -a 100
63
64 %build
65 # FIXME:
66 # warning: failed to load external entity "xml/element-v4l2src-details.xml"
67 # warning: failed to load external entity "xml/plugin-video4linux2.xml"
68 export V=1
69 NOCONFIGURE=1 ./autogen.sh
70 export CFLAGS+=" -DTIZEN_FEATURE_V4L2SRC_MODIFICATION\
71                 -DTIZEN_FEATURE_WAVPARSE_MODIFICATION\
72                 -DTIZEN_FEATURE_MP3PARSE_MODIFICATION\
73                 -DTIZEN_FEATURE_AACPARSE_MODIFICATION\
74                 -DTIZEN_FEATURE_QTDEMUX_MODIFICATION\
75                 -DTIZEN_FEATURE_FLVDEMUX_MODIFICATION\
76                 -DTIZEN_FEATURE_GST_UPSTREAM\
77                 -DTIZEN_FEATURE_RTSP_MODIFICATION\
78                 -DTIZEN_FEATURE_GST_MUX_ENHANCEMENT\
79                 -DTIZEN_FEATURE_SOUP_MODIFICATION"
80 %configure\
81 %if ! 0%{?ENABLE_AALIB}
82         --disable-aalib\
83 %endif
84         --with-libv4l2 \
85         --disable-gtk-doc\
86         --with-gtk=3.0\
87         --disable-monoscope\
88         --disable-y4m\
89         --disable-taglib\
90         --disable-wavpack\
91         --enable-experimental\
92 %if "%_repository" == "target-circle"
93         --disable-gst_v4l2\
94 %endif
95 %if "%{?profile}" == "tv"
96         --disable-equalizer\
97         --disable-flv\
98         --disable-videobox\
99         --disable-videomixer\
100 %endif
101         --disable-effectv\
102         --disable-alpha\
103         --disable-auparse\
104         --disable-effectv\
105         --disable-flx\
106         --disable-goom\
107         --disable-goom2k1\
108         --disable-level\
109         --disable-multipart\
110         --disable-replaygain\
111         --disable-smpte\
112         --disable-spectrum\
113         --disable-cutter\
114         --disable-dtmf\
115         --disable-imagefreeze\
116         --disable-oss4\
117         --disable-oss\
118         --disable-shapewipe
119
120 make %{?_smp_mflags} CFLAGS+="-Wno-error" CXXFLAGS+="-Wno-error"
121
122 %install
123 %make_install
124 %find_lang %{name}-%{gst_branch}
125
126 %lang_package -f %{name}-%{gst_branch}
127
128 %files
129 %manifest %{name}.manifest
130 %defattr(-, root, root)
131 %license COPYING
132 %{_libdir}/gstreamer-%{gst_branch}/libgstalaw.so
133 #%{_libdir}/gstreamer-%{gst_branch}/libgstalpha.so
134 #%{_libdir}/gstreamer-%{gst_branch}/libgstalphacolor.so
135 %{_libdir}/gstreamer-%{gst_branch}/libgstapetag.so
136 %{_libdir}/gstreamer-%{gst_branch}/libgstaudiofx.so
137 %{_libdir}/gstreamer-%{gst_branch}/libgstaudioparsers.so
138 #%{_libdir}/gstreamer-%{gst_branch}/libgstauparse.so
139 %{_libdir}/gstreamer-%{gst_branch}/libgstautodetect.so
140 %{_libdir}/gstreamer-%{gst_branch}/libgstavi.so
141 # Not yet ported
142 #%{_libdir}/gstreamer-%{gst_branch}/libgstcutter.so
143 %{_libdir}/gstreamer-%{gst_branch}/libgstdebug.so
144 # Not yet ported
145 %{_libdir}/gstreamer-%{gst_branch}/libgstdeinterlace.so
146 #%{_libdir}/gstreamer-%{gst_branch}/libgsteffectv.so
147
148 #%{_datadir}/gstreamer-%{gst_branch}/presets/GstVP8Enc.prs
149
150 #%{_libdir}/gstreamer-%{gst_branch}/libgstflxdec.so
151 #%{_libdir}/gstreamer-%{gst_branch}/libgstgoom.so
152 #%{_libdir}/gstreamer-%{gst_branch}/libgstgoom2k1.so
153 %{_libdir}/gstreamer-%{gst_branch}/libgsticydemux.so
154 %{_libdir}/gstreamer-%{gst_branch}/libgstid3demux.so
155 #%{_libdir}/gstreamer-%{gst_branch}/libgstimagefreeze.so
156 %{_libdir}/gstreamer-%{gst_branch}/libgstinterleave.so
157 %{_libdir}/gstreamer-%{gst_branch}/libgstisomp4.so
158 %{_libdir}/gstreamer-%{gst_branch}/libgstjpeg.so
159 #%{_libdir}/gstreamer-%{gst_branch}/libgstlevel.so
160 %{_libdir}/gstreamer-%{gst_branch}/libgstmatroska.so
161 #%{_libdir}/gstreamer-%{gst_branch}/libgstmonoscope.so
162 %{_libdir}/gstreamer-%{gst_branch}/libgstmulaw.so
163 %{_libdir}/gstreamer-%{gst_branch}/libgstmultifile.so
164 #%{_libdir}/gstreamer-%{gst_branch}/libgstmultipart.so
165 %{_libdir}/gstreamer-%{gst_branch}/libgstnavigationtest.so
166 #%{_libdir}/gstreamer-%{gst_branch}/libgstoss4audio.so
167 #%{_libdir}/gstreamer-%{gst_branch}/libgstossaudio.so
168 #%{_libdir}/gstreamer-%{gst_branch}/libgstpng.so
169 %{_libdir}/gstreamer-%{gst_branch}/libgstpulse.so
170 #%{_libdir}/gstreamer-%{gst_branch}/libgstreplaygain.so
171 %{_libdir}/gstreamer-%{gst_branch}/libgstrtp.so
172 %{_libdir}/gstreamer-%{gst_branch}/libgstrtpmanager.so
173 %{_libdir}/gstreamer-%{gst_branch}/libgstrtsp.so
174 #%{_libdir}/gstreamer-%{gst_branch}/libgstshapewipe.so
175 #%{_libdir}/gstreamer-%{gst_branch}/libgstsmpte.so
176 #%{_libdir}/gstreamer-%{gst_branch}/libgstspectrum.so
177 #%{_libdir}/gstreamer-%{gst_branch}/libgstspeex.so
178 %{_libdir}/gstreamer-%{gst_branch}/libgstudp.so
179 %if "%_repository" != "target-circle"
180 %{_libdir}/gstreamer-%{gst_branch}/libgstvideo4linux2.so
181 %endif
182
183 %{_libdir}/gstreamer-%{gst_branch}/libgstvideocrop.so
184 %{_libdir}/gstreamer-%{gst_branch}/libgstvideofilter.so
185 %if "%{?profile}" != "tv"
186 %{_libdir}/gstreamer-%{gst_branch}/libgstflv.so
187 %{_libdir}/gstreamer-%{gst_branch}/libgstequalizer.so
188 %{_datadir}/gstreamer-%{gst_branch}/presets/GstIirEqualizer10Bands.prs
189 %{_datadir}/gstreamer-%{gst_branch}/presets/GstIirEqualizer3Bands.prs
190 %{_libdir}/gstreamer-%{gst_branch}/libgstvideobox.so
191 %{_libdir}/gstreamer-%{gst_branch}/libgstvideomixer.so
192 %endif
193 %{_libdir}/gstreamer-%{gst_branch}/libgstwavenc.so
194 %{_libdir}/gstreamer-%{gst_branch}/libgstwavparse.so
195 %if %{with x}
196 %{_libdir}/gstreamer-%{gst_branch}/libgstximagesrc.so
197 %endif
198 #%{_libdir}/gstreamer-%{gst_branch}/libgsty4menc.so
199 #%{_libdir}/gstreamer-%{gst_branch}/libgstcairo.so
200 %{_libdir}/gstreamer-%{gst_branch}/libgstsouphttpsrc.so
201 #%{_libdir}/gstreamer-%{gst_branch}/libgstflac.so
202 #%{_libdir}/gstreamer-%{gst_branch}/libgstvpx.so
203 #%{_libdir}/gstreamer-%{gst_branch}/libgstdtmf.so
204
205
206 %if 0%{?ENABLE_AALIB}
207 %files extra
208 %manifest %{name}.manifest
209 %defattr(-, root, root)
210 %{_libdir}/gstreamer-%{gst_branch}/libgstaasink.so
211 %endif