]>
Commit | Line | Data |
---|---|---|
2a7c92f1 | 1 | # TODO: install_plugins_helper |
8e4892da JB |
2 | # |
3 | # Conditional build: | |
2a7c92f1 | 4 | %bcond_without apidocs # hotdoc based API documentation (requires opengl library enabled) |
8d6158bd | 5 | %bcond_without libvisual # libvisual plugin |
b61825c5 | 6 | %bcond_without opengl # OpenGL support (gstgl library and opengl plugin) |
1287b817 | 7 | %bcond_without tremor # ivorbisdec plugin (Tremor integer Ogg Vorbis decoder) |
e92bb8d6 | 8 | |
8e4892da | 9 | %define gstname gst-plugins-base |
d14da31d | 10 | %define gstmver 1.0 |
5e57e1d1 | 11 | %define gst_ver 1.22.0 |
e92bb8d6 | 12 | |
8e4892da | 13 | Summary: GStreamer Streaming-media framework base plugins |
51fd5c44 | 14 | Summary(pl.UTF-8): Podstawowe wtyczki do środowiska obróbki strumieni GStreamer |
8e4892da | 15 | Name: gstreamer-plugins-base |
5e57e1d1 | 16 | Version: 1.22.1 |
2e55ee9f | 17 | Release: 1 |
aeaab2d2 | 18 | License: LGPL v2+ |
8e4892da | 19 | Group: Libraries |
15d70724 | 20 | Source0: https://gstreamer.freedesktop.org/src/gst-plugins-base/%{gstname}-%{version}.tar.xz |
5e57e1d1 | 21 | # Source0-md5: 0ad54d0aa0221512493b9abb70a1bf59 |
15d70724 | 22 | URL: https://gstreamer.freedesktop.org/ |
ab95cdd4 | 23 | %{?with_apidocs:BuildRequires: docbook-dtd412-xml} |
6782cf65 | 24 | BuildRequires: gettext-tools >= 0.17 |
5e57e1d1 | 25 | BuildRequires: glib2-devel >= 1:2.62.0 |
ac2cf487 JB |
26 | %if %(locale -a | grep -q '^C.UTF-8$'; echo $?) |
27 | BuildRequires: glibc-localedb-all | |
28 | %endif | |
a331b9a3 | 29 | BuildRequires: glibc-misc |
6a3401f2 | 30 | BuildRequires: gobject-introspection-devel >= 1.31.1 |
d14da31d | 31 | BuildRequires: gstreamer-devel >= %{gst_ver} |
cf99eead | 32 | BuildRequires: gtk+3-devel >= 3.10 |
2a7c92f1 | 33 | %{?with_apidocs:BuildRequires: hotdoc >= 0.11.0} |
67891444 | 34 | BuildRequires: iso-codes |
b00de5af | 35 | BuildRequires: libxml2-devel >= 2.0 |
5e57e1d1 | 36 | BuildRequires: meson >= 0.62 |
2a7c92f1 | 37 | BuildRequires: ninja >= 1.5 |
1f6de547 | 38 | BuildRequires: orc-devel >= 0.4.24 |
cf99eead | 39 | BuildRequires: pkgconfig >= 1:0.9.0 |
b00de5af | 40 | BuildRequires: python >= 2.1 |
2a7c92f1 JB |
41 | BuildRequires: rpm-build >= 4.6 |
42 | BuildRequires: rpmbuild(macros) >= 1.736 | |
8937db81 | 43 | BuildRequires: tar >= 1:1.22 |
2a7c92f1 | 44 | BuildRequires: xorg-lib-libX11-devel |
8937db81 | 45 | BuildRequires: xz |
b65e54b2 | 46 | BuildRequires: zlib-devel |
8e4892da JB |
47 | ## |
48 | ## plugins | |
49 | ## | |
f9dfa9e5 | 50 | BuildRequires: alsa-lib-devel >= 1.0.11 |
b00de5af | 51 | BuildRequires: cdparanoia-III-devel >= 2:10.2 |
8e4892da | 52 | BuildRequires: libogg-devel >= 2:1.0 |
67891444 | 53 | BuildRequires: libtheora-devel >= 1.1 |
563679df | 54 | %{?with_libvisual:BuildRequires: libvisual-devel >= 0.4.0} |
2a7c92f1 | 55 | BuildRequires: libvorbis-devel >= 1:1.3.1 |
58d929ff | 56 | BuildRequires: opus-devel >= 0.9.4 |
6a3401f2 | 57 | BuildRequires: pango-devel >= 1:1.22.0 |
1287b817 | 58 | %{?with_tremor:BuildRequires: tremor-devel} |
d14da31d | 59 | BuildRequires: udev-glib-devel >= 1:143 |
4fffd2f3 | 60 | BuildRequires: xorg-lib-libX11-devel |
82c29f94 | 61 | BuildRequires: xorg-lib-libXext-devel |
62 | BuildRequires: xorg-lib-libXv-devel | |
b61825c5 JB |
63 | %if %{with opengl} |
64 | BuildRequires: EGL-devel | |
65 | BuildRequires: Mesa-libgbm-devel | |
66 | BuildRequires: OpenGL-GLX-devel | |
4fffd2f3 | 67 | BuildRequires: OpenGLESv2-devel |
b61825c5 JB |
68 | # examples only: clutter clutter-glx clutter-x11 |
69 | #BuildRequires: SDL-devel >= 1.2.0 clutter-devel >= 1.8 xorg-lib-libXcomposite-devel | |
70 | BuildRequires: graphene-devel >= 1.4.0 | |
71 | BuildRequires: libdrm-devel >= 2.4.55 | |
72 | BuildRequires: libpng-devel >= 1.0 | |
73 | BuildRequires: libjpeg-devel | |
2a7c92f1 JB |
74 | BuildRequires: udev-glib-devel >= 1:147 |
75 | # wayland-client >= 1.11, wayland-cursor >= 1.0 | |
76 | BuildRequires: wayland-devel >= 1.11 | |
77 | BuildRequires: wayland-egl-devel >= 1.0 | |
78 | BuildRequires: wayland-protocols >= 1.15 | |
b61825c5 | 79 | %endif |
d9016439 PZ |
80 | # old GIR format |
81 | BuildConflicts: gstreamer-plugins-base-devel < 0.10.30 | |
5e57e1d1 | 82 | Requires: glib2 >= 1:2.62.0 |
d14da31d | 83 | Requires: gstreamer >= %{gst_ver} |
1f6de547 | 84 | Requires: orc >= 0.4.24 |
b948a26a | 85 | Suggests: iso-codes |
0fe86343 | 86 | # here go all the obsoleted gstreamer plugins |
95bf548f | 87 | Obsoletes: gstreamer-SDL < 0.10 |
8d6158bd JB |
88 | Obsoletes: gstreamer-artsd < 0.10 |
89 | Obsoletes: gstreamer-audio-effects < 0.10 | |
90 | Obsoletes: gstreamer-audiofile < 0.10 | |
91 | Obsoletes: gstreamer-audiosink-esd < 1.0 | |
92 | Obsoletes: gstreamer-avi < 0.10 | |
93 | Obsoletes: gstreamer-cdplayer < 0.10 | |
94 | Obsoletes: gstreamer-colorspace < 0.10 | |
95 | Obsoletes: gstreamer-daala < 1.16 | |
95bf548f | 96 | Obsoletes: gstreamer-divx < 1.0 |
8d6158bd JB |
97 | Obsoletes: gstreamer-festival < 0.10 |
98 | Obsoletes: gstreamer-hal < 1.0 | |
99 | Obsoletes: gstreamer-interfaces < 0.10 | |
100 | Obsoletes: gstreamer-interleave < 0.10 | |
101 | Obsoletes: gstreamer-kio < 0.10 | |
102 | Obsoletes: gstreamer-libdvdnav < 0.10 | |
103 | Obsoletes: gstreamer-libfame < 0.10 | |
104 | Obsoletes: gstreamer-media-info < 0.10 | |
105 | Obsoletes: gstreamer-mikmod < 0.10 | |
106 | Obsoletes: gstreamer-mimic < 1.12 | |
107 | Obsoletes: gstreamer-misc < 0.8-1 | |
108 | Obsoletes: gstreamer-musicbrainz < 1.0 | |
109 | Obsoletes: gstreamer-mythtv < 1.0 | |
110 | Obsoletes: gstreamer-oneton < 0.10 | |
111 | Obsoletes: gstreamer-play < 0.10 | |
112 | Obsoletes: gstreamer-plugins < 0.10 | |
113 | Obsoletes: gstreamer-qcam < 0.10 | |
95bf548f | 114 | Obsoletes: gstreamer-sdl < 1.0 |
8d6158bd JB |
115 | Obsoletes: gstreamer-snapshot < 0.10 |
116 | Obsoletes: gstreamer-swfdec < 1.2 | |
117 | Obsoletes: gstreamer-tcp < 0.10 | |
95bf548f | 118 | Obsoletes: gstreamer-timidity < 1.0 |
8d6158bd JB |
119 | Obsoletes: gstreamer-tuner < 0.10 |
120 | Obsoletes: gstreamer-v4l < 0.10 | |
121 | Obsoletes: gstreamer-vbidec < 0.10 | |
2a7c92f1 | 122 | Obsoletes: gstreamer-video4linux < 1.0 |
8d6158bd JB |
123 | Obsoletes: gstreamer-videosink-xv < 0.10 |
124 | Obsoletes: gstreamer-videotest < 0.10 | |
125 | Obsoletes: gstreamer-xine < 0.10 | |
126 | Obsoletes: gstreamer-xoverlay < 0.10 | |
95bf548f | 127 | Obsoletes: gstreamer-xvid < 1.0 |
8d6158bd JB |
128 | Obsoletes: gstreamer-yuv4mjpeg < 0.10 |
129 | Obsoletes: gtk-loaders-gstreamer < 0.10 | |
7093df41 JB |
130 | # compositor plugin used to be in -plugins-bad 1.14.x |
131 | Conflicts: gstreamer-plugins-bad < 1.16 | |
8e4892da JB |
132 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
133 | ||
d14da31d JB |
134 | %define gstlibdir %{_libdir}/gstreamer-%{gstmver} |
135 | %define gstincludedir %{_includedir}/gstreamer-%{gstmver} | |
8e4892da JB |
136 | |
137 | %description | |
138 | GStreamer is a streaming-media framework, based on graphs of filters | |
139 | which operate on media data. Applications using this library can do | |
140 | anything from real-time sound processing to playing videos, and just | |
141 | about anything else media-related. Its plugin-based architecture means | |
142 | that new data types or processing capabilities can be added simply by | |
143 | installing new plugins. | |
144 | ||
265bb6e4 JR |
145 | %description -l pl.UTF-8 |
146 | GStreamer to środowisko obróbki danych strumieniowych, bazujące na | |
147 | grafie filtrów operujących na danych medialnych. Aplikacje używające | |
148 | tej biblioteki mogą robić wszystko od przetwarzania dźwięku w czasie | |
149 | rzeczywistym, do odtwarzania filmów i czegokolwiek innego związego z | |
150 | mediami. Architektura bazująca na wtyczkach pozwala na łatwe dodawanie | |
151 | nowych typów danych lub możliwości obróbki. | |
8e4892da JB |
152 | |
153 | %package devel | |
154 | Summary: Include files for GStreamer streaming-media framework plugins | |
51fd5c44 | 155 | Summary(pl.UTF-8): Pliki nagłówkowe do wtyczek środowiska obróbki strumieni GStreamer |
8e4892da JB |
156 | Group: Development/Libraries |
157 | Requires: %{name} = %{version}-%{release} | |
5e57e1d1 | 158 | Requires: glib2-devel >= 1:2.62.0 |
d14da31d | 159 | Requires: gstreamer-devel >= %{gst_ver} |
4fffd2f3 | 160 | Requires: orc-devel >= 0.4.24 |
8d6158bd JB |
161 | Obsoletes: gstreamer-interfaces-devel < 0.10 |
162 | Obsoletes: gstreamer-media-info-devel < 0.10 | |
163 | Obsoletes: gstreamer-mixer-devel < 0.10 | |
164 | Obsoletes: gstreamer-navigation-devel < 0.10 | |
165 | Obsoletes: gstreamer-play-devel < 0.10 | |
166 | Obsoletes: gstreamer-plugins-devel < 0.10 | |
167 | Obsoletes: gstreamer-tuner-devel < 0.10 | |
168 | Obsoletes: gstreamer-xoverlay-devel < 0.10 | |
7093df41 JB |
169 | # gst/video/gstvideoaggregator.h existed in -plugins-bad 1.14.x |
170 | Conflicts: gstreamer-plugins-bad-devel < 1.16 | |
8e4892da JB |
171 | |
172 | %description devel | |
173 | Include files for GStreamer streaming-media framework plugins. | |
174 | ||
265bb6e4 JR |
175 | %description devel -l pl.UTF-8 |
176 | Pliki nagłówkowe do wtyczek środowiska obróbki strumieni GStreamer. | |
8e4892da | 177 | |
ca029c64 MB |
178 | %package apidocs |
179 | Summary: GStreamer streaming-media framework plugins API documentation | |
180 | Summary(pl.UTF-8): Dokumentacja API wtyczek środowiska obróbki strumieni GStreamer | |
181 | Group: Documentation | |
2a7c92f1 | 182 | Requires: gstreamer-apidocs >= 1.18 |
8d6158bd | 183 | Obsoletes: gstreamer-plugins-gl-apidocs < 1.0 |
770dd52a | 184 | BuildArch: noarch |
ca029c64 MB |
185 | |
186 | %description apidocs | |
187 | GStreamer streaming-media framework plugins API documentation. | |
188 | ||
189 | %description apidocs -l pl.UTF-8 | |
190 | Dokumentacja API wtyczek środowiska obróbki strumieni GStreamer. | |
191 | ||
d6e4213b JB |
192 | %package -n gstreamer-gl-libs |
193 | Summary: GStreamer OpenGL plugins library | |
194 | Summary(pl.UTF-8): Biblioteka wtyczek OpenGL dla GStreamera | |
195 | Group: Libraries | |
196 | Requires: %{name} = %{version}-%{release} | |
197 | Requires: graphene >= 1.4.0 | |
198 | Requires: libdrm >= 2.4.55 | |
199 | Requires: libpng >= 1.0 | |
4fffd2f3 JB |
200 | Requires: udev-glib >= 1:147 |
201 | Requires: wayland >= 1.11 | |
ebf43c89 | 202 | Conflicts: gstreamer-plugins-bad < 1.14 |
8d6158bd | 203 | Obsoletes: gstreamer-imagesink-gl < 1.0 |
d6e4213b | 204 | Obsoletes: gstreamer-opengl < 1.14 |
8d6158bd | 205 | Obsoletes: gstreamer-plugins-gl < 1.0 |
d6e4213b JB |
206 | |
207 | %description -n gstreamer-gl-libs | |
208 | OpenGL plugins library for GStreamer streaming media framework, | |
209 | together with actual OpenGL plugin. | |
210 | ||
211 | %description -n gstreamer-gl-libs -l pl.UTF-8 | |
212 | Biblioteka wtyczek OpenGL dla szkieletu strumieni multimedialnych | |
213 | GStreamer wraz z właściwą wtyczką OpenGL. | |
214 | ||
215 | %package -n gstreamer-gl-devel | |
216 | Summary: Header files for GStreamer OpenGL library | |
217 | Summary(pl.UTF-8): Pliki nagłówkowe biblioteki GStreamera OpenGL | |
218 | Group: Development/Libraries | |
d6e4213b | 219 | Requires: %{name}-devel = %{version}-%{release} |
4fffd2f3 JB |
220 | Requires: EGL-devel |
221 | Requires: Mesa-libgbm-devel | |
222 | Requires: OpenGL-GLX-devel | |
223 | Requires: OpenGLESv2-devel | |
224 | Requires: gstreamer-gl-libs = %{version}-%{release} | |
225 | Requires: udev-glib-devel >= 1:147 | |
226 | Requires: wayland-devel >= 1.11 | |
227 | Requires: wayland-egl-devel >= 1.0 | |
228 | Requires: xorg-lib-libX11-devel | |
b4aac010 | 229 | Conflicts: gstreamer-plugins-bad-devel < 1.14 |
8d6158bd | 230 | Obsoletes: gstreamer-plugins-gl-devel < 1.0 |
d6e4213b JB |
231 | |
232 | %description -n gstreamer-gl-devel | |
233 | Header files for GStreamer OpenGL library. | |
234 | ||
235 | %description -n gstreamer-gl-devel -l pl.UTF-8 | |
236 | Pliki nagłówkowe biblioteki GStreamera OpenGL. | |
237 | ||
8e4892da JB |
238 | ## |
239 | ## Plugins | |
240 | ## | |
241 | ||
242 | %package -n gstreamer-audiosink-alsa | |
243 | Summary: GStreamer plugins for the ALSA sound architecture | |
51fd5c44 | 244 | Summary(pl.UTF-8): Wtyczki GStreamera do obsługi architektury ALSA |
8e4892da JB |
245 | Group: Libraries |
246 | Requires: %{name} = %{version}-%{release} | |
247 | Provides: gstreamer-audiosink = %{version} | |
8d6158bd JB |
248 | Obsoletes: gstreamer-alsa < 0.10 |
249 | Obsoletes: gstreamer-audiosink-alsaspdif < 0.10.21 | |
8e4892da JB |
250 | |
251 | %description -n gstreamer-audiosink-alsa | |
252 | Input and output plugin for the ALSA soundcard driver architecture. | |
253 | ||
265bb6e4 JR |
254 | %description -n gstreamer-audiosink-alsa -l pl.UTF-8 |
255 | Wtyczka wejścia i wyjścia ze sterowników dźwiękowych architektury ALSA | |
8e4892da JB |
256 | do GStreamera. |
257 | ||
5ae7c062 JB |
258 | %package -n gstreamer-audio-effects-base |
259 | Summary: GStreamer base audio effects plugins | |
51fd5c44 | 260 | Summary(pl.UTF-8): Podstawowe wtyczki efektów dźwiękowych do GStreamera |
8e4892da JB |
261 | Group: Libraries |
262 | Requires: %{name} = %{version}-%{release} | |
8d6158bd | 263 | Obsoletes: gstreamer-audio-effects < 0.10 |
8e4892da | 264 | |
5ae7c062 JB |
265 | %description -n gstreamer-audio-effects-base |
266 | GStreamer base audio effects plugins. | |
8e4892da | 267 | |
265bb6e4 JR |
268 | %description -n gstreamer-audio-effects-base -l pl.UTF-8 |
269 | Podstawowe wtyczki efektów dźwiękowych do GStreamera. | |
8e4892da JB |
270 | |
271 | %package -n gstreamer-cdparanoia | |
272 | Summary: GStreamer plugin for CD audio input using CDParanoia IV | |
51fd5c44 | 273 | Summary(pl.UTF-8): Wtyczka do GStreamera odtwarzająca płyty CD-Audio przy użyciu CDParanoia IV |
8e4892da | 274 | Group: Libraries |
5ae7c062 | 275 | Requires: %{name} = %{version}-%{release} |
1287b817 | 276 | Requires: cdparanoia-III-libs >= 2:10.2 |
8e4892da JB |
277 | |
278 | %description -n gstreamer-cdparanoia | |
279 | Plugin for ripping audio tracks using cdparanoia under GStreamer. | |
280 | ||
265bb6e4 JR |
281 | %description -n gstreamer-cdparanoia -l pl.UTF-8 |
282 | Wtyczka do ripowania ścieżek dźwiękowych pod GStreamerem za pomocą | |
8e4892da JB |
283 | cdparanoia. |
284 | ||
1287b817 JB |
285 | %package -n gstreamer-ivorbisdec |
286 | Summary: GStreamer plugin for decoding Ogg Vorbis audio files using Tremor | |
287 | Summary(pl.UTF-8): Wtyczka GStreamera dekodująca pliki dźwiękowe Ogg Vorbis (przy użyciu Tremora) | |
288 | Group: Libraries | |
289 | Requires: %{name} = %{version}-%{release} | |
290 | ||
291 | %description -n gstreamer-ivorbisdec | |
292 | Plugin for playing Ogg Vorbis audio files using Tremor. | |
293 | ||
294 | %description -n gstreamer-ivorbisdec -l pl.UTF-8 | |
295 | Wtyczka do odtwarzania plików dźwiękowych Ogg Vorbis przy użyciu | |
296 | Tremora. | |
297 | ||
8e4892da JB |
298 | %package -n gstreamer-libvisual |
299 | Summary: GStreamer libvisual plugin | |
51fd5c44 | 300 | Summary(pl.UTF-8): Wtyczka libvisual do GStreamera |
8e4892da | 301 | Group: Libraries |
cf99eead JB |
302 | Requires: %{name} = %{version}-%{release} |
303 | Requires: libvisual >= 0.4.0 | |
8e4892da JB |
304 | |
305 | %description -n gstreamer-libvisual | |
306 | GStreamer libvisual plugin. | |
307 | ||
265bb6e4 | 308 | %description -n gstreamer-libvisual -l pl.UTF-8 |
8e4892da JB |
309 | Wtyczka libvisual do GStreamera. |
310 | ||
58d929ff ŁK |
311 | %package -n gstreamer-opus |
312 | Summary: GStreamer OPUS plugins | |
313 | Summary(pl.UTF-8): Wtyczki OPUS do GStreamera | |
314 | Group: Libraries | |
315 | Requires: %{name} = %{version}-%{release} | |
316 | Requires: opus >= 0.9.4 | |
317 | ||
318 | %description -n gstreamer-opus | |
319 | This package contains GStreamer plugins encoding/decoding OPUS codec | |
320 | streams. | |
321 | ||
322 | %description -n gstreamer-opus -l pl.UTF-8 | |
323 | Ten pakiet zawiera wtyczki do GStreamera obsługujące strumienie kodeka | |
324 | OPUS. | |
325 | ||
8e4892da JB |
326 | %package -n gstreamer-pango |
327 | Summary: GStreamer pango plugins | |
51fd5c44 | 328 | Summary(pl.UTF-8): Wtyczki pango do GStreamera |
8e4892da | 329 | Group: Libraries |
cf99eead | 330 | Requires: %{name} = %{version}-%{release} |
3c79c21d | 331 | Requires: pango >= 1:1.22.0 |
8e4892da JB |
332 | |
333 | %description -n gstreamer-pango | |
334 | This package contains textoverlay and timeoverlay GStreamer plugins. | |
335 | ||
265bb6e4 | 336 | %description -n gstreamer-pango -l pl.UTF-8 |
8e4892da JB |
337 | Ten pakiet zawiera wtyczki textoverlay i timeoverlay do GStreamera. |
338 | ||
339 | %package -n gstreamer-theora | |
340 | Summary: GStreamer Ogg Theora plugin | |
51fd5c44 | 341 | Summary(pl.UTF-8): Wtyczka Ogg Theora do GStreamera |
8e4892da | 342 | Group: Libraries |
cf99eead | 343 | Requires: %{name} = %{version}-%{release} |
67891444 | 344 | Requires: libtheora >= 1.1 |
8e4892da JB |
345 | |
346 | %description -n gstreamer-theora | |
347 | GStreamer Ogg Theora plugin. | |
348 | ||
265bb6e4 | 349 | %description -n gstreamer-theora -l pl.UTF-8 |
8e4892da JB |
350 | Wtyczka Ogg Theora do GStreamera. |
351 | ||
57fca938 JB |
352 | %package -n gstreamer-video4linux |
353 | Summary: GStreamer plugin for Video 4 Linux source | |
354 | Summary(pl.UTF-8): Wtyczka GStreamera dla źródła Video 4 Linux | |
355 | Group: Libraries | |
356 | Requires: %{name} = %{version}-%{release} | |
d14da31d | 357 | Requires: udev-glib >= 1:143 |
57fca938 JB |
358 | |
359 | %description -n gstreamer-video4linux | |
360 | GStreamer plugin for Video 4 Linux source. | |
361 | ||
362 | %description -n gstreamer-video4linux -l pl.UTF-8 | |
363 | Wtyczka GStreamera dla źródła Video 4 Linux. | |
364 | ||
8e4892da JB |
365 | %package -n gstreamer-vorbis |
366 | Summary: GStreamer plugin for encoding and decoding Ogg Vorbis audio files | |
51fd5c44 | 367 | Summary(pl.UTF-8): Wtyczki do GStreamera kodujące i dekodujące pliki dźwiękowe Ogg Vorbis |
8e4892da | 368 | Group: Libraries |
5ae7c062 | 369 | Requires: %{name} = %{version}-%{release} |
2a7c92f1 | 370 | Requires: libvorbis >= 1:1.3.1 |
8e4892da JB |
371 | |
372 | %description -n gstreamer-vorbis | |
373 | Plugins for creating and playing Ogg Vorbis audio files. | |
374 | ||
265bb6e4 JR |
375 | %description -n gstreamer-vorbis -l pl.UTF-8 |
376 | Wtyczki do tworzenia i odtwarzania plików dźwiękowych Ogg Vorbis. | |
8e4892da JB |
377 | |
378 | %package -n gstreamer-imagesink-x | |
379 | Summary: GStreamer XFree86/X.org output plugin | |
51fd5c44 | 380 | Summary(pl.UTF-8): Wtyczka wyjścia obrazu XFree86/X.org dla GStreamera |
8e4892da JB |
381 | Group: Libraries |
382 | Requires: %{name} = %{version}-%{release} | |
383 | Provides: gstreamer-videosink = %{version} | |
384 | ||
385 | %description -n gstreamer-imagesink-x | |
386 | Standard XFree86/X.org image sink. | |
387 | ||
265bb6e4 JR |
388 | %description -n gstreamer-imagesink-x -l pl.UTF-8 |
389 | Standardowa wtyczka wyjścia obrazu XFree86/X.org dla GStreamera. | |
8e4892da JB |
390 | |
391 | %package -n gstreamer-imagesink-xv | |
392 | Summary: GStreamer Xvideo output plugin | |
51fd5c44 | 393 | Summary(pl.UTF-8): Wtyczka wyjścia obrazu Xvideo dla GStreamera |
8e4892da JB |
394 | Group: Libraries |
395 | Requires: %{name} = %{version}-%{release} | |
396 | Provides: gstreamer-videosink = %{version} | |
397 | ||
398 | %description -n gstreamer-imagesink-xv | |
399 | XFree86/X.org image sink via Xvideo extension. | |
400 | ||
265bb6e4 JR |
401 | %description -n gstreamer-imagesink-xv -l pl.UTF-8 |
402 | Wtyczka wyjścia obrazu Xvideo dla GStreamera. | |
8e4892da JB |
403 | |
404 | %prep | |
405 | %setup -q -n %{gstname}-%{version} | |
b2950cd3 | 406 | |
8e4892da | 407 | %build |
2a7c92f1 JB |
408 | %meson build \ |
409 | --default-library=shared \ | |
410 | %{!?with_apidocs:-Ddoc=disabled} \ | |
411 | -Dexamples=disabled \ | |
412 | %{!?with_opengl:-Dgl=disabled} \ | |
413 | %{!?with_libvisual:-Dlibvisual=disabled} \ | |
414 | %{!?with_tremor:-Dtremor=disabled} | |
415 | ||
416 | %ninja_build -C build | |
417 | ||
418 | %if %{with apidocs} | |
419 | cd build/docs | |
420 | for config in *-doc.json ; do | |
421 | LC_ALL=C.UTF-8 hotdoc run --conf-file "$config" | |
422 | done | |
423 | %endif | |
8e4892da JB |
424 | |
425 | %install | |
426 | rm -rf $RPM_BUILD_ROOT | |
427 | ||
2a7c92f1 | 428 | %ninja_install -C build |
8e4892da | 429 | |
2a7c92f1 JB |
430 | %if %{with apidocs} |
431 | install -d $RPM_BUILD_ROOT%{_docdir}/gstreamer-%{gstmver} | |
432 | cp -pr build/docs/*-doc $RPM_BUILD_ROOT%{_docdir}/gstreamer-%{gstmver} | |
433 | %endif | |
8e4892da | 434 | |
d14da31d | 435 | %find_lang %{gstname}-%{gstmver} |
8e4892da JB |
436 | |
437 | %clean | |
438 | rm -rf $RPM_BUILD_ROOT | |
439 | ||
440 | %post -p /sbin/ldconfig | |
441 | %postun -p /sbin/ldconfig | |
442 | ||
c55fe382 JP |
443 | %post -n gstreamer-gl-libs -p /sbin/ldconfig |
444 | %postun -n gstreamer-gl-libs -p /sbin/ldconfig | |
445 | ||
d14da31d | 446 | %files -f %{gstname}-%{gstmver}.lang |
8e4892da | 447 | %defattr(644,root,root,755) |
2e55ee9f | 448 | %doc AUTHORS ChangeLog NEWS README.md RELEASE |
d14da31d JB |
449 | %attr(755,root,root) %{_bindir}/gst-device-monitor-%{gstmver} |
450 | %attr(755,root,root) %{_bindir}/gst-discoverer-%{gstmver} | |
451 | %attr(755,root,root) %{_bindir}/gst-play-%{gstmver} | |
452 | %attr(755,root,root) %{_libdir}/libgstallocators-%{gstmver}.so.*.*.* | |
453 | %attr(755,root,root) %ghost %{_libdir}/libgstallocators-%{gstmver}.so.0 | |
454 | %attr(755,root,root) %{_libdir}/libgstapp-%{gstmver}.so.*.*.* | |
455 | %attr(755,root,root) %ghost %{_libdir}/libgstapp-%{gstmver}.so.0 | |
456 | %attr(755,root,root) %{_libdir}/libgstaudio-%{gstmver}.so.*.*.* | |
457 | %attr(755,root,root) %ghost %{_libdir}/libgstaudio-%{gstmver}.so.0 | |
458 | %attr(755,root,root) %{_libdir}/libgstfft-%{gstmver}.so.*.*.* | |
459 | %attr(755,root,root) %ghost %{_libdir}/libgstfft-%{gstmver}.so.0 | |
460 | %attr(755,root,root) %{_libdir}/libgstpbutils-%{gstmver}.so.*.*.* | |
461 | %attr(755,root,root) %ghost %{_libdir}/libgstpbutils-%{gstmver}.so.0 | |
462 | %attr(755,root,root) %{_libdir}/libgstriff-%{gstmver}.so.*.*.* | |
463 | %attr(755,root,root) %ghost %{_libdir}/libgstriff-%{gstmver}.so.0 | |
464 | %attr(755,root,root) %{_libdir}/libgstrtp-%{gstmver}.so.*.*.* | |
465 | %attr(755,root,root) %ghost %{_libdir}/libgstrtp-%{gstmver}.so.0 | |
466 | %attr(755,root,root) %{_libdir}/libgstrtsp-%{gstmver}.so.*.*.* | |
467 | %attr(755,root,root) %ghost %{_libdir}/libgstrtsp-%{gstmver}.so.0 | |
468 | %attr(755,root,root) %{_libdir}/libgstsdp-%{gstmver}.so.*.*.* | |
469 | %attr(755,root,root) %ghost %{_libdir}/libgstsdp-%{gstmver}.so.0 | |
470 | %attr(755,root,root) %{_libdir}/libgsttag-%{gstmver}.so.*.*.* | |
471 | %attr(755,root,root) %ghost %{_libdir}/libgsttag-%{gstmver}.so.0 | |
472 | %attr(755,root,root) %{_libdir}/libgstvideo-%{gstmver}.so.*.*.* | |
473 | %attr(755,root,root) %ghost %{_libdir}/libgstvideo-%{gstmver}.so.0 | |
474 | %{_mandir}/man1/gst-device-monitor-%{gstmver}.1* | |
475 | %{_mandir}/man1/gst-discoverer-%{gstmver}.1* | |
476 | %{_mandir}/man1/gst-play-%{gstmver}.1* | |
ff7b5407 | 477 | # plugins with no external dependencies |
0e2defa5 | 478 | %attr(755,root,root) %{gstlibdir}/libgstapp.so |
8e4892da | 479 | %attr(755,root,root) %{gstlibdir}/libgstaudioconvert.so |
9e6e4f5d | 480 | %attr(755,root,root) %{gstlibdir}/libgstaudiomixer.so |
8e4892da JB |
481 | %attr(755,root,root) %{gstlibdir}/libgstaudiorate.so |
482 | %attr(755,root,root) %{gstlibdir}/libgstaudiotestsrc.so | |
85cb6fc7 | 483 | %attr(755,root,root) %{gstlibdir}/libgstcompositor.so |
1f6de547 | 484 | %attr(755,root,root) %{gstlibdir}/libgstencoding.so |
75bbf2ea | 485 | %attr(755,root,root) %{gstlibdir}/libgstgio.so |
85cb6fc7 | 486 | %attr(755,root,root) %{gstlibdir}/libgstoverlaycomposition.so |
1f6de547 | 487 | %attr(755,root,root) %{gstlibdir}/libgstpbtypes.so |
6a3401f2 | 488 | %attr(755,root,root) %{gstlibdir}/libgstplayback.so |
1f6de547 | 489 | %attr(755,root,root) %{gstlibdir}/libgstrawparse.so |
8e4892da JB |
490 | %attr(755,root,root) %{gstlibdir}/libgstsubparse.so |
491 | %attr(755,root,root) %{gstlibdir}/libgsttcp.so | |
492 | %attr(755,root,root) %{gstlibdir}/libgsttypefindfunctions.so | |
5e57e1d1 | 493 | %attr(755,root,root) %{gstlibdir}/libgstvideoconvertscale.so |
8e4892da | 494 | %attr(755,root,root) %{gstlibdir}/libgstvideorate.so |
8e4892da | 495 | %attr(755,root,root) %{gstlibdir}/libgstvideotestsrc.so |
d14da31d JB |
496 | %{_libdir}/girepository-1.0/GstAllocators-%{gstmver}.typelib |
497 | %{_libdir}/girepository-1.0/GstApp-%{gstmver}.typelib | |
498 | %{_libdir}/girepository-1.0/GstAudio-%{gstmver}.typelib | |
499 | %{_libdir}/girepository-1.0/GstPbutils-%{gstmver}.typelib | |
500 | %{_libdir}/girepository-1.0/GstRtp-%{gstmver}.typelib | |
501 | %{_libdir}/girepository-1.0/GstRtsp-%{gstmver}.typelib | |
502 | %{_libdir}/girepository-1.0/GstSdp-%{gstmver}.typelib | |
503 | %{_libdir}/girepository-1.0/GstTag-%{gstmver}.typelib | |
504 | %{_libdir}/girepository-1.0/GstVideo-%{gstmver}.typelib | |
8937db81 | 505 | %{_datadir}/gst-plugins-base |
8e4892da JB |
506 | |
507 | %files devel | |
508 | %defattr(644,root,root,755) | |
d14da31d JB |
509 | %attr(755,root,root) %{_libdir}/libgstallocators-%{gstmver}.so |
510 | %attr(755,root,root) %{_libdir}/libgstapp-%{gstmver}.so | |
511 | %attr(755,root,root) %{_libdir}/libgstaudio-%{gstmver}.so | |
512 | %attr(755,root,root) %{_libdir}/libgstfft-%{gstmver}.so | |
513 | %attr(755,root,root) %{_libdir}/libgstpbutils-%{gstmver}.so | |
514 | %attr(755,root,root) %{_libdir}/libgstriff-%{gstmver}.so | |
515 | %attr(755,root,root) %{_libdir}/libgstrtp-%{gstmver}.so | |
516 | %attr(755,root,root) %{_libdir}/libgstrtsp-%{gstmver}.so | |
517 | %attr(755,root,root) %{_libdir}/libgstsdp-%{gstmver}.so | |
518 | %attr(755,root,root) %{_libdir}/libgsttag-%{gstmver}.so | |
519 | %attr(755,root,root) %{_libdir}/libgstvideo-%{gstmver}.so | |
20526432 | 520 | %{gstincludedir}/gst/allocators |
0e2defa5 | 521 | %{gstincludedir}/gst/app |
8e4892da | 522 | %{gstincludedir}/gst/audio |
aeaab2d2 | 523 | %{gstincludedir}/gst/fft |
9ab6cf72 | 524 | %{gstincludedir}/gst/pbutils |
8e4892da JB |
525 | %{gstincludedir}/gst/riff |
526 | %{gstincludedir}/gst/rtp | |
b2950cd3 JB |
527 | %{gstincludedir}/gst/rtsp |
528 | %{gstincludedir}/gst/sdp | |
8e4892da JB |
529 | %{gstincludedir}/gst/tag |
530 | %{gstincludedir}/gst/video | |
d14da31d JB |
531 | %{_pkgconfigdir}/gstreamer-allocators-%{gstmver}.pc |
532 | %{_pkgconfigdir}/gstreamer-app-%{gstmver}.pc | |
533 | %{_pkgconfigdir}/gstreamer-audio-%{gstmver}.pc | |
534 | %{_pkgconfigdir}/gstreamer-fft-%{gstmver}.pc | |
535 | %{_pkgconfigdir}/gstreamer-pbutils-%{gstmver}.pc | |
536 | %{_pkgconfigdir}/gstreamer-plugins-base-%{gstmver}.pc | |
537 | %{_pkgconfigdir}/gstreamer-riff-%{gstmver}.pc | |
538 | %{_pkgconfigdir}/gstreamer-rtp-%{gstmver}.pc | |
539 | %{_pkgconfigdir}/gstreamer-rtsp-%{gstmver}.pc | |
540 | %{_pkgconfigdir}/gstreamer-sdp-%{gstmver}.pc | |
541 | %{_pkgconfigdir}/gstreamer-tag-%{gstmver}.pc | |
542 | %{_pkgconfigdir}/gstreamer-video-%{gstmver}.pc | |
543 | %{_datadir}/gir-1.0/GstAllocators-%{gstmver}.gir | |
544 | %{_datadir}/gir-1.0/GstApp-%{gstmver}.gir | |
545 | %{_datadir}/gir-1.0/GstAudio-%{gstmver}.gir | |
546 | %{_datadir}/gir-1.0/GstPbutils-%{gstmver}.gir | |
547 | %{_datadir}/gir-1.0/GstRtp-%{gstmver}.gir | |
548 | %{_datadir}/gir-1.0/GstRtsp-%{gstmver}.gir | |
549 | %{_datadir}/gir-1.0/GstSdp-%{gstmver}.gir | |
550 | %{_datadir}/gir-1.0/GstTag-%{gstmver}.gir | |
551 | %{_datadir}/gir-1.0/GstVideo-%{gstmver}.gir | |
ca029c64 MB |
552 | |
553 | %if %{with apidocs} | |
554 | %files apidocs | |
555 | %defattr(644,root,root,755) | |
2a7c92f1 JB |
556 | %{_docdir}/gstreamer-%{gstmver}/adder-doc |
557 | %{_docdir}/gstreamer-%{gstmver}/allocators-doc | |
558 | %{_docdir}/gstreamer-%{gstmver}/alsa-doc | |
559 | %{_docdir}/gstreamer-%{gstmver}/app-doc | |
560 | %{_docdir}/gstreamer-%{gstmver}/applib-doc | |
561 | %{_docdir}/gstreamer-%{gstmver}/audio-doc | |
562 | %{_docdir}/gstreamer-%{gstmver}/audioconvert-doc | |
563 | %{_docdir}/gstreamer-%{gstmver}/audiomixer-doc | |
564 | %{_docdir}/gstreamer-%{gstmver}/audiorate-doc | |
565 | %{_docdir}/gstreamer-%{gstmver}/audioresample-doc | |
566 | %{_docdir}/gstreamer-%{gstmver}/audiotestsrc-doc | |
567 | %{_docdir}/gstreamer-%{gstmver}/cdparanoia-doc | |
568 | %{_docdir}/gstreamer-%{gstmver}/compositor-doc | |
569 | %{_docdir}/gstreamer-%{gstmver}/encoding-doc | |
570 | %{_docdir}/gstreamer-%{gstmver}/gio-doc | |
571 | %{_docdir}/gstreamer-%{gstmver}/gl-doc | |
572 | %{_docdir}/gstreamer-%{gstmver}/gl-egl-doc | |
573 | %{_docdir}/gstreamer-%{gstmver}/gl-wayland-doc | |
574 | %{_docdir}/gstreamer-%{gstmver}/gl-x11-doc | |
575 | %{_docdir}/gstreamer-%{gstmver}/libvisual-doc | |
576 | %{_docdir}/gstreamer-%{gstmver}/ogg-doc | |
577 | %{_docdir}/gstreamer-%{gstmver}/opengl-doc | |
578 | %{_docdir}/gstreamer-%{gstmver}/opus-doc | |
579 | %{_docdir}/gstreamer-%{gstmver}/overlaycomposition-doc | |
580 | %{_docdir}/gstreamer-%{gstmver}/pango-doc | |
581 | %{_docdir}/gstreamer-%{gstmver}/pbtypes-doc | |
582 | %{_docdir}/gstreamer-%{gstmver}/pbutils-doc | |
583 | %{_docdir}/gstreamer-%{gstmver}/playback-doc | |
584 | %{_docdir}/gstreamer-%{gstmver}/rawparse-doc | |
585 | %{_docdir}/gstreamer-%{gstmver}/riff-doc | |
586 | %{_docdir}/gstreamer-%{gstmver}/rtplib-doc | |
587 | %{_docdir}/gstreamer-%{gstmver}/rtsplib-doc | |
588 | %{_docdir}/gstreamer-%{gstmver}/sdp-doc | |
589 | %{_docdir}/gstreamer-%{gstmver}/subparse-doc | |
590 | %{_docdir}/gstreamer-%{gstmver}/tag-doc | |
591 | %{_docdir}/gstreamer-%{gstmver}/tcp-doc | |
592 | %{_docdir}/gstreamer-%{gstmver}/theora-doc | |
593 | %{_docdir}/gstreamer-%{gstmver}/typefindfunctions-doc | |
594 | %{_docdir}/gstreamer-%{gstmver}/video-doc | |
5e57e1d1 | 595 | %{_docdir}/gstreamer-%{gstmver}/videoconvertscale-doc |
2a7c92f1 | 596 | %{_docdir}/gstreamer-%{gstmver}/videorate-doc |
2a7c92f1 JB |
597 | %{_docdir}/gstreamer-%{gstmver}/videotestsrc-doc |
598 | %{_docdir}/gstreamer-%{gstmver}/volume-doc | |
599 | %{_docdir}/gstreamer-%{gstmver}/vorbis-doc | |
600 | %{_docdir}/gstreamer-%{gstmver}/ximagesink-doc | |
601 | %{_docdir}/gstreamer-%{gstmver}/xvimagesink-doc | |
ca029c64 | 602 | %endif |
8e4892da | 603 | |
d6e4213b JB |
604 | %if %{with opengl} |
605 | %files -n gstreamer-gl-libs | |
606 | %defattr(644,root,root,755) | |
d14da31d JB |
607 | %attr(755,root,root) %{_libdir}/libgstgl-%{gstmver}.so.*.*.* |
608 | %attr(755,root,root) %ghost %{_libdir}/libgstgl-%{gstmver}.so.0 | |
609 | %{_libdir}/girepository-1.0/GstGL-%{gstmver}.typelib | |
2a7c92f1 JB |
610 | %{_libdir}/girepository-1.0/GstGLEGL-%{gstmver}.typelib |
611 | %{_libdir}/girepository-1.0/GstGLWayland-%{gstmver}.typelib | |
612 | %{_libdir}/girepository-1.0/GstGLX11-%{gstmver}.typelib | |
d6e4213b JB |
613 | # plugin itself |
614 | %attr(755,root,root) %{gstlibdir}/libgstopengl.so | |
615 | ||
616 | %files -n gstreamer-gl-devel | |
617 | %defattr(644,root,root,755) | |
d14da31d | 618 | %attr(755,root,root) %{_libdir}/libgstgl-%{gstmver}.so |
d6e4213b JB |
619 | # currently only gl lib provides header in this location, so package top dirs here |
620 | %dir %{gstlibdir}/include | |
621 | %dir %{gstlibdir}/include/gst | |
622 | %{gstlibdir}/include/gst/gl | |
623 | %{gstincludedir}/gst/gl | |
d14da31d | 624 | %{_datadir}/gir-1.0/GstGL-%{gstmver}.gir |
2a7c92f1 JB |
625 | %{_datadir}/gir-1.0/GstGLEGL-%{gstmver}.gir |
626 | %{_datadir}/gir-1.0/GstGLWayland-%{gstmver}.gir | |
627 | %{_datadir}/gir-1.0/GstGLX11-%{gstmver}.gir | |
d14da31d | 628 | %{_pkgconfigdir}/gstreamer-gl-%{gstmver}.pc |
2a7c92f1 JB |
629 | %{_pkgconfigdir}/gstreamer-gl-egl-%{gstmver}.pc |
630 | %{_pkgconfigdir}/gstreamer-gl-prototypes-%{gstmver}.pc | |
631 | %{_pkgconfigdir}/gstreamer-gl-wayland-%{gstmver}.pc | |
632 | %{_pkgconfigdir}/gstreamer-gl-x11-%{gstmver}.pc | |
d6e4213b JB |
633 | %endif |
634 | ||
8e4892da JB |
635 | ## |
636 | ## Plugins | |
637 | ## | |
638 | ||
639 | %files -n gstreamer-audiosink-alsa | |
640 | %defattr(644,root,root,755) | |
641 | %attr(755,root,root) %{gstlibdir}/libgstalsa.so | |
642 | ||
5ae7c062 | 643 | %files -n gstreamer-audio-effects-base |
8e4892da JB |
644 | %defattr(644,root,root,755) |
645 | %attr(755,root,root) %{gstlibdir}/libgstadder.so | |
646 | %attr(755,root,root) %{gstlibdir}/libgstaudioresample.so | |
647 | %attr(755,root,root) %{gstlibdir}/libgstvolume.so | |
648 | ||
46767f04 JB |
649 | %files -n gstreamer-cdparanoia |
650 | %defattr(644,root,root,755) | |
651 | %attr(755,root,root) %{gstlibdir}/libgstcdparanoia.so | |
8e4892da | 652 | |
1287b817 JB |
653 | %if %{with tremor} |
654 | %files -n gstreamer-ivorbisdec | |
655 | %defattr(644,root,root,755) | |
656 | %attr(755,root,root) %{gstlibdir}/libgstivorbisdec.so | |
657 | %endif | |
658 | ||
8e4892da JB |
659 | %if %{with libvisual} |
660 | %files -n gstreamer-libvisual | |
661 | %defattr(644,root,root,755) | |
662 | %attr(755,root,root) %{gstlibdir}/libgstlibvisual.so | |
663 | %endif | |
664 | ||
58d929ff ŁK |
665 | %files -n gstreamer-opus |
666 | %defattr(644,root,root,755) | |
667 | %attr(755,root,root) %{gstlibdir}/libgstopus.so | |
668 | ||
8e4892da JB |
669 | %files -n gstreamer-pango |
670 | %defattr(644,root,root,755) | |
671 | %attr(755,root,root) %{gstlibdir}/libgstpango.so | |
672 | ||
673 | %files -n gstreamer-theora | |
674 | %defattr(644,root,root,755) | |
675 | %attr(755,root,root) %{gstlibdir}/libgsttheora.so | |
676 | ||
677 | %files -n gstreamer-vorbis | |
678 | %defattr(644,root,root,755) | |
679 | %attr(755,root,root) %{gstlibdir}/libgstvorbis.so | |
680 | %attr(755,root,root) %{gstlibdir}/libgstogg.so | |
681 | ||
682 | %files -n gstreamer-imagesink-x | |
683 | %defattr(644,root,root,755) | |
684 | %attr(755,root,root) %{gstlibdir}/libgstximagesink.so | |
685 | ||
686 | %files -n gstreamer-imagesink-xv | |
687 | %defattr(644,root,root,755) | |
688 | %attr(755,root,root) %{gstlibdir}/libgstxvimagesink.so |