]>
Commit | Line | Data |
---|---|---|
2fbdaa36 JB |
1 | # TODO: |
2 | # new plugins: | |
3 | # - ivorbis (BR: tremor-devel, CVS versions only, http://www.xiph.org/vorbis/) | |
58c82848 JB |
4 | # - theoradec (BR: libtheora-exp, http://people.xiph.org/~tterribe/doc/libtheora-exp/) |
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 |
0c737202 | 20 | %bcond_without swfdec # don't build 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 | |
e4fae186 | 32 | Summary(pl.UTF-8): Złe wtyczki do środowiska obróbki strumieni GStreamer |
2fbdaa36 | 33 | Name: gstreamer-plugins-bad |
c1cb81af | 34 | Version: 0.10.4 |
a34ff6a9 | 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 | |
c1cb81af | 39 | # Source0-md5: 2e57395cdf72733477fb328f1fa3f053 |
2fbdaa36 | 40 | Patch0: %{name}-bashish.patch |
58c82848 JB |
41 | Patch1: %{name}-libdts.patch |
42 | Patch2: %{name}-divx4linux.patch | |
43 | Patch3: %{name}-soundtouch.patch | |
c1cb81af JB |
44 | Patch4: %{name}-amrwb.patch |
45 | Patch5: %{name}-faad.patch | |
46 | Patch6: %{name}-link.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} | |
c1cb81af JB |
71 | %{?with_jack:BuildRequires: jack-audio-connection-kit-devel >= 0.99.10} |
72 | %{?with_ladspa:BuildRequires: ladspa-devel >= 1.12} | |
73 | %{?with_cdaudio:BuildRequires: libcdaudio-devel} | |
0c737202 | 74 | %{?with_dts:BuildRequires: libdts-devel} |
2fbdaa36 | 75 | %{?with_gsm:BuildRequires: libgsm-devel} |
58c82848 | 76 | %{?with_mms:BuildRequires: libmms-devel >= 0.2} |
2fbdaa36 | 77 | %{?with_musepack:BuildRequires: libmpcdec-devel >= 1.2} |
58c82848 | 78 | BuildRequires: libmusicbrainz-devel >= 2.1.0 |
3a8fb9fb | 79 | %{?with_spc:BuildRequires: libopenspc-devel >= 0.3.99} |
58c82848 JB |
80 | # for modplug and libSoundTouch |
81 | BuildRequires: libstdc++-devel | |
3a8fb9fb JB |
82 | %{?with_mjpegtools:BuildRequires: mjpegtools-devel >= 1.8.0-0.2} |
83 | %{?with_mjpegtools:BuildRequires: mjpegtools-devel < 1.9.0} | |
8b49609c | 84 | %{?with_neon:BuildRequires: neon-devel >= 0.26} |
58c82848 | 85 | BuildRequires: soundtouch-devel >= 1.3.1 |
0c737202 | 86 | %{?with_swfdec:BuildRequires: swfdec-devel >= 0.3.6} |
c1cb81af JB |
87 | %{?with_wavpack:BuildRequires: wavpack-devel >= 4.40.0} |
88 | BuildRequires: xorg-lib-libX11-devel | |
0c737202 | 89 | %{?with_xvid:BuildRequires: xvid-devel >= 1.0.0} |
2fbdaa36 | 90 | Requires: gstreamer >= %{gst_req_ver} |
58c82848 | 91 | Requires: gstreamer-plugins-base >= %{gst_req_ver} |
2fbdaa36 JB |
92 | Obsoletes: gstreamer-quicktime |
93 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
94 | ||
95 | %define gstlibdir %{_libdir}/gstreamer-%{gst_major_ver} | |
96 | ||
97 | %description | |
98 | GStreamer is a streaming-media framework, based on graphs of filters | |
99 | which operate on media data. Applications using this library can do | |
100 | anything from real-time sound processing to playing videos, and just | |
101 | about anything else media-related. Its plugin-based architecture means | |
102 | that new data types or processing capabilities can be added simply by | |
103 | installing new plugins. | |
104 | ||
e4fae186 JR |
105 | %description -l pl.UTF-8 |
106 | GStreamer to środowisko obróbki danych strumieniowych, bazujące na | |
107 | grafie filtrów operujących na danych medialnych. Aplikacje używające | |
108 | tej biblioteki mogą robić wszystko od przetwarzania dźwięku w czasie | |
109 | rzeczywistym, do odtwarzania filmów i czegokolwiek innego związego z | |
110 | mediami. Architektura bazująca na wtyczkach pozwala na łatwe dodawanie | |
111 | nowych typów danych lub możliwości obróbki. | |
2fbdaa36 JB |
112 | |
113 | ## | |
114 | ## Plugins | |
115 | ## | |
116 | ||
117 | %package -n gstreamer-aac | |
118 | Summary: GStreamer plugin for AAC audio encoding and decoding | |
e4fae186 | 119 | Summary(pl.UTF-8): Wtyczka do GStreamera do kodowania i dekodowania plików audio AAC |
2fbdaa36 JB |
120 | Group: Libraries |
121 | Requires: gstreamer-plugins-base >= %{gst_req_ver} | |
122 | ||
123 | %description -n gstreamer-aac | |
124 | GStreamer plugin for AAC audio encoding and decoding. | |
125 | ||
e4fae186 JR |
126 | %description -n gstreamer-aac -l pl.UTF-8 |
127 | Wtyczka do GStreamera do kodowania i dekodowania plików audio AAC. | |
2fbdaa36 | 128 | |
c1cb81af JB |
129 | %package -n gstreamer-amrwb |
130 | Summary: GStreamer plugin for AMR-WB audio encoding and decoding | |
e4fae186 | 131 | Summary(pl.UTF-8): Wtyczka GStreamera do kodowania i dekodowania dźwięku w formacie AMR-WB |
c1cb81af JB |
132 | Group: Libraries |
133 | Requires: gstreamer >= %{gst_req_ver} | |
134 | ||
135 | %description -n gstreamer-amrwb | |
136 | GStreamer plugin for AMR-WB audio encoding and decoding. | |
137 | ||
e4fae186 JR |
138 | %description -n gstreamer-amrwb -l pl.UTF-8 |
139 | Wtyczka GStreamera do kodowania i dekodowania dźwięku w formacie | |
c1cb81af JB |
140 | AMR-WB. |
141 | ||
2fbdaa36 JB |
142 | %package -n gstreamer-audio-effects-bad |
143 | Summary: Bad GStreamer audio effects plugins | |
e4fae186 | 144 | Summary(pl.UTF-8): Złe wtyczki efektów dźwiękowych do GStreamera |
2fbdaa36 JB |
145 | Group: Libraries |
146 | Requires: gstreamer >= %{gst_req_ver} | |
147 | Obsoletes: gstreamer-audio-effects | |
148 | ||
149 | %description -n gstreamer-audio-effects-bad | |
150 | Bad GStreamer audio effects plugins. | |
151 | ||
e4fae186 JR |
152 | %description -n gstreamer-audio-effects-bad -l pl.UTF-8 |
153 | Złe wtyczki efektów dźwiękowych do GStreamera. | |
2fbdaa36 | 154 | |
c1cb81af JB |
155 | %package -n gstreamer-audiosink-alsaspdif |
156 | Summary: GStreamer ALSA plugin for S/PDIF output | |
e4fae186 | 157 | Summary(pl.UTF-8): Wtyczka ALSA GStreamera do wyjścia S/PDIF |
c1cb81af JB |
158 | Group: Libraries |
159 | Requires: gstreamer-plugins-base >= %{gst_req_ver} | |
342ef0a1 | 160 | Provides: gstreamer-audiosink = %{version} |
c1cb81af JB |
161 | |
162 | %description -n gstreamer-audiosink-alsaspdif | |
163 | GStreamer ALSA plugin for S/PDIF output. | |
164 | ||
e4fae186 JR |
165 | %description -n gstreamer-audiosink-alsaspdif -l pl.UTF-8 |
166 | Wtyczka ALSA GStreamera do wyjścia S/PDIF. | |
c1cb81af JB |
167 | |
168 | %package -n gstreamer-cdaudio | |
169 | Summary: GStreamer plugin for CD audio input using libcdaudio | |
e4fae186 | 170 | Summary(pl.UTF-8): Wtyczka do GStreamera odtwarzająca płyty CD-Audio przy użyciu libcdaudio |
c1cb81af JB |
171 | Group: Libraries |
172 | Requires: gstreamer >= %{gst_req_ver} | |
173 | ||
174 | %description -n gstreamer-cdaudio | |
175 | Plugin for playing audio tracks using libcdaudio under GStreamer. | |
176 | ||
e4fae186 JR |
177 | %description -n gstreamer-cdaudio -l pl.UTF-8 |
178 | Wtyczka do odtwarzania ścieżek dźwiękowych pod GStreamerem za pomocą | |
c1cb81af JB |
179 | libcdaudio. |
180 | ||
0c737202 JB |
181 | %package -n gstreamer-divx |
182 | Summary: GStreamer divx plugin | |
e4fae186 | 183 | Summary(pl.UTF-8): Wtyczka divx do GStreamera |
0c737202 JB |
184 | Group: Libraries |
185 | Requires: gstreamer-plugins-base >= %{gst_req_ver} | |
186 | ||
187 | %description -n gstreamer-divx | |
188 | GStreamer divx plugin. | |
189 | ||
e4fae186 | 190 | %description -n gstreamer-divx -l pl.UTF-8 |
0c737202 JB |
191 | Wtyczka divx do GStreamera. |
192 | ||
193 | %package -n gstreamer-dts | |
194 | Summary: GStreamer DTS plugin | |
e4fae186 | 195 | Summary(pl.UTF-8): Wtyczka DTS do GStreamera |
0c737202 JB |
196 | Group: Libraries |
197 | Requires: gstreamer-plugins-base >= %{gst_req_ver} | |
198 | ||
199 | %description -n gstreamer-dts | |
200 | Plugin for DTS Coherent Acoustics support. | |
201 | ||
e4fae186 JR |
202 | %description -n gstreamer-dts -l pl.UTF-8 |
203 | Wtyczka do GStreamera obsługująca DTS Coherent Acoustics. | |
0c737202 | 204 | |
2fbdaa36 JB |
205 | %package -n gstreamer-gsm |
206 | Summary: GStreamer plugin for GSM lossy audio format | |
e4fae186 | 207 | Summary(pl.UTF-8): Wtyczka do GStreamera obsługująca stratny format dźwięku GSM |
2fbdaa36 JB |
208 | Group: Libraries |
209 | Requires: gstreamer-plugins-base >= %{gst_req_ver} | |
210 | ||
211 | %description -n gstreamer-gsm | |
212 | Output plugin for GStreamer to convert to GSM lossy audio format. | |
213 | ||
e4fae186 JR |
214 | %description -n gstreamer-gsm -l pl.UTF-8 |
215 | Wtyczka wyjścia dźwięku GSteamera konwertująca do stratnego formatu | |
2fbdaa36 JB |
216 | GSM. |
217 | ||
0c737202 JB |
218 | %package -n gstreamer-imagesink-gl |
219 | Summary: GStreamer plugin for outputing to OpenGL | |
e4fae186 | 220 | Summary(pl.UTF-8): Wtyczka wyjścia OpenGL do GStreamera |
0c737202 JB |
221 | Group: Libraries |
222 | Requires: gstreamer >= %{gst_req_ver} | |
223 | Provides: gstreamer-imagesink = %{version} | |
224 | ||
225 | %description -n gstreamer-imagesink-gl | |
226 | GStreamer plugin for outputing to OpenGL. | |
227 | ||
e4fae186 JR |
228 | %description -n gstreamer-imagesink-gl -l pl.UTF-8 |
229 | Wtyczka wyjścia OpenGL do GStreamera. | |
0c737202 | 230 | |
c1cb81af JB |
231 | %package -n gstreamer-jack |
232 | Summary: GStreamer plugin for the JACK Sound Server | |
e4fae186 | 233 | Summary(pl.UTF-8): Wtyczka serwera dźwięku JACK dla GStreamera |
c1cb81af | 234 | Group: Libraries |
73399bb9 | 235 | Requires: gstreamer-plugins-base >= %{gst_req_ver} |
c1cb81af JB |
236 | Provides: gstreamer-audiosink = %{version} |
237 | ||
238 | %description -n gstreamer-jack | |
239 | Plugin for the JACK professional sound server. | |
240 | ||
e4fae186 JR |
241 | %description -n gstreamer-jack -l pl.UTF-8 |
242 | Wtyczka dla profesjonalnego serwera dźwięku JACK. | |
c1cb81af JB |
243 | |
244 | %package -n gstreamer-ladspa | |
245 | Summary: GStreamer wrapper for LADSPA plugins | |
e4fae186 | 246 | Summary(pl.UTF-8): Wrapper do wtyczek LADSPA dla GStreamera |
c1cb81af | 247 | Group: Libraries |
73399bb9 | 248 | Requires: gstreamer-plugins-base >= %{gst_req_ver} |
c1cb81af JB |
249 | |
250 | %description -n gstreamer-ladspa | |
251 | Plugin which wraps LADSPA plugins for use by GStreamer applications. | |
252 | ||
e4fae186 JR |
253 | %description -n gstreamer-ladspa -l pl.UTF-8 |
254 | Wtyczka pozwalająca na używanie wtyczek LADSPA przez aplikacje | |
c1cb81af JB |
255 | GStreamera. |
256 | ||
3a8fb9fb JB |
257 | %package -n gstreamer-mjpegtools |
258 | Summary: GStreamer mpeg2enc plugin | |
e4fae186 | 259 | Summary(pl.UTF-8): Wtyczka mpeg2enc do GStreamera |
1a2f531c | 260 | Group: Libraries |
261 | Requires(post,postun): %{_bindir}/gst-register-0.8 | |
3a8fb9fb JB |
262 | |
263 | %description -n gstreamer-mjpegtools | |
264 | GStreamer mpeg2enc plugin (based on mjpegtools libraries). | |
265 | ||
e4fae186 | 266 | %description -n gstreamer-mjpegtools -l pl.UTF-8 |
3a8fb9fb JB |
267 | Wtyczka mpeg2enc do GStreamera (oparta na bibliotekach mjpegtools). |
268 | ||
2fbdaa36 JB |
269 | %package -n gstreamer-mms |
270 | Summary: GStreamer mms plugin | |
e4fae186 | 271 | Summary(pl.UTF-8): Wtyczka mms do GStreamera |
2fbdaa36 JB |
272 | Group: Libraries |
273 | Requires: gstreamer-plugins-base >= %{gst_req_ver} | |
274 | ||
275 | %description -n gstreamer-mms | |
276 | GStreamer mms plugin. | |
277 | ||
e4fae186 | 278 | %description -n gstreamer-mms -l pl.UTF-8 |
2fbdaa36 JB |
279 | Wtyczka mms do GStreamera. |
280 | ||
281 | %package -n gstreamer-musepack | |
282 | Summary: GStreamer musepack plugin | |
e4fae186 | 283 | Summary(pl.UTF-8): Wtyczka musepack do GStreamera |
2fbdaa36 JB |
284 | Group: Libraries |
285 | Requires: gstreamer >= %{gst_req_ver} | |
286 | ||
287 | %description -n gstreamer-musepack | |
288 | GStreamer musepack plugin. | |
289 | ||
e4fae186 | 290 | %description -n gstreamer-musepack -l pl.UTF-8 |
2fbdaa36 JB |
291 | Wtyczka musepack do GStreamera. |
292 | ||
58c82848 JB |
293 | %package -n gstreamer-musicbrainz |
294 | Summary: GStreamer musicbrainz plugin | |
e4fae186 | 295 | Summary(pl.UTF-8): Wtyczka musicbrainz do GStreamera |
58c82848 JB |
296 | Group: Libraries |
297 | Requires: gstreamer-plugins-base >= %{gst_req_ver} | |
298 | ||
299 | %description -n gstreamer-musicbrainz | |
300 | GStreamer musicbrainz plugin - a TRM signature producer. | |
301 | ||
e4fae186 JR |
302 | %description -n gstreamer-musicbrainz -l pl.UTF-8 |
303 | Wtyczka musicbrainz do GStreamera, tworząca sygnatury TRM. | |
58c82848 | 304 | |
0c737202 JB |
305 | %package -n gstreamer-neon |
306 | Summary: GStreamer neon HTTP source plugin | |
e4fae186 | 307 | Summary(pl.UTF-8): Wtyczka źródła HTTP neon do GStreamera |
0c737202 JB |
308 | Group: Libraries |
309 | Requires: gstreamer >= %{gst_req_ver} | |
310 | ||
311 | %description -n gstreamer-neon | |
312 | GStreamer neon HTTP source plugin. | |
313 | ||
e4fae186 JR |
314 | %description -n gstreamer-neon -l pl.UTF-8 |
315 | Wtyczka źródła HTTP neon do GStreamera. | |
0c737202 | 316 | |
58c82848 JB |
317 | %package -n gstreamer-soundtouch |
318 | Summary: GStreamer soundtouch plugin | |
e4fae186 | 319 | Summary(pl.UTF-8): Wtyczka soundtouch do GStreamera |
58c82848 JB |
320 | Group: Libraries |
321 | Requires: gstreamer >= %{gst_req_ver} | |
322 | ||
323 | %description -n gstreamer-soundtouch | |
324 | GStreamer soundtouch source plugin - audio pitch controller. | |
325 | ||
e4fae186 JR |
326 | %description -n gstreamer-soundtouch -l pl.UTF-8 |
327 | Wtyczka soundtouch do GStreamera, sterująca wysokością dźwięku. | |
58c82848 | 328 | |
3a8fb9fb JB |
329 | %package -n gstreamer-spc |
330 | Summary: GStreamer SPC plugin | |
e4fae186 | 331 | Summary(pl.UTF-8): Wtyczka SPC dla GStreamera |
3a8fb9fb JB |
332 | Group: Libraries |
333 | Requires: gstreamer-plugins-base >= %{gst_req_ver} | |
334 | Requires: libopenspc >= 0.3.99 | |
335 | ||
336 | %description -n gstreamer-spc | |
337 | GStreamer Plugin for playing SPC files using OpenSPC library. | |
338 | ||
e4fae186 JR |
339 | %description -n gstreamer-spc -l pl.UTF-8 |
340 | Wtyczka GStreamera odtwarzająca pliki SPC przy użyciu biblioteki | |
3a8fb9fb JB |
341 | OpenSPC. |
342 | ||
0c737202 JB |
343 | %package -n gstreamer-swfdec |
344 | Summary: GStreamer Flash redering plugin | |
e4fae186 | 345 | Summary(pl.UTF-8): Wtyczka renderująca animacje flash dla GStreamera |
0c737202 JB |
346 | Group: Libraries |
347 | Requires: gstreamer-plugins-base >= %{gst_req_ver} | |
348 | Requires: swfdec >= 0.3.6 | |
349 | ||
350 | %description -n gstreamer-swfdec | |
351 | Plugin for rendering Flash animations using swfdec library. | |
352 | ||
e4fae186 JR |
353 | %description -n gstreamer-swfdec -l pl.UTF-8 |
354 | Wtyczka renderująca animacje flash w oparciu o bibliotekę swfdec. | |
0c737202 | 355 | |
2fbdaa36 JB |
356 | %package -n gstreamer-videosink-sdl |
357 | Summary: GStreamer plugin for outputing to SDL | |
e4fae186 | 358 | Summary(pl.UTF-8): Wtyczka wyjścia SDL do GStreamera |
2fbdaa36 JB |
359 | Group: Libraries |
360 | Requires: gstreamer-plugins-base >= %{gst_req_ver} | |
361 | Provides: gstreamer-videosink = %{version} | |
362 | Obsoletes: gstreamer-SDL | |
363 | ||
364 | %description -n gstreamer-videosink-sdl | |
365 | Plugin for sending output to the Simple Direct Media architecture. | |
366 | (http://www.libsdl.org/). Usefull for fullscreen playback. | |
367 | ||
e4fae186 JR |
368 | %description -n gstreamer-videosink-sdl -l pl.UTF-8 |
369 | Wtyczka przekazująca wyjście do architektury SDL. Użyteczna do | |
370 | odtwarzania na pełnym ekranie. | |
2fbdaa36 JB |
371 | |
372 | %package -n gstreamer-videosink-directfb | |
373 | Summary: GStreamer DirectFB output plugin | |
e4fae186 | 374 | Summary(pl.UTF-8): Wtyczka wyjścia obrazu DirectFB do GStreamera |
2fbdaa36 JB |
375 | Group: Libraries |
376 | Requires: gstreamer-plugins-base >= %{gst_req_ver} | |
377 | Provides: gstreamer-videosink = %{version} | |
378 | ||
379 | %description -n gstreamer-videosink-directfb | |
380 | GStreamer DirectFB output plugin. | |
381 | ||
e4fae186 JR |
382 | %description -n gstreamer-videosink-directfb -l pl.UTF-8 |
383 | Wtyczka wyjścia obrazu DirectFB do GStreamera. | |
2fbdaa36 JB |
384 | |
385 | %package -n gstreamer-wavpack | |
386 | Summary: GStreamer plugin for Wavpack lossless audio format | |
e4fae186 | 387 | Summary(pl.UTF-8): Wtyczka do GStreamera obsługująca bezstratny format dźwięku Wavpack |
2fbdaa36 JB |
388 | Group: Libraries |
389 | Requires: gstreamer >= %{gst_req_ver} | |
390 | ||
391 | %description -n gstreamer-wavpack | |
392 | Plugin for lossless Wavpack audio format. | |
393 | ||
e4fae186 JR |
394 | %description -n gstreamer-wavpack -l pl.UTF-8 |
395 | Wtyczka obsługująca bezstratny format dźwięku Wavpack. | |
2fbdaa36 | 396 | |
0c737202 JB |
397 | %package -n gstreamer-xvid |
398 | Summary: GStreamer xvid decoder plugin | |
e4fae186 | 399 | Summary(pl.UTF-8): Wtyczka do GStreamera dekodująca przy użyciu biblioteki xvid |
0c737202 JB |
400 | Group: Libraries |
401 | Requires: gstreamer-plugins-base >= %{gst_req_ver} | |
402 | ||
403 | %description -n gstreamer-xvid | |
404 | GStreamer xvid decoder plugin. | |
405 | ||
e4fae186 JR |
406 | %description -n gstreamer-xvid -l pl.UTF-8 |
407 | Wtyczka do GStreamera dekodująca przy użyciu biblioteki xvid. | |
0c737202 | 408 | |
2fbdaa36 JB |
409 | %prep |
410 | %setup -q -n %{gstname}-%{version} | |
411 | %patch0 -p1 | |
0c737202 JB |
412 | %patch1 -p1 |
413 | %patch2 -p1 | |
58c82848 | 414 | %patch3 -p1 |
8b49609c | 415 | %patch4 -p1 |
c1cb81af JB |
416 | %patch5 -p1 |
417 | %patch6 -p1 | |
2fbdaa36 JB |
418 | |
419 | %build | |
420 | %{__libtoolize} | |
421 | %{__aclocal} -I m4 -I common/m4 | |
422 | %{__autoconf} | |
423 | %{__autoheader} | |
424 | %{__automake} | |
425 | %configure \ | |
c1cb81af | 426 | %{!?with_cdaudio:--disable-cdaudio} \ |
0c737202 JB |
427 | %{!?with_divx4linux:--disable-divx} \ |
428 | %{!?with_dts:--disable-dts} \ | |
2fbdaa36 JB |
429 | %{!?with_faad:--disable-faad} \ |
430 | %{!?with_gsm:--disable-gsm} \ | |
c1cb81af JB |
431 | %{!?with_jack:--disable-jack} \ |
432 | %{!?with_ladspa:--disable-ladspa} \ | |
2fbdaa36 | 433 | %{!?with_mms:--disable-libmms} \ |
3a8fb9fb | 434 | %{!?with_mjpegtools:--disable-mpeg2enc} \ |
2fbdaa36 | 435 | %{!?with_musepack:--disable-musepack} \ |
0c737202 | 436 | %{!?with_neon:--disable-neon} \ |
2fbdaa36 JB |
437 | %{!?with_sdl:--disable-sdl} \ |
438 | %{!?with_sdl:--disable-sdltest} \ | |
3a8fb9fb | 439 | %{!?with_spc:--disable-spc} \ |
0c737202 | 440 | %{!?with_swfdec:--disable-swfdec} \ |
2fbdaa36 | 441 | %{!?with_wavpack:--disable-wavpack} \ |
0c737202 | 442 | %{!?with_xvid:--disable-xvid} \ |
2fbdaa36 JB |
443 | --disable-static \ |
444 | --enable-gtk-doc \ | |
445 | --with-html-dir=%{_gtkdocdir} | |
446 | ||
447 | %{__make} | |
448 | ||
449 | %install | |
450 | rm -rf $RPM_BUILD_ROOT | |
451 | ||
452 | %{__make} install \ | |
453 | DESTDIR=$RPM_BUILD_ROOT | |
454 | ||
455 | # We don't need plugins' *.la files | |
456 | rm -f $RPM_BUILD_ROOT%{gstlibdir}/*.la | |
457 | ||
58c82848 JB |
458 | %find_lang %{gstname}-%{gst_major_ver} |
459 | ||
2fbdaa36 JB |
460 | %clean |
461 | rm -rf $RPM_BUILD_ROOT | |
462 | ||
58c82848 | 463 | %files -f %{gstname}-%{gst_major_ver}.lang |
2fbdaa36 JB |
464 | %defattr(644,root,root,755) |
465 | %doc AUTHORS ChangeLog NEWS README RELEASE | |
0c737202 JB |
466 | %attr(755,root,root) %{gstlibdir}/libgstbz2.so |
467 | %attr(755,root,root) %{gstlibdir}/libgstcdxaparse.so | |
c1cb81af JB |
468 | %attr(755,root,root) %{gstlibdir}/libgstdeinterlace.so |
469 | %attr(755,root,root) %{gstlibdir}/libgstdvbsrc.so | |
470 | %attr(755,root,root) %{gstlibdir}/libgstfilter.so | |
0c737202 | 471 | %attr(755,root,root) %{gstlibdir}/libgstfreeze.so |
c1cb81af | 472 | %attr(755,root,root) %{gstlibdir}/libgsth264parse.so |
58c82848 | 473 | %attr(755,root,root) %{gstlibdir}/libgstmodplug.so |
c1cb81af JB |
474 | %attr(755,root,root) %{gstlibdir}/libgstmultifile.so |
475 | %attr(755,root,root) %{gstlibdir}/libgstnsf.so | |
476 | %attr(755,root,root) %{gstlibdir}/libgstnuvdemux.so | |
2fbdaa36 | 477 | %attr(755,root,root) %{gstlibdir}/libgstqtdemux.so |
c1cb81af JB |
478 | %attr(755,root,root) %{gstlibdir}/libgstreplaygain.so |
479 | %attr(755,root,root) %{gstlibdir}/libgstrfbsrc.so | |
480 | %attr(755,root,root) %{gstlibdir}/libgstspectrum.so | |
2fbdaa36 | 481 | %attr(755,root,root) %{gstlibdir}/libgsttta.so |
c1cb81af JB |
482 | %attr(755,root,root) %{gstlibdir}/libgstvideocrop.so |
483 | %attr(755,root,root) %{gstlibdir}/libgstvideoparse.so | |
58c82848 | 484 | %attr(755,root,root) %{gstlibdir}/libgstxingheader.so |
c1cb81af | 485 | %attr(755,root,root) %{gstlibdir}/libgsty4menc.so |
2fbdaa36 JB |
486 | %{_gtkdocdir}/gst-plugins-bad-plugins-* |
487 | ||
488 | ## | |
489 | ## Plugins | |
490 | ## | |
491 | ||
492 | %if %{with faad} | |
493 | %files -n gstreamer-aac | |
494 | %defattr(644,root,root,755) | |
495 | %attr(755,root,root) %{gstlibdir}/libgstfaac.so | |
496 | %attr(755,root,root) %{gstlibdir}/libgstfaad.so | |
497 | %endif | |
498 | ||
c1cb81af JB |
499 | %if %{with amr} |
500 | %files -n gstreamer-amrwb | |
501 | %defattr(644,root,root,755) | |
502 | %attr(755,root,root) %{gstlibdir}/libgstamrwb.so | |
503 | %endif | |
504 | ||
2fbdaa36 JB |
505 | %files -n gstreamer-audio-effects-bad |
506 | %defattr(644,root,root,755) | |
507 | %attr(755,root,root) %{gstlibdir}/libgstspeed.so | |
508 | ||
c1cb81af JB |
509 | %files -n gstreamer-audiosink-alsaspdif |
510 | %defattr(644,root,root,755) | |
511 | %attr(755,root,root) %{gstlibdir}/libgstalsaspdif.so | |
512 | ||
513 | %if %{with cdaudio} | |
514 | %files -n gstreamer-cdaudio | |
515 | %defattr(644,root,root,755) | |
516 | %attr(755,root,root) %{gstlibdir}/libgstcdaudio.so | |
517 | %endif | |
518 | ||
0c737202 JB |
519 | %if %{with divx4linux} |
520 | %files -n gstreamer-divx | |
521 | %defattr(644,root,root,755) | |
522 | %attr(755,root,root) %{gstlibdir}/libgstdivxdec.so | |
523 | %attr(755,root,root) %{gstlibdir}/libgstdivxenc.so | |
524 | %endif | |
525 | ||
526 | %if %{with dts} | |
527 | %files -n gstreamer-dts | |
528 | %defattr(644,root,root,755) | |
529 | %attr(755,root,root) %{gstlibdir}/libgstdtsdec.so | |
530 | %endif | |
531 | ||
2fbdaa36 JB |
532 | %if %{with gsm} |
533 | %files -n gstreamer-gsm | |
534 | %defattr(644,root,root,755) | |
535 | %attr(755,root,root) %{gstlibdir}/libgstgsm.so | |
536 | %endif | |
537 | ||
0c737202 JB |
538 | %files -n gstreamer-imagesink-gl |
539 | %defattr(644,root,root,755) | |
540 | %attr(755,root,root) %{gstlibdir}/libgstglimagesink.so | |
541 | ||
c1cb81af JB |
542 | %if %{with jack} |
543 | %files -n gstreamer-jack | |
544 | %defattr(644,root,root,755) | |
545 | %attr(755,root,root) %{gstlibdir}/libgstjack.so | |
546 | %endif | |
547 | ||
548 | %if %{with ladspa} | |
549 | %files -n gstreamer-ladspa | |
550 | %defattr(644,root,root,755) | |
551 | %attr(755,root,root) %{gstlibdir}/libgstladspa.so | |
552 | %endif | |
553 | ||
3a8fb9fb JB |
554 | %if %{with mjpegtools} |
555 | %files -n gstreamer-mjpegtools | |
556 | %defattr(644,root,root,755) | |
557 | %attr(755,root,root) %{gstlibdir}/libgstmpeg2enc.so | |
558 | %endif | |
559 | ||
2fbdaa36 JB |
560 | %if %{with mms} |
561 | %files -n gstreamer-mms | |
562 | %defattr(644,root,root,755) | |
563 | %attr(755,root,root) %{gstlibdir}/libgstmms.so | |
564 | %endif | |
565 | ||
58c82848 JB |
566 | %if %{with musepack} |
567 | %files -n gstreamer-musepack | |
568 | %defattr(644,root,root,755) | |
569 | %attr(755,root,root) %{gstlibdir}/libgstmusepack.so | |
570 | %endif | |
571 | ||
572 | %files -n gstreamer-musicbrainz | |
573 | %defattr(644,root,root,755) | |
574 | %attr(755,root,root) %{gstlibdir}/libgsttrm.so | |
575 | ||
0c737202 JB |
576 | %if %{with neon} |
577 | %files -n gstreamer-neon | |
578 | %defattr(644,root,root,755) | |
579 | %attr(755,root,root) %{gstlibdir}/libgstneonhttpsrc.so | |
580 | %endif | |
581 | ||
58c82848 | 582 | %files -n gstreamer-soundtouch |
2fbdaa36 | 583 | %defattr(644,root,root,755) |
58c82848 | 584 | %attr(755,root,root) %{gstlibdir}/libgstpitch.so |
2fbdaa36 | 585 | |
3a8fb9fb JB |
586 | %if %{with spc} |
587 | %files -n gstreamer-spc | |
588 | %defattr(644,root,root,755) | |
589 | %attr(755,root,root) %{gstlibdir}/libgstspc.so | |
590 | %endif | |
591 | ||
0c737202 JB |
592 | %if %{with swfdec} |
593 | %files -n gstreamer-swfdec | |
594 | %defattr(644,root,root,755) | |
595 | %attr(755,root,root) %{gstlibdir}/libgstswfdec.so | |
596 | %endif | |
597 | ||
2fbdaa36 JB |
598 | %if %{with sdl} |
599 | %files -n gstreamer-videosink-sdl | |
600 | %defattr(644,root,root,755) | |
601 | %attr(755,root,root) %{gstlibdir}/libgstsdlvideosink.so | |
602 | %endif | |
603 | ||
604 | %if %{with directfb} | |
605 | %files -n gstreamer-videosink-directfb | |
606 | %defattr(644,root,root,755) | |
607 | %attr(755,root,root) %{gstlibdir}/libgstdfbvideosink.so | |
608 | %endif | |
609 | ||
610 | %if %{with wavpack} | |
611 | %files -n gstreamer-wavpack | |
612 | %defattr(644,root,root,755) | |
613 | %attr(755,root,root) %{gstlibdir}/libgstwavpack.so | |
614 | %endif | |
0c737202 JB |
615 | |
616 | %if %{with xvid} | |
617 | %files -n gstreamer-xvid | |
618 | %defattr(644,root,root,755) | |
619 | %attr(755,root,root) %{gstlibdir}/libgstxvid.so | |
620 | %endif |