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