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