]>
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 | |
63d1273e | 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 |
87bcf0cc | 35 | Release: 7 |
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 | |
63d1273e | 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 | |
63d1273e | 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 | |
63d1273e | 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 | |
63d1273e | 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 | |
63d1273e | 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 | |
63d1273e | 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 | |
63d1273e | 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 | |
63d1273e | 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 | |
63d1273e | 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 | |
63d1273e | 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 | |
63d1273e | 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 | |
63d1273e | 259 | Summary(pl.UTF-8): Wtyczka mpeg2enc do GStreamera |
1a2f531c | 260 | Group: Libraries |
3a8fb9fb JB |
261 | |
262 | %description -n gstreamer-mjpegtools | |
263 | GStreamer mpeg2enc plugin (based on mjpegtools libraries). | |
264 | ||
e4fae186 | 265 | %description -n gstreamer-mjpegtools -l pl.UTF-8 |
3a8fb9fb JB |
266 | Wtyczka mpeg2enc do GStreamera (oparta na bibliotekach mjpegtools). |
267 | ||
2fbdaa36 JB |
268 | %package -n gstreamer-mms |
269 | Summary: GStreamer mms plugin | |
63d1273e | 270 | Summary(pl.UTF-8): Wtyczka mms do GStreamera |
2fbdaa36 JB |
271 | Group: Libraries |
272 | Requires: gstreamer-plugins-base >= %{gst_req_ver} | |
273 | ||
274 | %description -n gstreamer-mms | |
275 | GStreamer mms plugin. | |
276 | ||
e4fae186 | 277 | %description -n gstreamer-mms -l pl.UTF-8 |
2fbdaa36 JB |
278 | Wtyczka mms do GStreamera. |
279 | ||
280 | %package -n gstreamer-musepack | |
281 | Summary: GStreamer musepack plugin | |
63d1273e | 282 | Summary(pl.UTF-8): Wtyczka musepack do GStreamera |
2fbdaa36 JB |
283 | Group: Libraries |
284 | Requires: gstreamer >= %{gst_req_ver} | |
285 | ||
286 | %description -n gstreamer-musepack | |
287 | GStreamer musepack plugin. | |
288 | ||
e4fae186 | 289 | %description -n gstreamer-musepack -l pl.UTF-8 |
2fbdaa36 JB |
290 | Wtyczka musepack do GStreamera. |
291 | ||
58c82848 JB |
292 | %package -n gstreamer-musicbrainz |
293 | Summary: GStreamer musicbrainz plugin | |
63d1273e | 294 | Summary(pl.UTF-8): Wtyczka musicbrainz do GStreamera |
58c82848 JB |
295 | Group: Libraries |
296 | Requires: gstreamer-plugins-base >= %{gst_req_ver} | |
297 | ||
298 | %description -n gstreamer-musicbrainz | |
299 | GStreamer musicbrainz plugin - a TRM signature producer. | |
300 | ||
e4fae186 JR |
301 | %description -n gstreamer-musicbrainz -l pl.UTF-8 |
302 | Wtyczka musicbrainz do GStreamera, tworząca sygnatury TRM. | |
58c82848 | 303 | |
0c737202 JB |
304 | %package -n gstreamer-neon |
305 | Summary: GStreamer neon HTTP source plugin | |
63d1273e | 306 | Summary(pl.UTF-8): Wtyczka źródła HTTP neon do GStreamera |
0c737202 JB |
307 | Group: Libraries |
308 | Requires: gstreamer >= %{gst_req_ver} | |
309 | ||
310 | %description -n gstreamer-neon | |
311 | GStreamer neon HTTP source plugin. | |
312 | ||
e4fae186 JR |
313 | %description -n gstreamer-neon -l pl.UTF-8 |
314 | Wtyczka źródła HTTP neon do GStreamera. | |
0c737202 | 315 | |
58c82848 JB |
316 | %package -n gstreamer-soundtouch |
317 | Summary: GStreamer soundtouch plugin | |
63d1273e | 318 | Summary(pl.UTF-8): Wtyczka soundtouch do GStreamera |
58c82848 JB |
319 | Group: Libraries |
320 | Requires: gstreamer >= %{gst_req_ver} | |
321 | ||
322 | %description -n gstreamer-soundtouch | |
323 | GStreamer soundtouch source plugin - audio pitch controller. | |
324 | ||
e4fae186 JR |
325 | %description -n gstreamer-soundtouch -l pl.UTF-8 |
326 | Wtyczka soundtouch do GStreamera, sterująca wysokością dźwięku. | |
58c82848 | 327 | |
3a8fb9fb JB |
328 | %package -n gstreamer-spc |
329 | Summary: GStreamer SPC plugin | |
63d1273e | 330 | Summary(pl.UTF-8): Wtyczka SPC dla GStreamera |
3a8fb9fb JB |
331 | Group: Libraries |
332 | Requires: gstreamer-plugins-base >= %{gst_req_ver} | |
333 | Requires: libopenspc >= 0.3.99 | |
334 | ||
335 | %description -n gstreamer-spc | |
336 | GStreamer Plugin for playing SPC files using OpenSPC library. | |
337 | ||
e4fae186 JR |
338 | %description -n gstreamer-spc -l pl.UTF-8 |
339 | Wtyczka GStreamera odtwarzająca pliki SPC przy użyciu biblioteki | |
3a8fb9fb JB |
340 | OpenSPC. |
341 | ||
0c737202 JB |
342 | %package -n gstreamer-swfdec |
343 | Summary: GStreamer Flash redering plugin | |
63d1273e | 344 | Summary(pl.UTF-8): Wtyczka renderująca animacje flash dla GStreamera |
0c737202 JB |
345 | Group: Libraries |
346 | Requires: gstreamer-plugins-base >= %{gst_req_ver} | |
347 | Requires: swfdec >= 0.3.6 | |
348 | ||
349 | %description -n gstreamer-swfdec | |
350 | Plugin for rendering Flash animations using swfdec library. | |
351 | ||
e4fae186 JR |
352 | %description -n gstreamer-swfdec -l pl.UTF-8 |
353 | Wtyczka renderująca animacje flash w oparciu o bibliotekę swfdec. | |
0c737202 | 354 | |
2fbdaa36 JB |
355 | %package -n gstreamer-videosink-sdl |
356 | Summary: GStreamer plugin for outputing to SDL | |
63d1273e | 357 | Summary(pl.UTF-8): Wtyczka wyjścia SDL do GStreamera |
2fbdaa36 JB |
358 | Group: Libraries |
359 | Requires: gstreamer-plugins-base >= %{gst_req_ver} | |
360 | Provides: gstreamer-videosink = %{version} | |
361 | Obsoletes: gstreamer-SDL | |
362 | ||
363 | %description -n gstreamer-videosink-sdl | |
364 | Plugin for sending output to the Simple Direct Media architecture. | |
365 | (http://www.libsdl.org/). Usefull for fullscreen playback. | |
366 | ||
e4fae186 JR |
367 | %description -n gstreamer-videosink-sdl -l pl.UTF-8 |
368 | Wtyczka przekazująca wyjście do architektury SDL. Użyteczna do | |
369 | odtwarzania na pełnym ekranie. | |
2fbdaa36 JB |
370 | |
371 | %package -n gstreamer-videosink-directfb | |
372 | Summary: GStreamer DirectFB output plugin | |
63d1273e | 373 | Summary(pl.UTF-8): Wtyczka wyjścia obrazu DirectFB do GStreamera |
2fbdaa36 JB |
374 | Group: Libraries |
375 | Requires: gstreamer-plugins-base >= %{gst_req_ver} | |
376 | Provides: gstreamer-videosink = %{version} | |
377 | ||
378 | %description -n gstreamer-videosink-directfb | |
379 | GStreamer DirectFB output plugin. | |
380 | ||
e4fae186 JR |
381 | %description -n gstreamer-videosink-directfb -l pl.UTF-8 |
382 | Wtyczka wyjścia obrazu DirectFB do GStreamera. | |
2fbdaa36 JB |
383 | |
384 | %package -n gstreamer-wavpack | |
385 | Summary: GStreamer plugin for Wavpack lossless audio format | |
63d1273e | 386 | Summary(pl.UTF-8): Wtyczka do GStreamera obsługująca bezstratny format dźwięku Wavpack |
2fbdaa36 JB |
387 | Group: Libraries |
388 | Requires: gstreamer >= %{gst_req_ver} | |
389 | ||
390 | %description -n gstreamer-wavpack | |
391 | Plugin for lossless Wavpack audio format. | |
392 | ||
e4fae186 JR |
393 | %description -n gstreamer-wavpack -l pl.UTF-8 |
394 | Wtyczka obsługująca bezstratny format dźwięku Wavpack. | |
2fbdaa36 | 395 | |
0c737202 JB |
396 | %package -n gstreamer-xvid |
397 | Summary: GStreamer xvid decoder plugin | |
63d1273e | 398 | Summary(pl.UTF-8): Wtyczka do GStreamera dekodująca przy użyciu biblioteki xvid |
0c737202 JB |
399 | Group: Libraries |
400 | Requires: gstreamer-plugins-base >= %{gst_req_ver} | |
401 | ||
402 | %description -n gstreamer-xvid | |
403 | GStreamer xvid decoder plugin. | |
404 | ||
e4fae186 JR |
405 | %description -n gstreamer-xvid -l pl.UTF-8 |
406 | Wtyczka do GStreamera dekodująca przy użyciu biblioteki xvid. | |
0c737202 | 407 | |
2fbdaa36 JB |
408 | %prep |
409 | %setup -q -n %{gstname}-%{version} | |
410 | %patch0 -p1 | |
0c737202 JB |
411 | %patch1 -p1 |
412 | %patch2 -p1 | |
58c82848 | 413 | %patch3 -p1 |
8b49609c | 414 | %patch4 -p1 |
c1cb81af JB |
415 | %patch5 -p1 |
416 | %patch6 -p1 | |
2fbdaa36 JB |
417 | |
418 | %build | |
419 | %{__libtoolize} | |
420 | %{__aclocal} -I m4 -I common/m4 | |
421 | %{__autoconf} | |
422 | %{__autoheader} | |
423 | %{__automake} | |
424 | %configure \ | |
c1cb81af | 425 | %{!?with_cdaudio:--disable-cdaudio} \ |
0c737202 JB |
426 | %{!?with_divx4linux:--disable-divx} \ |
427 | %{!?with_dts:--disable-dts} \ | |
2fbdaa36 JB |
428 | %{!?with_faad:--disable-faad} \ |
429 | %{!?with_gsm:--disable-gsm} \ | |
c1cb81af JB |
430 | %{!?with_jack:--disable-jack} \ |
431 | %{!?with_ladspa:--disable-ladspa} \ | |
2fbdaa36 | 432 | %{!?with_mms:--disable-libmms} \ |
3a8fb9fb | 433 | %{!?with_mjpegtools:--disable-mpeg2enc} \ |
2fbdaa36 | 434 | %{!?with_musepack:--disable-musepack} \ |
0c737202 | 435 | %{!?with_neon:--disable-neon} \ |
2fbdaa36 JB |
436 | %{!?with_sdl:--disable-sdl} \ |
437 | %{!?with_sdl:--disable-sdltest} \ | |
3a8fb9fb | 438 | %{!?with_spc:--disable-spc} \ |
0c737202 | 439 | %{!?with_swfdec:--disable-swfdec} \ |
2fbdaa36 | 440 | %{!?with_wavpack:--disable-wavpack} \ |
0c737202 | 441 | %{!?with_xvid:--disable-xvid} \ |
2fbdaa36 JB |
442 | --disable-static \ |
443 | --enable-gtk-doc \ | |
444 | --with-html-dir=%{_gtkdocdir} | |
445 | ||
446 | %{__make} | |
447 | ||
448 | %install | |
449 | rm -rf $RPM_BUILD_ROOT | |
450 | ||
451 | %{__make} install \ | |
452 | DESTDIR=$RPM_BUILD_ROOT | |
453 | ||
454 | # We don't need plugins' *.la files | |
455 | rm -f $RPM_BUILD_ROOT%{gstlibdir}/*.la | |
456 | ||
58c82848 JB |
457 | %find_lang %{gstname}-%{gst_major_ver} |
458 | ||
2fbdaa36 JB |
459 | %clean |
460 | rm -rf $RPM_BUILD_ROOT | |
461 | ||
58c82848 | 462 | %files -f %{gstname}-%{gst_major_ver}.lang |
2fbdaa36 JB |
463 | %defattr(644,root,root,755) |
464 | %doc AUTHORS ChangeLog NEWS README RELEASE | |
0c737202 JB |
465 | %attr(755,root,root) %{gstlibdir}/libgstbz2.so |
466 | %attr(755,root,root) %{gstlibdir}/libgstcdxaparse.so | |
c1cb81af JB |
467 | %attr(755,root,root) %{gstlibdir}/libgstdeinterlace.so |
468 | %attr(755,root,root) %{gstlibdir}/libgstdvbsrc.so | |
469 | %attr(755,root,root) %{gstlibdir}/libgstfilter.so | |
0c737202 | 470 | %attr(755,root,root) %{gstlibdir}/libgstfreeze.so |
c1cb81af | 471 | %attr(755,root,root) %{gstlibdir}/libgsth264parse.so |
58c82848 | 472 | %attr(755,root,root) %{gstlibdir}/libgstmodplug.so |
c1cb81af JB |
473 | %attr(755,root,root) %{gstlibdir}/libgstmultifile.so |
474 | %attr(755,root,root) %{gstlibdir}/libgstnsf.so | |
475 | %attr(755,root,root) %{gstlibdir}/libgstnuvdemux.so | |
2fbdaa36 | 476 | %attr(755,root,root) %{gstlibdir}/libgstqtdemux.so |
c1cb81af JB |
477 | %attr(755,root,root) %{gstlibdir}/libgstreplaygain.so |
478 | %attr(755,root,root) %{gstlibdir}/libgstrfbsrc.so | |
479 | %attr(755,root,root) %{gstlibdir}/libgstspectrum.so | |
2fbdaa36 | 480 | %attr(755,root,root) %{gstlibdir}/libgsttta.so |
c1cb81af JB |
481 | %attr(755,root,root) %{gstlibdir}/libgstvideocrop.so |
482 | %attr(755,root,root) %{gstlibdir}/libgstvideoparse.so | |
58c82848 | 483 | %attr(755,root,root) %{gstlibdir}/libgstxingheader.so |
c1cb81af | 484 | %attr(755,root,root) %{gstlibdir}/libgsty4menc.so |
2fbdaa36 JB |
485 | %{_gtkdocdir}/gst-plugins-bad-plugins-* |
486 | ||
487 | ## | |
488 | ## Plugins | |
489 | ## | |
490 | ||
491 | %if %{with faad} | |
492 | %files -n gstreamer-aac | |
493 | %defattr(644,root,root,755) | |
494 | %attr(755,root,root) %{gstlibdir}/libgstfaac.so | |
495 | %attr(755,root,root) %{gstlibdir}/libgstfaad.so | |
496 | %endif | |
497 | ||
c1cb81af JB |
498 | %if %{with amr} |
499 | %files -n gstreamer-amrwb | |
500 | %defattr(644,root,root,755) | |
501 | %attr(755,root,root) %{gstlibdir}/libgstamrwb.so | |
502 | %endif | |
503 | ||
2fbdaa36 JB |
504 | %files -n gstreamer-audio-effects-bad |
505 | %defattr(644,root,root,755) | |
506 | %attr(755,root,root) %{gstlibdir}/libgstspeed.so | |
507 | ||
c1cb81af JB |
508 | %files -n gstreamer-audiosink-alsaspdif |
509 | %defattr(644,root,root,755) | |
510 | %attr(755,root,root) %{gstlibdir}/libgstalsaspdif.so | |
511 | ||
512 | %if %{with cdaudio} | |
513 | %files -n gstreamer-cdaudio | |
514 | %defattr(644,root,root,755) | |
515 | %attr(755,root,root) %{gstlibdir}/libgstcdaudio.so | |
516 | %endif | |
517 | ||
0c737202 JB |
518 | %if %{with divx4linux} |
519 | %files -n gstreamer-divx | |
520 | %defattr(644,root,root,755) | |
521 | %attr(755,root,root) %{gstlibdir}/libgstdivxdec.so | |
522 | %attr(755,root,root) %{gstlibdir}/libgstdivxenc.so | |
523 | %endif | |
524 | ||
525 | %if %{with dts} | |
526 | %files -n gstreamer-dts | |
527 | %defattr(644,root,root,755) | |
528 | %attr(755,root,root) %{gstlibdir}/libgstdtsdec.so | |
529 | %endif | |
530 | ||
2fbdaa36 JB |
531 | %if %{with gsm} |
532 | %files -n gstreamer-gsm | |
533 | %defattr(644,root,root,755) | |
534 | %attr(755,root,root) %{gstlibdir}/libgstgsm.so | |
535 | %endif | |
536 | ||
0c737202 JB |
537 | %files -n gstreamer-imagesink-gl |
538 | %defattr(644,root,root,755) | |
539 | %attr(755,root,root) %{gstlibdir}/libgstglimagesink.so | |
540 | ||
c1cb81af JB |
541 | %if %{with jack} |
542 | %files -n gstreamer-jack | |
543 | %defattr(644,root,root,755) | |
544 | %attr(755,root,root) %{gstlibdir}/libgstjack.so | |
545 | %endif | |
546 | ||
547 | %if %{with ladspa} | |
548 | %files -n gstreamer-ladspa | |
549 | %defattr(644,root,root,755) | |
550 | %attr(755,root,root) %{gstlibdir}/libgstladspa.so | |
551 | %endif | |
552 | ||
3a8fb9fb JB |
553 | %if %{with mjpegtools} |
554 | %files -n gstreamer-mjpegtools | |
555 | %defattr(644,root,root,755) | |
556 | %attr(755,root,root) %{gstlibdir}/libgstmpeg2enc.so | |
557 | %endif | |
558 | ||
2fbdaa36 JB |
559 | %if %{with mms} |
560 | %files -n gstreamer-mms | |
561 | %defattr(644,root,root,755) | |
562 | %attr(755,root,root) %{gstlibdir}/libgstmms.so | |
563 | %endif | |
564 | ||
58c82848 JB |
565 | %if %{with musepack} |
566 | %files -n gstreamer-musepack | |
567 | %defattr(644,root,root,755) | |
568 | %attr(755,root,root) %{gstlibdir}/libgstmusepack.so | |
569 | %endif | |
570 | ||
571 | %files -n gstreamer-musicbrainz | |
572 | %defattr(644,root,root,755) | |
573 | %attr(755,root,root) %{gstlibdir}/libgsttrm.so | |
574 | ||
0c737202 JB |
575 | %if %{with neon} |
576 | %files -n gstreamer-neon | |
577 | %defattr(644,root,root,755) | |
578 | %attr(755,root,root) %{gstlibdir}/libgstneonhttpsrc.so | |
579 | %endif | |
580 | ||
58c82848 | 581 | %files -n gstreamer-soundtouch |
2fbdaa36 | 582 | %defattr(644,root,root,755) |
58c82848 | 583 | %attr(755,root,root) %{gstlibdir}/libgstpitch.so |
2fbdaa36 | 584 | |
3a8fb9fb JB |
585 | %if %{with spc} |
586 | %files -n gstreamer-spc | |
587 | %defattr(644,root,root,755) | |
588 | %attr(755,root,root) %{gstlibdir}/libgstspc.so | |
589 | %endif | |
590 | ||
0c737202 JB |
591 | %if %{with swfdec} |
592 | %files -n gstreamer-swfdec | |
593 | %defattr(644,root,root,755) | |
594 | %attr(755,root,root) %{gstlibdir}/libgstswfdec.so | |
595 | %endif | |
596 | ||
2fbdaa36 JB |
597 | %if %{with sdl} |
598 | %files -n gstreamer-videosink-sdl | |
599 | %defattr(644,root,root,755) | |
600 | %attr(755,root,root) %{gstlibdir}/libgstsdlvideosink.so | |
601 | %endif | |
602 | ||
603 | %if %{with directfb} | |
604 | %files -n gstreamer-videosink-directfb | |
605 | %defattr(644,root,root,755) | |
606 | %attr(755,root,root) %{gstlibdir}/libgstdfbvideosink.so | |
607 | %endif | |
608 | ||
609 | %if %{with wavpack} | |
610 | %files -n gstreamer-wavpack | |
611 | %defattr(644,root,root,755) | |
612 | %attr(755,root,root) %{gstlibdir}/libgstwavpack.so | |
613 | %endif | |
0c737202 JB |
614 | |
615 | %if %{with xvid} | |
616 | %files -n gstreamer-xvid | |
617 | %defattr(644,root,root,755) | |
618 | %attr(755,root,root) %{gstlibdir}/libgstxvid.so | |
619 | %endif |