1 |
commit: e87416f737a78b1743452a101e6de51669a73c56 |
2 |
Author: Mart Raudsepp <leio <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Jan 15 23:34:47 2019 +0000 |
4 |
Commit: Mart Raudsepp <leio <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Jan 15 23:34:47 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e87416f7 |
7 |
|
8 |
media-libs/gst-plugins-base: remove old |
9 |
|
10 |
Package-Manager: Portage-2.3.52, Repoman-2.3.12 |
11 |
Signed-off-by: Mart Raudsepp <leio <AT> gentoo.org> |
12 |
|
13 |
media-libs/gst-plugins-base/Manifest | 2 - |
14 |
.../gst-plugins-base-1.14.2-r1.ebuild | 180 -------------------- |
15 |
.../gst-plugins-base-1.14.2.ebuild | 180 -------------------- |
16 |
.../gst-plugins-base-1.14.3-r1.ebuild | 181 --------------------- |
17 |
.../gst-plugins-base-1.14.3.ebuild | 181 --------------------- |
18 |
5 files changed, 724 deletions(-) |
19 |
|
20 |
diff --git a/media-libs/gst-plugins-base/Manifest b/media-libs/gst-plugins-base/Manifest |
21 |
index 077b6a6f566..c8bbacf0e7c 100644 |
22 |
--- a/media-libs/gst-plugins-base/Manifest |
23 |
+++ b/media-libs/gst-plugins-base/Manifest |
24 |
@@ -1,5 +1,3 @@ |
25 |
DIST gst-plugins-base-0.10.36.tar.xz 2364108 BLAKE2B a71ef5d5c7462d60937602681c060e85ed086a753b7ef354dad48354d6c3741d809f2c0c6a321ef9ac60fb12d24ec65e1baa63e51211134d2a5e03aae16f73d2 SHA512 ea77778e073515df58229a641b4363df31f0b80204a5a43a8feb31f0b03a5a4b9b79d6e07e1615c773a59927a9b649f1b1d782def1120d581d09a090be8363b8 |
26 |
DIST gst-plugins-base-1.14.1.tar.xz 3689184 BLAKE2B 17abcab2c84b113180de55d6c781ae11feec66c215febfffefe4a22353c56e82a585647688e2078603b6c3ece6f26afa99969091a72886880a2f8549dd9cb379 SHA512 bca9db8780fe24c19a2c4eae9a16dc0856cb38077580e4344bd4f7fa9a7a03079b92556ff35475a574f624a5a721d80ef925790670e4cc809361ed01108a141e |
27 |
-DIST gst-plugins-base-1.14.2.tar.xz 3693856 BLAKE2B 7ed05718bfd1dcb15e05e5a2c8758ad409c4ad7f331146363f264aaf7123c8a14c1db81f482710d1069d33e5281087f66e2e38504e39b214befba73ffdd9295c SHA512 35e7eb5c42fe265d38c433575f88d3306f15ff927a989eb375ed5399cbf92af2e9bf553d6eee349dc13673540cee00e1f879595f25e58c188ea443d8a969682f |
28 |
-DIST gst-plugins-base-1.14.3.tar.xz 3702184 BLAKE2B 8b13cdcb912968ed51bba91faf70060cced562f374d2b6987a9b9ff9a261b553836394cc4dc16df299c21cb303fd87bb0becb57225767c3502c8c16359430523 SHA512 3b5f0dc46d148dd9f162c651594be740f798c1d6272ecabced544f09900b6f2909a9fc705d42e4e98130d6f7cb1368458bfeee27444b5c43e62551defbc3838a |
29 |
DIST gst-plugins-base-1.14.4.tar.xz 3703232 BLAKE2B b22c44b857bc4f1972f03752cc1afb35c8d76e2d0c4a06c574af0ac4f3a91080c584ae4e4fc2a263ee879a53d58505c24a756ebc051d81ec62661c4f9e532f0e SHA512 42c59df9f2d848108f12afa0466acbcfa5ccda64e4d0d44608d4268abed20f2e036713de04e7d71feaed1868ad742c5bcb55ae0eef5dec8e19e053dc8541b8af |
30 |
|
31 |
diff --git a/media-libs/gst-plugins-base/gst-plugins-base-1.14.2-r1.ebuild b/media-libs/gst-plugins-base/gst-plugins-base-1.14.2-r1.ebuild |
32 |
deleted file mode 100644 |
33 |
index 6480185d22d..00000000000 |
34 |
--- a/media-libs/gst-plugins-base/gst-plugins-base-1.14.2-r1.ebuild |
35 |
+++ /dev/null |
36 |
@@ -1,180 +0,0 @@ |
37 |
-# Copyright 1999-2018 Gentoo Foundation |
38 |
-# Distributed under the terms of the GNU General Public License v2 |
39 |
- |
40 |
-EAPI=6 |
41 |
-GST_ORG_MODULE="gst-plugins-base" |
42 |
- |
43 |
-inherit flag-o-matic gstreamer |
44 |
- |
45 |
-DESCRIPTION="Basepack of plugins for gstreamer" |
46 |
-HOMEPAGE="https://gstreamer.freedesktop.org/" |
47 |
- |
48 |
-LICENSE="GPL-2+ LGPL-2+" |
49 |
-KEYWORDS="~amd64 ~arm ~ppc64 ~sparc ~x86" |
50 |
- |
51 |
-# For OpenGL we have three separate concepts, with a list of possibilities in each: |
52 |
-# * opengl APIs - opengl and/or gles2; USE=opengl and USE=gles2 enable these accordingly; if neither is enabled, OpenGL helper library and elements are not built at all and all the other options aren't relevant |
53 |
-# * opengl platforms - glx and/or egl; also cgl, wgl, eagl for non-linux; USE="X opengl" enables glx platform; USE="egl" enables egl platform. Rest is up for relevant prefix teams. |
54 |
-# * opengl windowing system - x11, wayland, win32, cocoa, android, viv_fb, gbm and/or dispmanx; USE=X enables x11 (but for WSI it's automagic - FIXME), USE=wayland enables wayland, USE=gbm enables gbm (automagic upstream - FIXME); rest is up for relevant prefix/arch teams/contributors to test and provide patches |
55 |
-# With the following limitations: |
56 |
-# * If opengl and/or gles2 is enabled, a platform has to be enabled - x11 or egl in our case, but x11 (glx) is acceptable only with opengl |
57 |
-# * If opengl and/or gles2 is enabled, a windowing system has to be enabled - x11, wayland or gbm in our case |
58 |
-# * glx platform requires opengl API |
59 |
-# * wayland, gbm and most other non-glx WSIs require egl platform |
60 |
-# Additionally there is optional dmabuf support with egl for additional dmabuf based upload/download/eglimage options; |
61 |
-# and optional graphene usage for gltransformation and glvideoflip elements and more GLSL Uniforms support in glshader; |
62 |
-# and libpng/jpeg are required for gloverlay element; |
63 |
- |
64 |
-# Keep default IUSE options for relevant ones mirrored with gst-plugins-gtk and gst-plugins-bad |
65 |
-IUSE="alsa +egl gbm gles2 +introspection ivorbis +ogg +opengl +orc +pango theora +vorbis wayland +X" |
66 |
-GL_REQUIRED_USE=" |
67 |
- || ( gbm wayland X ) |
68 |
- wayland? ( egl ) |
69 |
- gbm? ( egl ) |
70 |
-" |
71 |
-REQUIRED_USE=" |
72 |
- ivorbis? ( ogg ) |
73 |
- theora? ( ogg ) |
74 |
- vorbis? ( ogg ) |
75 |
- opengl? ( || ( egl X ) ${GL_REQUIRED_USE} ) |
76 |
- gles2? ( egl ${GL_REQUIRED_USE} ) |
77 |
-" |
78 |
- |
79 |
-# Dependencies needed by opengl library and plugin (enabled via USE gles2 and/or opengl) |
80 |
-# dmabuf automagic from libdrm headers (drm_fourcc.h) and EGL, so ensure it with USE=egl (platform independent header used only, thus no MULTILIB_USEDEP); provides dmabuf based upload/download/eglimage options |
81 |
-GL_DEPS=" |
82 |
- >=media-libs/mesa-9.0[egl?,gbm?,gles2?,wayland?,${MULTILIB_USEDEP}] |
83 |
- egl? ( |
84 |
- x11-libs/libdrm |
85 |
- ) |
86 |
- gbm? ( |
87 |
- >=dev-libs/libgudev-147[${MULTILIB_USEDEP}] |
88 |
- >=x11-libs/libdrm-2.4.55[${MULTILIB_USEDEP}] |
89 |
- ) |
90 |
- wayland? ( |
91 |
- dev-libs/wayland[${MULTILIB_USEDEP}] |
92 |
- ) |
93 |
- |
94 |
- >=media-libs/graphene-1.4.0[${MULTILIB_USEDEP}] |
95 |
- media-libs/libpng:0[${MULTILIB_USEDEP}] |
96 |
- virtual/jpeg:0[${MULTILIB_USEDEP}] |
97 |
-" # graphene for optional gltransformation and glvideoflip elements and more GLSL Uniforms support in glshader; libpng/jpeg for gloverlay element |
98 |
- |
99 |
-RDEPEND=" |
100 |
- app-text/iso-codes |
101 |
- >=dev-libs/glib-2.40.0:2[${MULTILIB_USEDEP}] |
102 |
- >=media-libs/gstreamer-${PV}:1.0[introspection?,${MULTILIB_USEDEP}] |
103 |
- >=sys-libs/zlib-1.2.8-r1[${MULTILIB_USEDEP}] |
104 |
- alsa? ( >=media-libs/alsa-lib-1.0.27.2[${MULTILIB_USEDEP}] ) |
105 |
- introspection? ( >=dev-libs/gobject-introspection-1.31.1:= ) |
106 |
- ivorbis? ( >=media-libs/tremor-0_pre20130223[${MULTILIB_USEDEP}] ) |
107 |
- ogg? ( >=media-libs/libogg-1.3.0[${MULTILIB_USEDEP}] ) |
108 |
- orc? ( >=dev-lang/orc-0.4.24[${MULTILIB_USEDEP}] ) |
109 |
- pango? ( >=x11-libs/pango-1.36.3[${MULTILIB_USEDEP}] ) |
110 |
- theora? ( >=media-libs/libtheora-1.1.1[encode,${MULTILIB_USEDEP}] ) |
111 |
- vorbis? ( >=media-libs/libvorbis-1.3.3-r1[${MULTILIB_USEDEP}] ) |
112 |
- X? ( |
113 |
- >=x11-libs/libX11-1.6.2[${MULTILIB_USEDEP}] |
114 |
- >=x11-libs/libXext-1.3.2[${MULTILIB_USEDEP}] |
115 |
- >=x11-libs/libXv-1.0.10[${MULTILIB_USEDEP}] |
116 |
- ) |
117 |
- |
118 |
- gles2? ( ${GL_DEPS} ) |
119 |
- opengl? ( ${GL_DEPS} ) |
120 |
- |
121 |
- !<media-libs/gst-plugins-bad-1.13.1:1.0 |
122 |
-" |
123 |
-DEPEND="${RDEPEND} |
124 |
- >=dev-util/gtk-doc-am-1.12 |
125 |
- X? ( x11-base/xorg-proto ) |
126 |
-" |
127 |
- |
128 |
-src_prepare() { |
129 |
- # Disable GL tests for now; prone to fail with EGL_NOT_INITIALIZED, etc |
130 |
- sed -i -e '/^@USE_GL_TRUE@/d' tests/check/Makefile.in |
131 |
- default |
132 |
-} |
133 |
- |
134 |
-multilib_src_configure() { |
135 |
- filter-flags -mno-sse -mno-sse2 -mno-sse4.1 #610340 |
136 |
- |
137 |
- local myconf=() |
138 |
- # FIXME: Automagic gbm and x11 wsi |
139 |
- if use opengl || use gles2; then |
140 |
- myconf+=( |
141 |
- --enable-gl |
142 |
- $(use_enable egl) |
143 |
- $(use_enable gles2) |
144 |
- $(use_enable opengl) |
145 |
- $(use_enable wayland) |
146 |
- $(use_enable X x11) |
147 |
- ) |
148 |
- else |
149 |
- myconf+=( |
150 |
- --disable-gl |
151 |
- --disable-egl |
152 |
- --disable-gles2 |
153 |
- --disable-opengl |
154 |
- --disable-wayland |
155 |
- --disable-x11 |
156 |
- ) |
157 |
- fi |
158 |
- |
159 |
- if use opengl && use X; then |
160 |
- # GLX requires desktop OpenGL and X |
161 |
- myconf+=( --enable-glx ) |
162 |
- else |
163 |
- myconf+=( --disable-glx ) |
164 |
- fi |
165 |
- |
166 |
- myconf+=( |
167 |
- --disable-cocoa |
168 |
- --disable-dispmanx |
169 |
- --disable-wgl |
170 |
- ) |
171 |
- |
172 |
- gstreamer_multilib_src_configure \ |
173 |
- $(use_enable alsa) \ |
174 |
- $(multilib_native_use_enable introspection) \ |
175 |
- $(use_enable ivorbis) \ |
176 |
- $(use_enable ogg) \ |
177 |
- $(use_enable orc) \ |
178 |
- $(use_enable pango) \ |
179 |
- $(use_enable theora) \ |
180 |
- $(use_enable vorbis) \ |
181 |
- $(use_enable X x) \ |
182 |
- $(use_enable X xshm) \ |
183 |
- $(use_enable X xvideo) \ |
184 |
- --enable-iso-codes \ |
185 |
- --enable-zlib \ |
186 |
- --disable-debug \ |
187 |
- --disable-examples \ |
188 |
- --disable-static \ |
189 |
- "${myconf[@]}" |
190 |
- |
191 |
- # bug #366931, flag-o-matic for the whole thing is overkill |
192 |
- if [[ ${CHOST} == *86-*-darwin* ]] ; then |
193 |
- sed -i \ |
194 |
- -e '/FLAGS = /s|-O[23]|-O1|g' \ |
195 |
- gst/audioconvert/Makefile \ |
196 |
- gst/volume/Makefile || die |
197 |
- fi |
198 |
- |
199 |
- if multilib_is_native_abi; then |
200 |
- local x |
201 |
- for x in libs plugins; do |
202 |
- ln -s "${S}"/docs/${x}/html docs/${x}/html || die |
203 |
- done |
204 |
- fi |
205 |
-} |
206 |
- |
207 |
-multilib_src_install_all() { |
208 |
- DOCS="AUTHORS NEWS README RELEASE" |
209 |
- einstalldocs |
210 |
- find "${ED}" -name '*.la' -delete || die |
211 |
-} |
212 |
- |
213 |
-multilib_src_test() { |
214 |
- unset GSETTINGS_BACKEND |
215 |
- emake check |
216 |
-} |
217 |
|
218 |
diff --git a/media-libs/gst-plugins-base/gst-plugins-base-1.14.2.ebuild b/media-libs/gst-plugins-base/gst-plugins-base-1.14.2.ebuild |
219 |
deleted file mode 100644 |
220 |
index 0fe6a462492..00000000000 |
221 |
--- a/media-libs/gst-plugins-base/gst-plugins-base-1.14.2.ebuild |
222 |
+++ /dev/null |
223 |
@@ -1,180 +0,0 @@ |
224 |
-# Copyright 1999-2018 Gentoo Foundation |
225 |
-# Distributed under the terms of the GNU General Public License v2 |
226 |
- |
227 |
-EAPI=6 |
228 |
-GST_ORG_MODULE="gst-plugins-base" |
229 |
- |
230 |
-inherit flag-o-matic gstreamer |
231 |
- |
232 |
-DESCRIPTION="Basepack of plugins for gstreamer" |
233 |
-HOMEPAGE="https://gstreamer.freedesktop.org/" |
234 |
- |
235 |
-LICENSE="GPL-2+ LGPL-2+" |
236 |
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris" |
237 |
- |
238 |
-# For OpenGL we have three separate concepts, with a list of possibilities in each: |
239 |
-# * opengl APIs - opengl and/or gles2; USE=opengl and USE=gles2 enable these accordingly; if neither is enabled, OpenGL helper library and elements are not built at all and all the other options aren't relevant |
240 |
-# * opengl platforms - glx and/or egl; also cgl, wgl, eagl for non-linux; USE="X opengl" enables glx platform; USE="egl" enables egl platform. Rest is up for relevant prefix teams. |
241 |
-# * opengl windowing system - x11, wayland, win32, cocoa, android, viv_fb, gbm and/or dispmanx; USE=X enables x11 (but for WSI it's automagic - FIXME), USE=wayland enables wayland, USE=gbm enables gbm (automagic upstream - FIXME); rest is up for relevant prefix/arch teams/contributors to test and provide patches |
242 |
-# With the following limitations: |
243 |
-# * If opengl and/or gles2 is enabled, a platform has to be enabled - x11 or egl in our case, but x11 (glx) is acceptable only with opengl |
244 |
-# * If opengl and/or gles2 is enabled, a windowing system has to be enabled - x11, wayland or gbm in our case |
245 |
-# * glx platform requires opengl API |
246 |
-# * wayland, gbm and most other non-glx WSIs require egl platform |
247 |
-# Additionally there is optional dmabuf support with egl for additional dmabuf based upload/download/eglimage options; |
248 |
-# and optional graphene usage for gltransformation and glvideoflip elements and more GLSL Uniforms support in glshader; |
249 |
-# and libpng/jpeg are required for gloverlay element; |
250 |
- |
251 |
-# Keep default IUSE options for relevant ones mirrored with gst-plugins-gtk and gst-plugins-bad |
252 |
-IUSE="alsa +egl gbm gles2 +introspection ivorbis +ogg +opengl +orc +pango theora +vorbis wayland +X" |
253 |
-GL_REQUIRED_USE=" |
254 |
- || ( gbm wayland X ) |
255 |
- wayland? ( egl ) |
256 |
- gbm? ( egl ) |
257 |
-" |
258 |
-REQUIRED_USE=" |
259 |
- ivorbis? ( ogg ) |
260 |
- theora? ( ogg ) |
261 |
- vorbis? ( ogg ) |
262 |
- opengl? ( || ( egl X ) ${GL_REQUIRED_USE} ) |
263 |
- gles2? ( egl ${GL_REQUIRED_USE} ) |
264 |
-" |
265 |
- |
266 |
-# Dependencies needed by opengl library and plugin (enabled via USE gles2 and/or opengl) |
267 |
-# dmabuf automagic from libdrm headers (drm_fourcc.h) and EGL, so ensure it with USE=egl (platform independent header used only, thus no MULTILIB_USEDEP); provides dmabuf based upload/download/eglimage options |
268 |
-GL_DEPS=" |
269 |
- >=media-libs/mesa-9.0[egl?,gbm?,gles2?,wayland?,${MULTILIB_USEDEP}] |
270 |
- egl? ( |
271 |
- x11-libs/libdrm |
272 |
- ) |
273 |
- gbm? ( |
274 |
- >=dev-libs/libgudev-147[${MULTILIB_USEDEP}] |
275 |
- >=x11-libs/libdrm-2.4.55[${MULTILIB_USEDEP}] |
276 |
- ) |
277 |
- wayland? ( |
278 |
- dev-libs/wayland[${MULTILIB_USEDEP}] |
279 |
- ) |
280 |
- |
281 |
- media-libs/libpng:0[${MULTILIB_USEDEP}] |
282 |
- virtual/jpeg:0[${MULTILIB_USEDEP}] |
283 |
-" # graphene for optional gltransformation and glvideoflip elements and more GLSL Uniforms support in glshader; libpng/jpeg for gloverlay element |
284 |
-# >=media-libs/graphene-1.4.0[${MULTILIB_USEDEP}] |
285 |
- |
286 |
-RDEPEND=" |
287 |
- app-text/iso-codes |
288 |
- >=dev-libs/glib-2.40.0:2[${MULTILIB_USEDEP}] |
289 |
- >=media-libs/gstreamer-${PV}:1.0[introspection?,${MULTILIB_USEDEP}] |
290 |
- >=sys-libs/zlib-1.2.8-r1[${MULTILIB_USEDEP}] |
291 |
- alsa? ( >=media-libs/alsa-lib-1.0.27.2[${MULTILIB_USEDEP}] ) |
292 |
- introspection? ( >=dev-libs/gobject-introspection-1.31.1:= ) |
293 |
- ivorbis? ( >=media-libs/tremor-0_pre20130223[${MULTILIB_USEDEP}] ) |
294 |
- ogg? ( >=media-libs/libogg-1.3.0[${MULTILIB_USEDEP}] ) |
295 |
- orc? ( >=dev-lang/orc-0.4.24[${MULTILIB_USEDEP}] ) |
296 |
- pango? ( >=x11-libs/pango-1.36.3[${MULTILIB_USEDEP}] ) |
297 |
- theora? ( >=media-libs/libtheora-1.1.1[encode,${MULTILIB_USEDEP}] ) |
298 |
- vorbis? ( >=media-libs/libvorbis-1.3.3-r1[${MULTILIB_USEDEP}] ) |
299 |
- X? ( |
300 |
- >=x11-libs/libX11-1.6.2[${MULTILIB_USEDEP}] |
301 |
- >=x11-libs/libXext-1.3.2[${MULTILIB_USEDEP}] |
302 |
- >=x11-libs/libXv-1.0.10[${MULTILIB_USEDEP}] |
303 |
- ) |
304 |
- |
305 |
- gles2? ( ${GL_DEPS} ) |
306 |
- opengl? ( ${GL_DEPS} ) |
307 |
- |
308 |
- !<media-libs/gst-plugins-bad-1.13.1:1.0 |
309 |
-" |
310 |
-DEPEND="${RDEPEND} |
311 |
- >=dev-util/gtk-doc-am-1.12 |
312 |
- X? ( x11-base/xorg-proto ) |
313 |
-" |
314 |
- |
315 |
-src_prepare() { |
316 |
- # Disable GL tests for now; prone to fail with EGL_NOT_INITIALIZED, etc |
317 |
- sed -i -e '/^@USE_GL_TRUE@/d' tests/check/Makefile.in |
318 |
- default |
319 |
-} |
320 |
- |
321 |
-multilib_src_configure() { |
322 |
- filter-flags -mno-sse -mno-sse2 -mno-sse4.1 #610340 |
323 |
- |
324 |
- local myconf=() |
325 |
- # FIXME: Automagic gbm and x11 wsi |
326 |
- if use opengl || use gles2; then |
327 |
- myconf+=( |
328 |
- --enable-gl |
329 |
- $(use_enable egl) |
330 |
- $(use_enable gles2) |
331 |
- $(use_enable opengl) |
332 |
- $(use_enable wayland) |
333 |
- $(use_enable X x11) |
334 |
- ) |
335 |
- else |
336 |
- myconf+=( |
337 |
- --disable-gl |
338 |
- --disable-egl |
339 |
- --disable-gles2 |
340 |
- --disable-opengl |
341 |
- --disable-wayland |
342 |
- --disable-x11 |
343 |
- ) |
344 |
- fi |
345 |
- |
346 |
- if use opengl && use X; then |
347 |
- # GLX requires desktop OpenGL and X |
348 |
- myconf+=( --enable-glx ) |
349 |
- else |
350 |
- myconf+=( --disable-glx ) |
351 |
- fi |
352 |
- |
353 |
- myconf+=( |
354 |
- --disable-cocoa |
355 |
- --disable-dispmanx |
356 |
- --disable-wgl |
357 |
- ) |
358 |
- |
359 |
- gstreamer_multilib_src_configure \ |
360 |
- $(use_enable alsa) \ |
361 |
- $(multilib_native_use_enable introspection) \ |
362 |
- $(use_enable ivorbis) \ |
363 |
- $(use_enable ogg) \ |
364 |
- $(use_enable orc) \ |
365 |
- $(use_enable pango) \ |
366 |
- $(use_enable theora) \ |
367 |
- $(use_enable vorbis) \ |
368 |
- $(use_enable X x) \ |
369 |
- $(use_enable X xshm) \ |
370 |
- $(use_enable X xvideo) \ |
371 |
- --enable-iso-codes \ |
372 |
- --enable-zlib \ |
373 |
- --disable-debug \ |
374 |
- --disable-examples \ |
375 |
- --disable-static \ |
376 |
- "${myconf[@]}" |
377 |
- |
378 |
- # bug #366931, flag-o-matic for the whole thing is overkill |
379 |
- if [[ ${CHOST} == *86-*-darwin* ]] ; then |
380 |
- sed -i \ |
381 |
- -e '/FLAGS = /s|-O[23]|-O1|g' \ |
382 |
- gst/audioconvert/Makefile \ |
383 |
- gst/volume/Makefile || die |
384 |
- fi |
385 |
- |
386 |
- if multilib_is_native_abi; then |
387 |
- local x |
388 |
- for x in libs plugins; do |
389 |
- ln -s "${S}"/docs/${x}/html docs/${x}/html || die |
390 |
- done |
391 |
- fi |
392 |
-} |
393 |
- |
394 |
-multilib_src_install_all() { |
395 |
- DOCS="AUTHORS NEWS README RELEASE" |
396 |
- einstalldocs |
397 |
- find "${ED}" -name '*.la' -delete || die |
398 |
-} |
399 |
- |
400 |
-multilib_src_test() { |
401 |
- unset GSETTINGS_BACKEND |
402 |
- emake check |
403 |
-} |
404 |
|
405 |
diff --git a/media-libs/gst-plugins-base/gst-plugins-base-1.14.3-r1.ebuild b/media-libs/gst-plugins-base/gst-plugins-base-1.14.3-r1.ebuild |
406 |
deleted file mode 100644 |
407 |
index b87fbb291fb..00000000000 |
408 |
--- a/media-libs/gst-plugins-base/gst-plugins-base-1.14.3-r1.ebuild |
409 |
+++ /dev/null |
410 |
@@ -1,181 +0,0 @@ |
411 |
-# Copyright 1999-2018 Gentoo Authors |
412 |
-# Distributed under the terms of the GNU General Public License v2 |
413 |
- |
414 |
-EAPI=6 |
415 |
-GST_ORG_MODULE="gst-plugins-base" |
416 |
- |
417 |
-inherit flag-o-matic gstreamer |
418 |
- |
419 |
-DESCRIPTION="Basepack of plugins for gstreamer" |
420 |
-HOMEPAGE="https://gstreamer.freedesktop.org/" |
421 |
- |
422 |
-LICENSE="GPL-2+ LGPL-2+" |
423 |
-KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~sparc ~x86" |
424 |
- |
425 |
-# For OpenGL we have three separate concepts, with a list of possibilities in each: |
426 |
-# * opengl APIs - opengl and/or gles2; USE=opengl and USE=gles2 enable these accordingly; if neither is enabled, OpenGL helper library and elements are not built at all and all the other options aren't relevant |
427 |
-# * opengl platforms - glx and/or egl; also cgl, wgl, eagl for non-linux; USE="X opengl" enables glx platform; USE="egl" enables egl platform. Rest is up for relevant prefix teams. |
428 |
-# * opengl windowing system - x11, wayland, win32, cocoa, android, viv_fb, gbm and/or dispmanx; USE=X enables x11 (but for WSI it's automagic - FIXME), USE=wayland enables wayland, USE=gbm enables gbm (automagic upstream - FIXME); rest is up for relevant prefix/arch teams/contributors to test and provide patches |
429 |
-# With the following limitations: |
430 |
-# * If opengl and/or gles2 is enabled, a platform has to be enabled - x11 or egl in our case, but x11 (glx) is acceptable only with opengl |
431 |
-# * If opengl and/or gles2 is enabled, a windowing system has to be enabled - x11, wayland or gbm in our case |
432 |
-# * glx platform requires opengl API |
433 |
-# * wayland, gbm and most other non-glx WSIs require egl platform |
434 |
-# Additionally there is optional dmabuf support with egl for additional dmabuf based upload/download/eglimage options; |
435 |
-# and optional graphene usage for gltransformation and glvideoflip elements and more GLSL Uniforms support in glshader; |
436 |
-# and libpng/jpeg are required for gloverlay element; |
437 |
- |
438 |
-# Keep default IUSE options for relevant ones mirrored with gst-plugins-gtk and gst-plugins-bad |
439 |
-IUSE="alsa +egl gbm gles2 +introspection ivorbis +ogg +opengl +orc +pango theora +vorbis wayland +X" |
440 |
-GL_REQUIRED_USE=" |
441 |
- || ( gbm wayland X ) |
442 |
- wayland? ( egl ) |
443 |
- gbm? ( egl ) |
444 |
-" |
445 |
-REQUIRED_USE=" |
446 |
- ivorbis? ( ogg ) |
447 |
- theora? ( ogg ) |
448 |
- vorbis? ( ogg ) |
449 |
- opengl? ( || ( egl X ) ${GL_REQUIRED_USE} ) |
450 |
- gles2? ( egl ${GL_REQUIRED_USE} ) |
451 |
-" |
452 |
- |
453 |
-# Dependencies needed by opengl library and plugin (enabled via USE gles2 and/or opengl) |
454 |
-# dmabuf automagic from libdrm headers (drm_fourcc.h) and EGL, so ensure it with USE=egl (platform independent header used only, thus no MULTILIB_USEDEP); provides dmabuf based upload/download/eglimage options |
455 |
-GL_DEPS=" |
456 |
- >=media-libs/mesa-9.0[egl?,gbm?,gles2?,wayland?,${MULTILIB_USEDEP}] |
457 |
- egl? ( |
458 |
- x11-libs/libdrm |
459 |
- ) |
460 |
- gbm? ( |
461 |
- >=dev-libs/libgudev-147[${MULTILIB_USEDEP}] |
462 |
- >=x11-libs/libdrm-2.4.55[${MULTILIB_USEDEP}] |
463 |
- ) |
464 |
- wayland? ( |
465 |
- dev-libs/wayland[${MULTILIB_USEDEP}] |
466 |
- ) |
467 |
- |
468 |
- >=media-libs/graphene-1.4.0[${MULTILIB_USEDEP}] |
469 |
- media-libs/libpng:0[${MULTILIB_USEDEP}] |
470 |
- virtual/jpeg:0[${MULTILIB_USEDEP}] |
471 |
-" # graphene for optional gltransformation and glvideoflip elements and more GLSL Uniforms support in glshader; libpng/jpeg for gloverlay element |
472 |
- |
473 |
-RDEPEND=" |
474 |
- app-text/iso-codes |
475 |
- >=dev-libs/glib-2.40.0:2[${MULTILIB_USEDEP}] |
476 |
- >=media-libs/gstreamer-${PV}:1.0[introspection?,${MULTILIB_USEDEP}] |
477 |
- >=sys-libs/zlib-1.2.8-r1[${MULTILIB_USEDEP}] |
478 |
- alsa? ( >=media-libs/alsa-lib-1.0.27.2[${MULTILIB_USEDEP}] ) |
479 |
- introspection? ( >=dev-libs/gobject-introspection-1.31.1:= ) |
480 |
- ivorbis? ( >=media-libs/tremor-0_pre20130223[${MULTILIB_USEDEP}] ) |
481 |
- ogg? ( >=media-libs/libogg-1.3.0[${MULTILIB_USEDEP}] ) |
482 |
- orc? ( >=dev-lang/orc-0.4.24[${MULTILIB_USEDEP}] ) |
483 |
- pango? ( >=x11-libs/pango-1.36.3[${MULTILIB_USEDEP}] ) |
484 |
- theora? ( >=media-libs/libtheora-1.1.1[encode,${MULTILIB_USEDEP}] ) |
485 |
- vorbis? ( >=media-libs/libvorbis-1.3.3-r1[${MULTILIB_USEDEP}] ) |
486 |
- X? ( |
487 |
- >=x11-libs/libX11-1.6.2[${MULTILIB_USEDEP}] |
488 |
- >=x11-libs/libXext-1.3.2[${MULTILIB_USEDEP}] |
489 |
- >=x11-libs/libXv-1.0.10[${MULTILIB_USEDEP}] |
490 |
- ) |
491 |
- |
492 |
- gles2? ( ${GL_DEPS} ) |
493 |
- opengl? ( ${GL_DEPS} ) |
494 |
- |
495 |
- !<media-libs/gst-plugins-bad-1.13.1:1.0 |
496 |
-" |
497 |
-DEPEND="${RDEPEND} |
498 |
- dev-util/glib-utils |
499 |
- >=dev-util/gtk-doc-am-1.12 |
500 |
- X? ( x11-base/xorg-proto ) |
501 |
-" |
502 |
- |
503 |
-src_prepare() { |
504 |
- # Disable GL tests for now; prone to fail with EGL_NOT_INITIALIZED, etc |
505 |
- sed -i -e '/^@USE_GL_TRUE@/d' tests/check/Makefile.in |
506 |
- default |
507 |
-} |
508 |
- |
509 |
-multilib_src_configure() { |
510 |
- filter-flags -mno-sse -mno-sse2 -mno-sse4.1 #610340 |
511 |
- |
512 |
- local myconf=() |
513 |
- # FIXME: Automagic gbm and x11 wsi |
514 |
- if use opengl || use gles2; then |
515 |
- myconf+=( |
516 |
- --enable-gl |
517 |
- $(use_enable egl) |
518 |
- $(use_enable gles2) |
519 |
- $(use_enable opengl) |
520 |
- $(use_enable wayland) |
521 |
- $(use_enable X x11) |
522 |
- ) |
523 |
- else |
524 |
- myconf+=( |
525 |
- --disable-gl |
526 |
- --disable-egl |
527 |
- --disable-gles2 |
528 |
- --disable-opengl |
529 |
- --disable-wayland |
530 |
- --disable-x11 |
531 |
- ) |
532 |
- fi |
533 |
- |
534 |
- if use opengl && use X; then |
535 |
- # GLX requires desktop OpenGL and X |
536 |
- myconf+=( --enable-glx ) |
537 |
- else |
538 |
- myconf+=( --disable-glx ) |
539 |
- fi |
540 |
- |
541 |
- myconf+=( |
542 |
- --disable-cocoa |
543 |
- --disable-dispmanx |
544 |
- --disable-wgl |
545 |
- ) |
546 |
- |
547 |
- gstreamer_multilib_src_configure \ |
548 |
- $(use_enable alsa) \ |
549 |
- $(multilib_native_use_enable introspection) \ |
550 |
- $(use_enable ivorbis) \ |
551 |
- $(use_enable ogg) \ |
552 |
- $(use_enable orc) \ |
553 |
- $(use_enable pango) \ |
554 |
- $(use_enable theora) \ |
555 |
- $(use_enable vorbis) \ |
556 |
- $(use_enable X x) \ |
557 |
- $(use_enable X xshm) \ |
558 |
- $(use_enable X xvideo) \ |
559 |
- --enable-iso-codes \ |
560 |
- --enable-zlib \ |
561 |
- --disable-debug \ |
562 |
- --disable-examples \ |
563 |
- --disable-static \ |
564 |
- "${myconf[@]}" |
565 |
- |
566 |
- # bug #366931, flag-o-matic for the whole thing is overkill |
567 |
- if [[ ${CHOST} == *86-*-darwin* ]] ; then |
568 |
- sed -i \ |
569 |
- -e '/FLAGS = /s|-O[23]|-O1|g' \ |
570 |
- gst/audioconvert/Makefile \ |
571 |
- gst/volume/Makefile || die |
572 |
- fi |
573 |
- |
574 |
- if multilib_is_native_abi; then |
575 |
- local x |
576 |
- for x in libs plugins; do |
577 |
- ln -s "${S}"/docs/${x}/html docs/${x}/html || die |
578 |
- done |
579 |
- fi |
580 |
-} |
581 |
- |
582 |
-multilib_src_install_all() { |
583 |
- DOCS="AUTHORS NEWS README RELEASE" |
584 |
- einstalldocs |
585 |
- find "${ED}" -name '*.la' -delete || die |
586 |
-} |
587 |
- |
588 |
-multilib_src_test() { |
589 |
- unset GSETTINGS_BACKEND |
590 |
- emake check |
591 |
-} |
592 |
|
593 |
diff --git a/media-libs/gst-plugins-base/gst-plugins-base-1.14.3.ebuild b/media-libs/gst-plugins-base/gst-plugins-base-1.14.3.ebuild |
594 |
deleted file mode 100644 |
595 |
index 8ba70282649..00000000000 |
596 |
--- a/media-libs/gst-plugins-base/gst-plugins-base-1.14.3.ebuild |
597 |
+++ /dev/null |
598 |
@@ -1,181 +0,0 @@ |
599 |
-# Copyright 1999-2018 Gentoo Foundation |
600 |
-# Distributed under the terms of the GNU General Public License v2 |
601 |
- |
602 |
-EAPI=6 |
603 |
-GST_ORG_MODULE="gst-plugins-base" |
604 |
- |
605 |
-inherit flag-o-matic gstreamer |
606 |
- |
607 |
-DESCRIPTION="Basepack of plugins for gstreamer" |
608 |
-HOMEPAGE="https://gstreamer.freedesktop.org/" |
609 |
- |
610 |
-LICENSE="GPL-2+ LGPL-2+" |
611 |
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris" |
612 |
- |
613 |
-# For OpenGL we have three separate concepts, with a list of possibilities in each: |
614 |
-# * opengl APIs - opengl and/or gles2; USE=opengl and USE=gles2 enable these accordingly; if neither is enabled, OpenGL helper library and elements are not built at all and all the other options aren't relevant |
615 |
-# * opengl platforms - glx and/or egl; also cgl, wgl, eagl for non-linux; USE="X opengl" enables glx platform; USE="egl" enables egl platform. Rest is up for relevant prefix teams. |
616 |
-# * opengl windowing system - x11, wayland, win32, cocoa, android, viv_fb, gbm and/or dispmanx; USE=X enables x11 (but for WSI it's automagic - FIXME), USE=wayland enables wayland, USE=gbm enables gbm (automagic upstream - FIXME); rest is up for relevant prefix/arch teams/contributors to test and provide patches |
617 |
-# With the following limitations: |
618 |
-# * If opengl and/or gles2 is enabled, a platform has to be enabled - x11 or egl in our case, but x11 (glx) is acceptable only with opengl |
619 |
-# * If opengl and/or gles2 is enabled, a windowing system has to be enabled - x11, wayland or gbm in our case |
620 |
-# * glx platform requires opengl API |
621 |
-# * wayland, gbm and most other non-glx WSIs require egl platform |
622 |
-# Additionally there is optional dmabuf support with egl for additional dmabuf based upload/download/eglimage options; |
623 |
-# and optional graphene usage for gltransformation and glvideoflip elements and more GLSL Uniforms support in glshader; |
624 |
-# and libpng/jpeg are required for gloverlay element; |
625 |
- |
626 |
-# Keep default IUSE options for relevant ones mirrored with gst-plugins-gtk and gst-plugins-bad |
627 |
-IUSE="alsa +egl gbm gles2 +introspection ivorbis +ogg +opengl +orc +pango theora +vorbis wayland +X" |
628 |
-GL_REQUIRED_USE=" |
629 |
- || ( gbm wayland X ) |
630 |
- wayland? ( egl ) |
631 |
- gbm? ( egl ) |
632 |
-" |
633 |
-REQUIRED_USE=" |
634 |
- ivorbis? ( ogg ) |
635 |
- theora? ( ogg ) |
636 |
- vorbis? ( ogg ) |
637 |
- opengl? ( || ( egl X ) ${GL_REQUIRED_USE} ) |
638 |
- gles2? ( egl ${GL_REQUIRED_USE} ) |
639 |
-" |
640 |
- |
641 |
-# Dependencies needed by opengl library and plugin (enabled via USE gles2 and/or opengl) |
642 |
-# dmabuf automagic from libdrm headers (drm_fourcc.h) and EGL, so ensure it with USE=egl (platform independent header used only, thus no MULTILIB_USEDEP); provides dmabuf based upload/download/eglimage options |
643 |
-GL_DEPS=" |
644 |
- >=media-libs/mesa-9.0[egl?,gbm?,gles2?,wayland?,${MULTILIB_USEDEP}] |
645 |
- egl? ( |
646 |
- x11-libs/libdrm |
647 |
- ) |
648 |
- gbm? ( |
649 |
- >=dev-libs/libgudev-147[${MULTILIB_USEDEP}] |
650 |
- >=x11-libs/libdrm-2.4.55[${MULTILIB_USEDEP}] |
651 |
- ) |
652 |
- wayland? ( |
653 |
- dev-libs/wayland[${MULTILIB_USEDEP}] |
654 |
- ) |
655 |
- |
656 |
- media-libs/libpng:0[${MULTILIB_USEDEP}] |
657 |
- virtual/jpeg:0[${MULTILIB_USEDEP}] |
658 |
-" # graphene for optional gltransformation and glvideoflip elements and more GLSL Uniforms support in glshader; libpng/jpeg for gloverlay element |
659 |
-# >=media-libs/graphene-1.4.0[${MULTILIB_USEDEP}] |
660 |
- |
661 |
-RDEPEND=" |
662 |
- app-text/iso-codes |
663 |
- >=dev-libs/glib-2.40.0:2[${MULTILIB_USEDEP}] |
664 |
- >=media-libs/gstreamer-${PV}:1.0[introspection?,${MULTILIB_USEDEP}] |
665 |
- >=sys-libs/zlib-1.2.8-r1[${MULTILIB_USEDEP}] |
666 |
- alsa? ( >=media-libs/alsa-lib-1.0.27.2[${MULTILIB_USEDEP}] ) |
667 |
- introspection? ( >=dev-libs/gobject-introspection-1.31.1:= ) |
668 |
- ivorbis? ( >=media-libs/tremor-0_pre20130223[${MULTILIB_USEDEP}] ) |
669 |
- ogg? ( >=media-libs/libogg-1.3.0[${MULTILIB_USEDEP}] ) |
670 |
- orc? ( >=dev-lang/orc-0.4.24[${MULTILIB_USEDEP}] ) |
671 |
- pango? ( >=x11-libs/pango-1.36.3[${MULTILIB_USEDEP}] ) |
672 |
- theora? ( >=media-libs/libtheora-1.1.1[encode,${MULTILIB_USEDEP}] ) |
673 |
- vorbis? ( >=media-libs/libvorbis-1.3.3-r1[${MULTILIB_USEDEP}] ) |
674 |
- X? ( |
675 |
- >=x11-libs/libX11-1.6.2[${MULTILIB_USEDEP}] |
676 |
- >=x11-libs/libXext-1.3.2[${MULTILIB_USEDEP}] |
677 |
- >=x11-libs/libXv-1.0.10[${MULTILIB_USEDEP}] |
678 |
- ) |
679 |
- |
680 |
- gles2? ( ${GL_DEPS} ) |
681 |
- opengl? ( ${GL_DEPS} ) |
682 |
- |
683 |
- !<media-libs/gst-plugins-bad-1.13.1:1.0 |
684 |
-" |
685 |
-DEPEND="${RDEPEND} |
686 |
- dev-util/glib-utils |
687 |
- >=dev-util/gtk-doc-am-1.12 |
688 |
- X? ( x11-base/xorg-proto ) |
689 |
-" |
690 |
- |
691 |
-src_prepare() { |
692 |
- # Disable GL tests for now; prone to fail with EGL_NOT_INITIALIZED, etc |
693 |
- sed -i -e '/^@USE_GL_TRUE@/d' tests/check/Makefile.in |
694 |
- default |
695 |
-} |
696 |
- |
697 |
-multilib_src_configure() { |
698 |
- filter-flags -mno-sse -mno-sse2 -mno-sse4.1 #610340 |
699 |
- |
700 |
- local myconf=() |
701 |
- # FIXME: Automagic gbm and x11 wsi |
702 |
- if use opengl || use gles2; then |
703 |
- myconf+=( |
704 |
- --enable-gl |
705 |
- $(use_enable egl) |
706 |
- $(use_enable gles2) |
707 |
- $(use_enable opengl) |
708 |
- $(use_enable wayland) |
709 |
- $(use_enable X x11) |
710 |
- ) |
711 |
- else |
712 |
- myconf+=( |
713 |
- --disable-gl |
714 |
- --disable-egl |
715 |
- --disable-gles2 |
716 |
- --disable-opengl |
717 |
- --disable-wayland |
718 |
- --disable-x11 |
719 |
- ) |
720 |
- fi |
721 |
- |
722 |
- if use opengl && use X; then |
723 |
- # GLX requires desktop OpenGL and X |
724 |
- myconf+=( --enable-glx ) |
725 |
- else |
726 |
- myconf+=( --disable-glx ) |
727 |
- fi |
728 |
- |
729 |
- myconf+=( |
730 |
- --disable-cocoa |
731 |
- --disable-dispmanx |
732 |
- --disable-wgl |
733 |
- ) |
734 |
- |
735 |
- gstreamer_multilib_src_configure \ |
736 |
- $(use_enable alsa) \ |
737 |
- $(multilib_native_use_enable introspection) \ |
738 |
- $(use_enable ivorbis) \ |
739 |
- $(use_enable ogg) \ |
740 |
- $(use_enable orc) \ |
741 |
- $(use_enable pango) \ |
742 |
- $(use_enable theora) \ |
743 |
- $(use_enable vorbis) \ |
744 |
- $(use_enable X x) \ |
745 |
- $(use_enable X xshm) \ |
746 |
- $(use_enable X xvideo) \ |
747 |
- --enable-iso-codes \ |
748 |
- --enable-zlib \ |
749 |
- --disable-debug \ |
750 |
- --disable-examples \ |
751 |
- --disable-static \ |
752 |
- "${myconf[@]}" |
753 |
- |
754 |
- # bug #366931, flag-o-matic for the whole thing is overkill |
755 |
- if [[ ${CHOST} == *86-*-darwin* ]] ; then |
756 |
- sed -i \ |
757 |
- -e '/FLAGS = /s|-O[23]|-O1|g' \ |
758 |
- gst/audioconvert/Makefile \ |
759 |
- gst/volume/Makefile || die |
760 |
- fi |
761 |
- |
762 |
- if multilib_is_native_abi; then |
763 |
- local x |
764 |
- for x in libs plugins; do |
765 |
- ln -s "${S}"/docs/${x}/html docs/${x}/html || die |
766 |
- done |
767 |
- fi |
768 |
-} |
769 |
- |
770 |
-multilib_src_install_all() { |
771 |
- DOCS="AUTHORS NEWS README RELEASE" |
772 |
- einstalldocs |
773 |
- find "${ED}" -name '*.la' -delete || die |
774 |
-} |
775 |
- |
776 |
-multilib_src_test() { |
777 |
- unset GSETTINGS_BACKEND |
778 |
- emake check |
779 |
-} |