]>
Commit | Line | Data |
---|---|---|
2fbdaa36 | 1 | # TODO: |
0305f206 JB |
2 | # - new plugins: |
3 | # - ivorbisdec (BR: tremor-devel, CVS versions only, http://www.xiph.org/vorbis/) | |
0305f206 | 4 | # - theoraexpdec (BR: libtheora-exp, http://people.xiph.org/~tterribe/doc/libtheora-exp/) |
58c82848 | 5 | # - system libmodplug? |
2fbdaa36 JB |
6 | # |
7 | # Conditional build: | |
c1cb81af | 8 | %bcond_without cdaudio # don't build cdaudio plugin |
2fbdaa36 | 9 | %bcond_without directfb # don't build directfb videosink plugin |
0c737202 | 10 | %bcond_without dts # don't build DTS plugin |
2fbdaa36 JB |
11 | %bcond_without faad # don't build faad plugin |
12 | %bcond_without gsm # don't build gsm plugin | |
c1cb81af JB |
13 | %bcond_without jack # don't build JACK audio plugin |
14 | %bcond_without ladspa # don't build ladspa plugin | |
3a8fb9fb | 15 | %bcond_without mjpegtools # don't build mpeg2enc plugin |
2fbdaa36 JB |
16 | %bcond_without mms # don't build mms plugin |
17 | %bcond_without musepack # don't build musepack plugin | |
0c737202 | 18 | %bcond_without neon # don't build neonhttpsrc plugin |
2fbdaa36 | 19 | %bcond_without sdl # don't build sdl plugin |
32fcd46a | 20 | %bcond_with swfdec # swfdec plugin |
3a8fb9fb | 21 | %bcond_without spc # don't build spc plugin |
c1cb81af JB |
22 | %bcond_without wavpack # don't build wavpack plugin |
23 | %bcond_without xvid # don't build XviD plugin | |
24 | %bcond_with amr # build amrwb plugin | |
25 | %bcond_with divx4linux # build divx4linux plugins | |
2fbdaa36 JB |
26 | # |
27 | %define gstname gst-plugins-bad | |
28 | %define gst_major_ver 0.10 | |
c1cb81af | 29 | %define gst_req_ver 0.10.10.1 |
2fbdaa36 JB |
30 | # |
31 | Summary: Bad GStreamer Streaming-media framework plugins | |
63d1273e | 32 | Summary(pl.UTF-8): Złe wtyczki do środowiska obróbki strumieni GStreamer |
2fbdaa36 | 33 | Name: gstreamer-plugins-bad |
32fcd46a | 34 | Version: 0.10.5 |
0cd63138 | 35 | Release: 3 |
8b49609c | 36 | License: LPL |
2fbdaa36 JB |
37 | Group: Libraries |
38 | Source0: http://gstreamer.freedesktop.org/src/gst-plugins-bad/%{gstname}-%{version}.tar.bz2 | |
32fcd46a | 39 | # Source0-md5: 395f3ed705928e77e5620cccf11a8cff |
2fbdaa36 | 40 | Patch0: %{name}-bashish.patch |
58c82848 JB |
41 | Patch1: %{name}-libdts.patch |
42 | Patch2: %{name}-divx4linux.patch | |
43 | Patch3: %{name}-soundtouch.patch | |
32fcd46a | 44 | Patch4: %{name}-link.patch |
0305f206 | 45 | Patch5: %{name}-vcd.patch |
466f1e46 | 46 | Patch6: %{name}-gmyth.patch |
2fbdaa36 | 47 | URL: http://gstreamer.freedesktop.org/ |
c1cb81af | 48 | BuildRequires: autoconf >= 2.59-9 |
2fbdaa36 | 49 | BuildRequires: automake >= 1.6 |
546ec67a | 50 | BuildRequires: glib2-devel >= 1:2.12.0 |
2fbdaa36 JB |
51 | BuildRequires: gstreamer-devel >= %{gst_req_ver} |
52 | BuildRequires: gstreamer-plugins-base-devel >= %{gst_req_ver} | |
546ec67a | 53 | BuildRequires: gtk-doc >= 1.6 |
c1cb81af | 54 | BuildRequires: liboil-devel >= 0.3.6 |
2fbdaa36 JB |
55 | BuildRequires: libtool >= 1.4 |
56 | BuildRequires: pkgconfig >= 1:0.9.0 | |
a34ff6a9 | 57 | BuildRequires: python-PyXML |
2fbdaa36 JB |
58 | BuildRequires: rpmbuild(macros) >= 1.98 |
59 | ## | |
60 | ## plugins | |
61 | ## | |
e4ce896a | 62 | %{?with_directfb:BuildRequires: DirectFB-devel >= 1:0.9.24} |
0c737202 | 63 | BuildRequires: OpenGL-devel |
2fbdaa36 | 64 | %{?with_sdl:BuildRequires: SDL-devel >= 0.11} |
c1cb81af JB |
65 | BuildRequires: alsa-lib-devel >= 0.9.1 |
66 | %{?with_amr:BuildRequires: amrwb-devel} | |
67 | BuildRequires: bzip2-devel | |
0c737202 | 68 | %{?with_divx4linux:BuildRequires: divx4linux-devel >= 1:5.05.20030428} |
2fbdaa36 JB |
69 | BuildRequires: faac-devel |
70 | %{?with_faad:BuildRequires: faad2-devel >= 2.0-2} | |
466f1e46 | 71 | BuildRequires: gmyth-devel >= 0.3 |
c1cb81af JB |
72 | %{?with_jack:BuildRequires: jack-audio-connection-kit-devel >= 0.99.10} |
73 | %{?with_ladspa:BuildRequires: ladspa-devel >= 1.12} | |
74 | %{?with_cdaudio:BuildRequires: libcdaudio-devel} | |
0c737202 | 75 | %{?with_dts:BuildRequires: libdts-devel} |
2fbdaa36 | 76 | %{?with_gsm:BuildRequires: libgsm-devel} |
58c82848 | 77 | %{?with_mms:BuildRequires: libmms-devel >= 0.2} |
2fbdaa36 | 78 | %{?with_musepack:BuildRequires: libmpcdec-devel >= 1.2} |
58c82848 | 79 | BuildRequires: libmusicbrainz-devel >= 2.1.0 |
3a8fb9fb | 80 | %{?with_spc:BuildRequires: libopenspc-devel >= 0.3.99} |
58c82848 JB |
81 | # for modplug and libSoundTouch |
82 | BuildRequires: libstdc++-devel | |
466f1e46 | 83 | BuildRequires: libtimidity-devel |
32fcd46a | 84 | BuildRequires: libx264-devel |
3a8fb9fb | 85 | %{?with_mjpegtools:BuildRequires: mjpegtools-devel < 1.9.0} |
ffd9dcf1 | 86 | %{?with_mjpegtools:BuildRequires: mjpegtools-devel >= 1.8.0-0.2} |
8b49609c | 87 | %{?with_neon:BuildRequires: neon-devel >= 0.26} |
32fcd46a | 88 | BuildRequires: libsndfile-devel |
58c82848 | 89 | BuildRequires: soundtouch-devel >= 1.3.1 |
ffd9dcf1 AM |
90 | %if %{with swfdec} |
91 | BuildRequires: swfdec-devel < 0.4.0 | |
92 | BuildRequires: swfdec-devel >= 0.3.6 | |
93 | %endif | |
466f1e46 | 94 | BuildRequires: wildmidi-devel |
c1cb81af | 95 | BuildRequires: xorg-lib-libX11-devel |
0c737202 | 96 | %{?with_xvid:BuildRequires: xvid-devel >= 1.0.0} |
2fbdaa36 | 97 | Requires: gstreamer >= %{gst_req_ver} |
58c82848 | 98 | Requires: gstreamer-plugins-base >= %{gst_req_ver} |
2fbdaa36 | 99 | Obsoletes: gstreamer-quicktime |
3ad2741a | 100 | Obsoletes: gstreamer-vcd |
2fbdaa36 JB |
101 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
102 | ||
103 | %define gstlibdir %{_libdir}/gstreamer-%{gst_major_ver} | |
104 | ||
105 | %description | |
106 | GStreamer is a streaming-media framework, based on graphs of filters | |
107 | which operate on media data. Applications using this library can do | |
108 | anything from real-time sound processing to playing videos, and just | |
109 | about anything else media-related. Its plugin-based architecture means | |
110 | that new data types or processing capabilities can be added simply by | |
111 | installing new plugins. | |
112 | ||
e4fae186 JR |
113 | %description -l pl.UTF-8 |
114 | GStreamer to środowisko obróbki danych strumieniowych, bazujące na | |
115 | grafie filtrów operujących na danych medialnych. Aplikacje używające | |
116 | tej biblioteki mogą robić wszystko od przetwarzania dźwięku w czasie | |
117 | rzeczywistym, do odtwarzania filmów i czegokolwiek innego związego z | |
118 | mediami. Architektura bazująca na wtyczkach pozwala na łatwe dodawanie | |
119 | nowych typów danych lub możliwości obróbki. | |
2fbdaa36 | 120 | |
32fcd46a | 121 | %package devel |
59aa193d JB |
122 | Summary: Header files and API documentation for gstapp library |
123 | Summary(pl.UTF-8): Pliki nagłówkowe i dokumentacja API biblioteki gstapp | |
32fcd46a | 124 | Group: Development/Libraries |
59aa193d | 125 | Requires: %{name} = %{version}-%{release} |
32fcd46a AM |
126 | |
127 | %description devel | |
59aa193d | 128 | Header files and API documentation for gstapp library. |
32fcd46a | 129 | |
59aa193d JB |
130 | %description devel -l pl.UTF-8 |
131 | Pliki nagłówkowe i dokumentacja API biblioteki gstapp. | |
32fcd46a | 132 | |
59aa193d | 133 | ## Plugins ## |
2fbdaa36 JB |
134 | |
135 | %package -n gstreamer-aac | |
136 | Summary: GStreamer plugin for AAC audio encoding and decoding | |
63d1273e | 137 | Summary(pl.UTF-8): Wtyczka do GStreamera do kodowania i dekodowania plików audio AAC |
2fbdaa36 JB |
138 | Group: Libraries |
139 | Requires: gstreamer-plugins-base >= %{gst_req_ver} | |
140 | ||
141 | %description -n gstreamer-aac | |
142 | GStreamer plugin for AAC audio encoding and decoding. | |
143 | ||
e4fae186 JR |
144 | %description -n gstreamer-aac -l pl.UTF-8 |
145 | Wtyczka do GStreamera do kodowania i dekodowania plików audio AAC. | |
2fbdaa36 | 146 | |
c1cb81af JB |
147 | %package -n gstreamer-amrwb |
148 | Summary: GStreamer plugin for AMR-WB audio encoding and decoding | |
63d1273e | 149 | Summary(pl.UTF-8): Wtyczka GStreamera do kodowania i dekodowania dźwięku w formacie AMR-WB |
c1cb81af JB |
150 | Group: Libraries |
151 | Requires: gstreamer >= %{gst_req_ver} | |
152 | ||
153 | %description -n gstreamer-amrwb | |
154 | GStreamer plugin for AMR-WB audio encoding and decoding. | |
155 | ||
e4fae186 JR |
156 | %description -n gstreamer-amrwb -l pl.UTF-8 |
157 | Wtyczka GStreamera do kodowania i dekodowania dźwięku w formacie | |
c1cb81af JB |
158 | AMR-WB. |
159 | ||
2fbdaa36 JB |
160 | %package -n gstreamer-audio-effects-bad |
161 | Summary: Bad GStreamer audio effects plugins | |
63d1273e | 162 | Summary(pl.UTF-8): Złe wtyczki efektów dźwiękowych do GStreamera |
2fbdaa36 JB |
163 | Group: Libraries |
164 | Requires: gstreamer >= %{gst_req_ver} | |
165 | Obsoletes: gstreamer-audio-effects | |
166 | ||
167 | %description -n gstreamer-audio-effects-bad | |
168 | Bad GStreamer audio effects plugins. | |
169 | ||
e4fae186 JR |
170 | %description -n gstreamer-audio-effects-bad -l pl.UTF-8 |
171 | Złe wtyczki efektów dźwiękowych do GStreamera. | |
2fbdaa36 | 172 | |
c1cb81af JB |
173 | %package -n gstreamer-audiosink-alsaspdif |
174 | Summary: GStreamer ALSA plugin for S/PDIF output | |
63d1273e | 175 | Summary(pl.UTF-8): Wtyczka ALSA GStreamera do wyjścia S/PDIF |
c1cb81af JB |
176 | Group: Libraries |
177 | Requires: gstreamer-plugins-base >= %{gst_req_ver} | |
342ef0a1 | 178 | Provides: gstreamer-audiosink = %{version} |
c1cb81af JB |
179 | |
180 | %description -n gstreamer-audiosink-alsaspdif | |
181 | GStreamer ALSA plugin for S/PDIF output. | |
182 | ||
e4fae186 JR |
183 | %description -n gstreamer-audiosink-alsaspdif -l pl.UTF-8 |
184 | Wtyczka ALSA GStreamera do wyjścia S/PDIF. | |
c1cb81af JB |
185 | |
186 | %package -n gstreamer-cdaudio | |
187 | Summary: GStreamer plugin for CD audio input using libcdaudio | |
63d1273e | 188 | Summary(pl.UTF-8): Wtyczka do GStreamera odtwarzająca płyty CD-Audio przy użyciu libcdaudio |
c1cb81af JB |
189 | Group: Libraries |
190 | Requires: gstreamer >= %{gst_req_ver} | |
191 | ||
192 | %description -n gstreamer-cdaudio | |
193 | Plugin for playing audio tracks using libcdaudio under GStreamer. | |
194 | ||
e4fae186 JR |
195 | %description -n gstreamer-cdaudio -l pl.UTF-8 |
196 | Wtyczka do odtwarzania ścieżek dźwiękowych pod GStreamerem za pomocą | |
c1cb81af JB |
197 | libcdaudio. |
198 | ||
0c737202 JB |
199 | %package -n gstreamer-divx |
200 | Summary: GStreamer divx plugin | |
63d1273e | 201 | Summary(pl.UTF-8): Wtyczka divx do GStreamera |
0c737202 JB |
202 | Group: Libraries |
203 | Requires: gstreamer-plugins-base >= %{gst_req_ver} | |
204 | ||
205 | %description -n gstreamer-divx | |
206 | GStreamer divx plugin. | |
207 | ||
e4fae186 | 208 | %description -n gstreamer-divx -l pl.UTF-8 |
0c737202 JB |
209 | Wtyczka divx do GStreamera. |
210 | ||
211 | %package -n gstreamer-dts | |
212 | Summary: GStreamer DTS plugin | |
63d1273e | 213 | Summary(pl.UTF-8): Wtyczka DTS do GStreamera |
0c737202 JB |
214 | Group: Libraries |
215 | Requires: gstreamer-plugins-base >= %{gst_req_ver} | |
216 | ||
217 | %description -n gstreamer-dts | |
218 | Plugin for DTS Coherent Acoustics support. | |
219 | ||
e4fae186 JR |
220 | %description -n gstreamer-dts -l pl.UTF-8 |
221 | Wtyczka do GStreamera obsługująca DTS Coherent Acoustics. | |
0c737202 | 222 | |
2fbdaa36 JB |
223 | %package -n gstreamer-gsm |
224 | Summary: GStreamer plugin for GSM lossy audio format | |
63d1273e | 225 | Summary(pl.UTF-8): Wtyczka do GStreamera obsługująca stratny format dźwięku GSM |
2fbdaa36 JB |
226 | Group: Libraries |
227 | Requires: gstreamer-plugins-base >= %{gst_req_ver} | |
228 | ||
229 | %description -n gstreamer-gsm | |
230 | Output plugin for GStreamer to convert to GSM lossy audio format. | |
231 | ||
e4fae186 JR |
232 | %description -n gstreamer-gsm -l pl.UTF-8 |
233 | Wtyczka wyjścia dźwięku GSteamera konwertująca do stratnego formatu | |
2fbdaa36 JB |
234 | GSM. |
235 | ||
0c737202 JB |
236 | %package -n gstreamer-imagesink-gl |
237 | Summary: GStreamer plugin for outputing to OpenGL | |
63d1273e | 238 | Summary(pl.UTF-8): Wtyczka wyjścia OpenGL do GStreamera |
0c737202 JB |
239 | Group: Libraries |
240 | Requires: gstreamer >= %{gst_req_ver} | |
241 | Provides: gstreamer-imagesink = %{version} | |
242 | ||
243 | %description -n gstreamer-imagesink-gl | |
244 | GStreamer plugin for outputing to OpenGL. | |
245 | ||
e4fae186 JR |
246 | %description -n gstreamer-imagesink-gl -l pl.UTF-8 |
247 | Wtyczka wyjścia OpenGL do GStreamera. | |
0c737202 | 248 | |
c1cb81af JB |
249 | %package -n gstreamer-jack |
250 | Summary: GStreamer plugin for the JACK Sound Server | |
63d1273e | 251 | Summary(pl.UTF-8): Wtyczka serwera dźwięku JACK dla GStreamera |
c1cb81af | 252 | Group: Libraries |
73399bb9 | 253 | Requires: gstreamer-plugins-base >= %{gst_req_ver} |
c1cb81af JB |
254 | Provides: gstreamer-audiosink = %{version} |
255 | ||
256 | %description -n gstreamer-jack | |
257 | Plugin for the JACK professional sound server. | |
258 | ||
e4fae186 JR |
259 | %description -n gstreamer-jack -l pl.UTF-8 |
260 | Wtyczka dla profesjonalnego serwera dźwięku JACK. | |
c1cb81af JB |
261 | |
262 | %package -n gstreamer-ladspa | |
263 | Summary: GStreamer wrapper for LADSPA plugins | |
63d1273e | 264 | Summary(pl.UTF-8): Wrapper do wtyczek LADSPA dla GStreamera |
c1cb81af | 265 | Group: Libraries |
73399bb9 | 266 | Requires: gstreamer-plugins-base >= %{gst_req_ver} |
c1cb81af JB |
267 | |
268 | %description -n gstreamer-ladspa | |
269 | Plugin which wraps LADSPA plugins for use by GStreamer applications. | |
270 | ||
e4fae186 JR |
271 | %description -n gstreamer-ladspa -l pl.UTF-8 |
272 | Wtyczka pozwalająca na używanie wtyczek LADSPA przez aplikacje | |
c1cb81af JB |
273 | GStreamera. |
274 | ||
3a8fb9fb JB |
275 | %package -n gstreamer-mjpegtools |
276 | Summary: GStreamer mpeg2enc plugin | |
63d1273e | 277 | Summary(pl.UTF-8): Wtyczka mpeg2enc do GStreamera |
1a2f531c | 278 | Group: Libraries |
3a8fb9fb JB |
279 | |
280 | %description -n gstreamer-mjpegtools | |
281 | GStreamer mpeg2enc plugin (based on mjpegtools libraries). | |
282 | ||
e4fae186 | 283 | %description -n gstreamer-mjpegtools -l pl.UTF-8 |
3a8fb9fb JB |
284 | Wtyczka mpeg2enc do GStreamera (oparta na bibliotekach mjpegtools). |
285 | ||
2fbdaa36 JB |
286 | %package -n gstreamer-mms |
287 | Summary: GStreamer mms plugin | |
63d1273e | 288 | Summary(pl.UTF-8): Wtyczka mms do GStreamera |
2fbdaa36 JB |
289 | Group: Libraries |
290 | Requires: gstreamer-plugins-base >= %{gst_req_ver} | |
291 | ||
292 | %description -n gstreamer-mms | |
293 | GStreamer mms plugin. | |
294 | ||
e4fae186 | 295 | %description -n gstreamer-mms -l pl.UTF-8 |
2fbdaa36 JB |
296 | Wtyczka mms do GStreamera. |
297 | ||
298 | %package -n gstreamer-musepack | |
299 | Summary: GStreamer musepack plugin | |
63d1273e | 300 | Summary(pl.UTF-8): Wtyczka musepack do GStreamera |
2fbdaa36 JB |
301 | Group: Libraries |
302 | Requires: gstreamer >= %{gst_req_ver} | |
303 | ||
304 | %description -n gstreamer-musepack | |
305 | GStreamer musepack plugin. | |
306 | ||
e4fae186 | 307 | %description -n gstreamer-musepack -l pl.UTF-8 |
2fbdaa36 JB |
308 | Wtyczka musepack do GStreamera. |
309 | ||
466f1e46 JB |
310 | %package -n gstreamer-mythtv |
311 | Summary: GStreamer MythTV plugin | |
312 | Summary(pl.UTF-8): Wtyczka MythTV do GStreamera | |
313 | Group: Libraries | |
314 | Requires: gstreamer >= %{gst_req_ver} | |
315 | ||
316 | %description -n gstreamer-mythtv | |
317 | GStreamer MythTV plugin. | |
318 | ||
319 | %description -n gstreamer-mythtv -l pl.UTF-8 | |
320 | Wtyczka MythTV do GStreamera. | |
321 | ||
58c82848 JB |
322 | %package -n gstreamer-musicbrainz |
323 | Summary: GStreamer musicbrainz plugin | |
63d1273e | 324 | Summary(pl.UTF-8): Wtyczka musicbrainz do GStreamera |
58c82848 JB |
325 | Group: Libraries |
326 | Requires: gstreamer-plugins-base >= %{gst_req_ver} | |
327 | ||
328 | %description -n gstreamer-musicbrainz | |
329 | GStreamer musicbrainz plugin - a TRM signature producer. | |
330 | ||
e4fae186 JR |
331 | %description -n gstreamer-musicbrainz -l pl.UTF-8 |
332 | Wtyczka musicbrainz do GStreamera, tworząca sygnatury TRM. | |
58c82848 | 333 | |
0c737202 JB |
334 | %package -n gstreamer-neon |
335 | Summary: GStreamer neon HTTP source plugin | |
63d1273e | 336 | Summary(pl.UTF-8): Wtyczka źródła HTTP neon do GStreamera |
0c737202 JB |
337 | Group: Libraries |
338 | Requires: gstreamer >= %{gst_req_ver} | |
339 | ||
340 | %description -n gstreamer-neon | |
341 | GStreamer neon HTTP source plugin. | |
342 | ||
e4fae186 JR |
343 | %description -n gstreamer-neon -l pl.UTF-8 |
344 | Wtyczka źródła HTTP neon do GStreamera. | |
0c737202 | 345 | |
58c82848 JB |
346 | %package -n gstreamer-soundtouch |
347 | Summary: GStreamer soundtouch plugin | |
63d1273e | 348 | Summary(pl.UTF-8): Wtyczka soundtouch do GStreamera |
58c82848 JB |
349 | Group: Libraries |
350 | Requires: gstreamer >= %{gst_req_ver} | |
351 | ||
352 | %description -n gstreamer-soundtouch | |
353 | GStreamer soundtouch source plugin - audio pitch controller. | |
354 | ||
e4fae186 JR |
355 | %description -n gstreamer-soundtouch -l pl.UTF-8 |
356 | Wtyczka soundtouch do GStreamera, sterująca wysokością dźwięku. | |
58c82848 | 357 | |
32fcd46a AM |
358 | %package -n gstreamer-sndfile |
359 | Summary: GStreamer sndfile plugin | |
360 | Summary(pl.UTF-8): Wtyczka sndfile do GStreamera | |
361 | Group: Libraries | |
362 | Requires: gstreamer >= %{gst_req_ver} | |
363 | ||
364 | %description -n gstreamer-sndfile | |
365 | GStreamer sndfile source plugin. | |
366 | ||
367 | %description -n gstreamer-sndfile -l pl.UTF-8 | |
368 | Wtyczka sndfile do GStreamera. | |
369 | ||
3a8fb9fb JB |
370 | %package -n gstreamer-spc |
371 | Summary: GStreamer SPC plugin | |
63d1273e | 372 | Summary(pl.UTF-8): Wtyczka SPC dla GStreamera |
3a8fb9fb JB |
373 | Group: Libraries |
374 | Requires: gstreamer-plugins-base >= %{gst_req_ver} | |
375 | Requires: libopenspc >= 0.3.99 | |
376 | ||
377 | %description -n gstreamer-spc | |
378 | GStreamer Plugin for playing SPC files using OpenSPC library. | |
379 | ||
e4fae186 JR |
380 | %description -n gstreamer-spc -l pl.UTF-8 |
381 | Wtyczka GStreamera odtwarzająca pliki SPC przy użyciu biblioteki | |
3a8fb9fb JB |
382 | OpenSPC. |
383 | ||
0c737202 JB |
384 | %package -n gstreamer-swfdec |
385 | Summary: GStreamer Flash redering plugin | |
63d1273e | 386 | Summary(pl.UTF-8): Wtyczka renderująca animacje flash dla GStreamera |
0c737202 JB |
387 | Group: Libraries |
388 | Requires: gstreamer-plugins-base >= %{gst_req_ver} | |
389 | Requires: swfdec >= 0.3.6 | |
390 | ||
391 | %description -n gstreamer-swfdec | |
392 | Plugin for rendering Flash animations using swfdec library. | |
393 | ||
e4fae186 JR |
394 | %description -n gstreamer-swfdec -l pl.UTF-8 |
395 | Wtyczka renderująca animacje flash w oparciu o bibliotekę swfdec. | |
0c737202 | 396 | |
466f1e46 JB |
397 | %package -n gstreamer-timidity |
398 | Summary: timidity plugin for GStreamer | |
399 | Summary(pl.UTF-8): Wtyczka timidity do GStreamera | |
400 | Group: Libraries | |
401 | Requires: gstreamer >= %{gst_req_ver} | |
402 | ||
403 | %description -n gstreamer-timidity | |
404 | timidity plugin for GStreamer. | |
405 | ||
406 | %description -n gstreamer-timidity -l pl.UTF-8 | |
407 | Wtyczka timidity do GStreamera. | |
408 | ||
2fbdaa36 JB |
409 | %package -n gstreamer-videosink-sdl |
410 | Summary: GStreamer plugin for outputing to SDL | |
63d1273e | 411 | Summary(pl.UTF-8): Wtyczka wyjścia SDL do GStreamera |
2fbdaa36 JB |
412 | Group: Libraries |
413 | Requires: gstreamer-plugins-base >= %{gst_req_ver} | |
414 | Provides: gstreamer-videosink = %{version} | |
415 | Obsoletes: gstreamer-SDL | |
416 | ||
417 | %description -n gstreamer-videosink-sdl | |
418 | Plugin for sending output to the Simple Direct Media architecture. | |
419 | (http://www.libsdl.org/). Usefull for fullscreen playback. | |
420 | ||
e4fae186 JR |
421 | %description -n gstreamer-videosink-sdl -l pl.UTF-8 |
422 | Wtyczka przekazująca wyjście do architektury SDL. Użyteczna do | |
423 | odtwarzania na pełnym ekranie. | |
2fbdaa36 JB |
424 | |
425 | %package -n gstreamer-videosink-directfb | |
426 | Summary: GStreamer DirectFB output plugin | |
63d1273e | 427 | Summary(pl.UTF-8): Wtyczka wyjścia obrazu DirectFB do GStreamera |
2fbdaa36 JB |
428 | Group: Libraries |
429 | Requires: gstreamer-plugins-base >= %{gst_req_ver} | |
430 | Provides: gstreamer-videosink = %{version} | |
431 | ||
432 | %description -n gstreamer-videosink-directfb | |
433 | GStreamer DirectFB output plugin. | |
434 | ||
e4fae186 JR |
435 | %description -n gstreamer-videosink-directfb -l pl.UTF-8 |
436 | Wtyczka wyjścia obrazu DirectFB do GStreamera. | |
2fbdaa36 | 437 | |
466f1e46 JB |
438 | %package -n gstreamer-wildmidi |
439 | Summary: wildmidi plugin for GStreamer | |
440 | Summary(pl.UTF-8): Wtyczka wildmidi do GStreamera | |
441 | Group: Libraries | |
442 | Requires: gstreamer >= %{gst_req_ver} | |
443 | ||
444 | %description -n gstreamer-wildmidi | |
445 | wildmidi plugin for GStreamer. | |
446 | ||
447 | %description -n gstreamer-wildmidi -l pl.UTF-8 | |
448 | Wtyczka wildmidi do GStreamera. | |
449 | ||
0c737202 JB |
450 | %package -n gstreamer-xvid |
451 | Summary: GStreamer xvid decoder plugin | |
63d1273e | 452 | Summary(pl.UTF-8): Wtyczka do GStreamera dekodująca przy użyciu biblioteki xvid |
0c737202 JB |
453 | Group: Libraries |
454 | Requires: gstreamer-plugins-base >= %{gst_req_ver} | |
455 | ||
456 | %description -n gstreamer-xvid | |
457 | GStreamer xvid decoder plugin. | |
458 | ||
e4fae186 JR |
459 | %description -n gstreamer-xvid -l pl.UTF-8 |
460 | Wtyczka do GStreamera dekodująca przy użyciu biblioteki xvid. | |
0c737202 | 461 | |
32fcd46a AM |
462 | %package -n gstreamer-x264 |
463 | Summary: GStreamer x264 decoder plugin | |
464 | Summary(pl.UTF-8): Wtyczka do GStreamera dekodująca przy użyciu biblioteki x264 | |
465 | Group: Libraries | |
466 | Requires: gstreamer-plugins-base >= %{gst_req_ver} | |
467 | ||
468 | %description -n gstreamer-x264 | |
469 | GStreamer x264 decoder plugin. | |
470 | ||
471 | %description -n gstreamer-x264 -l pl.UTF-8 | |
472 | Wtyczka do GStreamera dekodująca przy użyciu biblioteki x264. | |
473 | ||
2fbdaa36 JB |
474 | %prep |
475 | %setup -q -n %{gstname}-%{version} | |
476 | %patch0 -p1 | |
0c737202 JB |
477 | %patch1 -p1 |
478 | %patch2 -p1 | |
58c82848 | 479 | %patch3 -p1 |
8b49609c | 480 | %patch4 -p1 |
0305f206 | 481 | %patch5 -p1 |
466f1e46 | 482 | %patch6 -p1 |
2fbdaa36 JB |
483 | |
484 | %build | |
485 | %{__libtoolize} | |
486 | %{__aclocal} -I m4 -I common/m4 | |
487 | %{__autoconf} | |
488 | %{__autoheader} | |
489 | %{__automake} | |
490 | %configure \ | |
0305f206 | 491 | %{!?with_amr:--disable-amrwb} \ |
c1cb81af | 492 | %{!?with_cdaudio:--disable-cdaudio} \ |
0c737202 JB |
493 | %{!?with_divx4linux:--disable-divx} \ |
494 | %{!?with_dts:--disable-dts} \ | |
2fbdaa36 JB |
495 | %{!?with_faad:--disable-faad} \ |
496 | %{!?with_gsm:--disable-gsm} \ | |
c1cb81af JB |
497 | %{!?with_jack:--disable-jack} \ |
498 | %{!?with_ladspa:--disable-ladspa} \ | |
2fbdaa36 | 499 | %{!?with_mms:--disable-libmms} \ |
3a8fb9fb | 500 | %{!?with_mjpegtools:--disable-mpeg2enc} \ |
2fbdaa36 | 501 | %{!?with_musepack:--disable-musepack} \ |
0c737202 | 502 | %{!?with_neon:--disable-neon} \ |
2fbdaa36 JB |
503 | %{!?with_sdl:--disable-sdl} \ |
504 | %{!?with_sdl:--disable-sdltest} \ | |
3a8fb9fb | 505 | %{!?with_spc:--disable-spc} \ |
0c737202 | 506 | %{!?with_swfdec:--disable-swfdec} \ |
0c737202 | 507 | %{!?with_xvid:--disable-xvid} \ |
2fbdaa36 JB |
508 | --disable-static \ |
509 | --enable-gtk-doc \ | |
510 | --with-html-dir=%{_gtkdocdir} | |
511 | ||
512 | %{__make} | |
513 | ||
514 | %install | |
515 | rm -rf $RPM_BUILD_ROOT | |
516 | ||
517 | %{__make} install \ | |
518 | DESTDIR=$RPM_BUILD_ROOT | |
519 | ||
520 | # We don't need plugins' *.la files | |
521 | rm -f $RPM_BUILD_ROOT%{gstlibdir}/*.la | |
522 | ||
58c82848 JB |
523 | %find_lang %{gstname}-%{gst_major_ver} |
524 | ||
2fbdaa36 JB |
525 | %clean |
526 | rm -rf $RPM_BUILD_ROOT | |
527 | ||
32fcd46a AM |
528 | %post -p /sbin/ldconfig |
529 | %postun -p /sbin/ldconfig | |
530 | ||
58c82848 | 531 | %files -f %{gstname}-%{gst_major_ver}.lang |
2fbdaa36 JB |
532 | %defattr(644,root,root,755) |
533 | %doc AUTHORS ChangeLog NEWS README RELEASE | |
59aa193d | 534 | %attr(755,root,root) %{_libdir}/libgstapp-*.so.*.*.* |
0305f206 | 535 | # R: libgstapp-* |
32fcd46a AM |
536 | %attr(755,root,root) %{gstlibdir}/libgstapp.so |
537 | %attr(755,root,root) %{gstlibdir}/libgstbayer.so | |
0c737202 JB |
538 | %attr(755,root,root) %{gstlibdir}/libgstbz2.so |
539 | %attr(755,root,root) %{gstlibdir}/libgstcdxaparse.so | |
c1cb81af | 540 | %attr(755,root,root) %{gstlibdir}/libgstdeinterlace.so |
0305f206 | 541 | # R: gst-plugins-bad locales |
c1cb81af | 542 | %attr(755,root,root) %{gstlibdir}/libgstdvbsrc.so |
32fcd46a | 543 | %attr(755,root,root) %{gstlibdir}/libgstequalizer.so |
c1cb81af | 544 | %attr(755,root,root) %{gstlibdir}/libgstfilter.so |
0c737202 | 545 | %attr(755,root,root) %{gstlibdir}/libgstfreeze.so |
c1cb81af | 546 | %attr(755,root,root) %{gstlibdir}/libgsth264parse.so |
32fcd46a | 547 | %attr(755,root,root) %{gstlibdir}/libgstinterleave.so |
58c82848 | 548 | %attr(755,root,root) %{gstlibdir}/libgstmodplug.so |
32fcd46a AM |
549 | %attr(755,root,root) %{gstlibdir}/libgstmpegvideoparse.so |
550 | %attr(755,root,root) %{gstlibdir}/libgstmve.so | |
c1cb81af | 551 | %attr(755,root,root) %{gstlibdir}/libgstmultifile.so |
32fcd46a | 552 | %attr(755,root,root) %{gstlibdir}/libgstnassink.so |
c1cb81af JB |
553 | %attr(755,root,root) %{gstlibdir}/libgstnsf.so |
554 | %attr(755,root,root) %{gstlibdir}/libgstnuvdemux.so | |
72395c4b | 555 | %ifarch %{ix86} %{x8664} |
32fcd46a | 556 | %attr(755,root,root) %{gstlibdir}/libgstreal.so |
72395c4b | 557 | %endif |
c1cb81af JB |
558 | %attr(755,root,root) %{gstlibdir}/libgstreplaygain.so |
559 | %attr(755,root,root) %{gstlibdir}/libgstrfbsrc.so | |
32fcd46a | 560 | %attr(755,root,root) %{gstlibdir}/libgstrtpmanager.so |
c1cb81af | 561 | %attr(755,root,root) %{gstlibdir}/libgstspectrum.so |
32fcd46a | 562 | %attr(755,root,root) %{gstlibdir}/libgstswitch.so |
2fbdaa36 | 563 | %attr(755,root,root) %{gstlibdir}/libgsttta.so |
0305f206 | 564 | %attr(755,root,root) %{gstlibdir}/libgstvcdsrc.so |
c1cb81af | 565 | %attr(755,root,root) %{gstlibdir}/libgstvideoparse.so |
32fcd46a AM |
566 | %attr(755,root,root) %{gstlibdir}/libgstvideosignal.so |
567 | %attr(755,root,root) %{gstlibdir}/libgstvmnc.so | |
58c82848 | 568 | %attr(755,root,root) %{gstlibdir}/libgstxingheader.so |
c1cb81af | 569 | %attr(755,root,root) %{gstlibdir}/libgsty4menc.so |
2fbdaa36 JB |
570 | %{_gtkdocdir}/gst-plugins-bad-plugins-* |
571 | ||
32fcd46a AM |
572 | %files devel |
573 | %defattr(644,root,root,755) | |
59aa193d JB |
574 | %attr(755,root,root) %{_libdir}/libgstapp-*.so |
575 | %{_libdir}/libgstapp-*.la | |
32fcd46a | 576 | %{_includedir}/gstreamer-*/gst/app |
32fcd46a | 577 | |
2fbdaa36 JB |
578 | ## |
579 | ## Plugins | |
580 | ## | |
581 | ||
582 | %if %{with faad} | |
583 | %files -n gstreamer-aac | |
584 | %defattr(644,root,root,755) | |
585 | %attr(755,root,root) %{gstlibdir}/libgstfaac.so | |
586 | %attr(755,root,root) %{gstlibdir}/libgstfaad.so | |
587 | %endif | |
588 | ||
c1cb81af JB |
589 | %if %{with amr} |
590 | %files -n gstreamer-amrwb | |
591 | %defattr(644,root,root,755) | |
592 | %attr(755,root,root) %{gstlibdir}/libgstamrwb.so | |
593 | %endif | |
594 | ||
2fbdaa36 JB |
595 | %files -n gstreamer-audio-effects-bad |
596 | %defattr(644,root,root,755) | |
597 | %attr(755,root,root) %{gstlibdir}/libgstspeed.so | |
598 | ||
c1cb81af JB |
599 | %files -n gstreamer-audiosink-alsaspdif |
600 | %defattr(644,root,root,755) | |
601 | %attr(755,root,root) %{gstlibdir}/libgstalsaspdif.so | |
602 | ||
603 | %if %{with cdaudio} | |
604 | %files -n gstreamer-cdaudio | |
605 | %defattr(644,root,root,755) | |
606 | %attr(755,root,root) %{gstlibdir}/libgstcdaudio.so | |
607 | %endif | |
608 | ||
0c737202 JB |
609 | %if %{with divx4linux} |
610 | %files -n gstreamer-divx | |
611 | %defattr(644,root,root,755) | |
612 | %attr(755,root,root) %{gstlibdir}/libgstdivxdec.so | |
613 | %attr(755,root,root) %{gstlibdir}/libgstdivxenc.so | |
614 | %endif | |
615 | ||
616 | %if %{with dts} | |
617 | %files -n gstreamer-dts | |
618 | %defattr(644,root,root,755) | |
619 | %attr(755,root,root) %{gstlibdir}/libgstdtsdec.so | |
620 | %endif | |
621 | ||
2fbdaa36 JB |
622 | %if %{with gsm} |
623 | %files -n gstreamer-gsm | |
624 | %defattr(644,root,root,755) | |
625 | %attr(755,root,root) %{gstlibdir}/libgstgsm.so | |
626 | %endif | |
627 | ||
0c737202 JB |
628 | %files -n gstreamer-imagesink-gl |
629 | %defattr(644,root,root,755) | |
630 | %attr(755,root,root) %{gstlibdir}/libgstglimagesink.so | |
631 | ||
c1cb81af JB |
632 | %if %{with jack} |
633 | %files -n gstreamer-jack | |
634 | %defattr(644,root,root,755) | |
635 | %attr(755,root,root) %{gstlibdir}/libgstjack.so | |
636 | %endif | |
637 | ||
638 | %if %{with ladspa} | |
639 | %files -n gstreamer-ladspa | |
640 | %defattr(644,root,root,755) | |
641 | %attr(755,root,root) %{gstlibdir}/libgstladspa.so | |
642 | %endif | |
643 | ||
3a8fb9fb JB |
644 | %if %{with mjpegtools} |
645 | %files -n gstreamer-mjpegtools | |
646 | %defattr(644,root,root,755) | |
647 | %attr(755,root,root) %{gstlibdir}/libgstmpeg2enc.so | |
648 | %endif | |
649 | ||
2fbdaa36 JB |
650 | %if %{with mms} |
651 | %files -n gstreamer-mms | |
652 | %defattr(644,root,root,755) | |
653 | %attr(755,root,root) %{gstlibdir}/libgstmms.so | |
654 | %endif | |
655 | ||
58c82848 JB |
656 | %if %{with musepack} |
657 | %files -n gstreamer-musepack | |
658 | %defattr(644,root,root,755) | |
659 | %attr(755,root,root) %{gstlibdir}/libgstmusepack.so | |
660 | %endif | |
661 | ||
662 | %files -n gstreamer-musicbrainz | |
663 | %defattr(644,root,root,755) | |
664 | %attr(755,root,root) %{gstlibdir}/libgsttrm.so | |
665 | ||
466f1e46 JB |
666 | %files -n gstreamer-mythtv |
667 | %defattr(644,root,root,755) | |
668 | %attr(755,root,root) %{gstlibdir}/libgstmythtvsrc.so | |
669 | ||
0c737202 JB |
670 | %if %{with neon} |
671 | %files -n gstreamer-neon | |
672 | %defattr(644,root,root,755) | |
673 | %attr(755,root,root) %{gstlibdir}/libgstneonhttpsrc.so | |
674 | %endif | |
675 | ||
58c82848 | 676 | %files -n gstreamer-soundtouch |
2fbdaa36 | 677 | %defattr(644,root,root,755) |
58c82848 | 678 | %attr(755,root,root) %{gstlibdir}/libgstpitch.so |
2fbdaa36 | 679 | |
32fcd46a AM |
680 | %files -n gstreamer-sndfile |
681 | %defattr(644,root,root,755) | |
682 | %attr(755,root,root) %{gstlibdir}/libgstsndfile.so | |
683 | ||
3a8fb9fb JB |
684 | %if %{with spc} |
685 | %files -n gstreamer-spc | |
686 | %defattr(644,root,root,755) | |
687 | %attr(755,root,root) %{gstlibdir}/libgstspc.so | |
688 | %endif | |
689 | ||
0c737202 JB |
690 | %if %{with swfdec} |
691 | %files -n gstreamer-swfdec | |
692 | %defattr(644,root,root,755) | |
693 | %attr(755,root,root) %{gstlibdir}/libgstswfdec.so | |
694 | %endif | |
695 | ||
466f1e46 JB |
696 | %files -n gstreamer-timidity |
697 | %defattr(644,root,root,755) | |
698 | %attr(755,root,root) %{gstlibdir}/libgsttimidity.so | |
699 | ||
700 | %files -n gstreamer-wildmidi | |
701 | %defattr(644,root,root,755) | |
702 | %attr(755,root,root) %{gstlibdir}/libgstwildmidi.so | |
703 | ||
2fbdaa36 JB |
704 | %if %{with sdl} |
705 | %files -n gstreamer-videosink-sdl | |
706 | %defattr(644,root,root,755) | |
32fcd46a | 707 | %attr(755,root,root) %{gstlibdir}/libgstsdl.so |
2fbdaa36 JB |
708 | %endif |
709 | ||
710 | %if %{with directfb} | |
711 | %files -n gstreamer-videosink-directfb | |
712 | %defattr(644,root,root,755) | |
713 | %attr(755,root,root) %{gstlibdir}/libgstdfbvideosink.so | |
714 | %endif | |
715 | ||
0c737202 JB |
716 | %if %{with xvid} |
717 | %files -n gstreamer-xvid | |
718 | %defattr(644,root,root,755) | |
719 | %attr(755,root,root) %{gstlibdir}/libgstxvid.so | |
720 | %endif | |
32fcd46a AM |
721 | |
722 | %files -n gstreamer-x264 | |
723 | %defattr(644,root,root,755) | |
724 | %attr(755,root,root) %{gstlibdir}/libgstx264.so |