1 |
commit: 7deaf2bd3ba6d6fc99ece519ef5e4172271775c4 |
2 |
Author: Mart Raudsepp <leio <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Oct 3 14:34:04 2018 +0000 |
4 |
Commit: Mart Raudsepp <leio <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Oct 3 16:18:01 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7deaf2bd |
7 |
|
8 |
media-libs/gst-plugins-base: bump to 1.14.4 for upstream bug fixes |
9 |
|
10 |
Signed-off-by: Mart Raudsepp <leio <AT> gentoo.org> |
11 |
Package-Manager: Portage-2.3.49, Repoman-2.3.11 |
12 |
|
13 |
media-libs/gst-plugins-base/Manifest | 1 + |
14 |
.../gst-plugins-base-1.14.4-r1.ebuild | 181 +++++++++++++++++++++ |
15 |
.../gst-plugins-base-1.14.4.ebuild | 181 +++++++++++++++++++++ |
16 |
3 files changed, 363 insertions(+) |
17 |
|
18 |
diff --git a/media-libs/gst-plugins-base/Manifest b/media-libs/gst-plugins-base/Manifest |
19 |
index 85a571df21c..077b6a6f566 100644 |
20 |
--- a/media-libs/gst-plugins-base/Manifest |
21 |
+++ b/media-libs/gst-plugins-base/Manifest |
22 |
@@ -2,3 +2,4 @@ DIST gst-plugins-base-0.10.36.tar.xz 2364108 BLAKE2B a71ef5d5c7462d60937602681c0 |
23 |
DIST gst-plugins-base-1.14.1.tar.xz 3689184 BLAKE2B 17abcab2c84b113180de55d6c781ae11feec66c215febfffefe4a22353c56e82a585647688e2078603b6c3ece6f26afa99969091a72886880a2f8549dd9cb379 SHA512 bca9db8780fe24c19a2c4eae9a16dc0856cb38077580e4344bd4f7fa9a7a03079b92556ff35475a574f624a5a721d80ef925790670e4cc809361ed01108a141e |
24 |
DIST gst-plugins-base-1.14.2.tar.xz 3693856 BLAKE2B 7ed05718bfd1dcb15e05e5a2c8758ad409c4ad7f331146363f264aaf7123c8a14c1db81f482710d1069d33e5281087f66e2e38504e39b214befba73ffdd9295c SHA512 35e7eb5c42fe265d38c433575f88d3306f15ff927a989eb375ed5399cbf92af2e9bf553d6eee349dc13673540cee00e1f879595f25e58c188ea443d8a969682f |
25 |
DIST gst-plugins-base-1.14.3.tar.xz 3702184 BLAKE2B 8b13cdcb912968ed51bba91faf70060cced562f374d2b6987a9b9ff9a261b553836394cc4dc16df299c21cb303fd87bb0becb57225767c3502c8c16359430523 SHA512 3b5f0dc46d148dd9f162c651594be740f798c1d6272ecabced544f09900b6f2909a9fc705d42e4e98130d6f7cb1368458bfeee27444b5c43e62551defbc3838a |
26 |
+DIST gst-plugins-base-1.14.4.tar.xz 3703232 BLAKE2B b22c44b857bc4f1972f03752cc1afb35c8d76e2d0c4a06c574af0ac4f3a91080c584ae4e4fc2a263ee879a53d58505c24a756ebc051d81ec62661c4f9e532f0e SHA512 42c59df9f2d848108f12afa0466acbcfa5ccda64e4d0d44608d4268abed20f2e036713de04e7d71feaed1868ad742c5bcb55ae0eef5dec8e19e053dc8541b8af |
27 |
|
28 |
diff --git a/media-libs/gst-plugins-base/gst-plugins-base-1.14.4-r1.ebuild b/media-libs/gst-plugins-base/gst-plugins-base-1.14.4-r1.ebuild |
29 |
new file mode 100644 |
30 |
index 00000000000..72b65c23f42 |
31 |
--- /dev/null |
32 |
+++ b/media-libs/gst-plugins-base/gst-plugins-base-1.14.4-r1.ebuild |
33 |
@@ -0,0 +1,181 @@ |
34 |
+# Copyright 1999-2018 Gentoo Authors |
35 |
+# Distributed under the terms of the GNU General Public License v2 |
36 |
+ |
37 |
+EAPI=6 |
38 |
+GST_ORG_MODULE="gst-plugins-base" |
39 |
+ |
40 |
+inherit flag-o-matic gstreamer |
41 |
+ |
42 |
+DESCRIPTION="Basepack of plugins for gstreamer" |
43 |
+HOMEPAGE="https://gstreamer.freedesktop.org/" |
44 |
+ |
45 |
+LICENSE="GPL-2+ LGPL-2+" |
46 |
+KEYWORDS="~amd64 ~arm ~ppc64 ~sparc ~x86" |
47 |
+ |
48 |
+# For OpenGL we have three separate concepts, with a list of possibilities in each: |
49 |
+# * 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 |
50 |
+# * 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. |
51 |
+# * 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 |
52 |
+# With the following limitations: |
53 |
+# * 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 |
54 |
+# * If opengl and/or gles2 is enabled, a windowing system has to be enabled - x11, wayland or gbm in our case |
55 |
+# * glx platform requires opengl API |
56 |
+# * wayland, gbm and most other non-glx WSIs require egl platform |
57 |
+# Additionally there is optional dmabuf support with egl for additional dmabuf based upload/download/eglimage options; |
58 |
+# and optional graphene usage for gltransformation and glvideoflip elements and more GLSL Uniforms support in glshader; |
59 |
+# and libpng/jpeg are required for gloverlay element; |
60 |
+ |
61 |
+# Keep default IUSE options for relevant ones mirrored with gst-plugins-gtk and gst-plugins-bad |
62 |
+IUSE="alsa +egl gbm gles2 +introspection ivorbis +ogg +opengl +orc +pango theora +vorbis wayland +X" |
63 |
+GL_REQUIRED_USE=" |
64 |
+ || ( gbm wayland X ) |
65 |
+ wayland? ( egl ) |
66 |
+ gbm? ( egl ) |
67 |
+" |
68 |
+REQUIRED_USE=" |
69 |
+ ivorbis? ( ogg ) |
70 |
+ theora? ( ogg ) |
71 |
+ vorbis? ( ogg ) |
72 |
+ opengl? ( || ( egl X ) ${GL_REQUIRED_USE} ) |
73 |
+ gles2? ( egl ${GL_REQUIRED_USE} ) |
74 |
+" |
75 |
+ |
76 |
+# Dependencies needed by opengl library and plugin (enabled via USE gles2 and/or opengl) |
77 |
+# 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 |
78 |
+GL_DEPS=" |
79 |
+ >=media-libs/mesa-9.0[egl?,gbm?,gles2?,wayland?,${MULTILIB_USEDEP}] |
80 |
+ egl? ( |
81 |
+ x11-libs/libdrm |
82 |
+ ) |
83 |
+ gbm? ( |
84 |
+ >=dev-libs/libgudev-147[${MULTILIB_USEDEP}] |
85 |
+ >=x11-libs/libdrm-2.4.55[${MULTILIB_USEDEP}] |
86 |
+ ) |
87 |
+ wayland? ( |
88 |
+ dev-libs/wayland[${MULTILIB_USEDEP}] |
89 |
+ ) |
90 |
+ |
91 |
+ >=media-libs/graphene-1.4.0[${MULTILIB_USEDEP}] |
92 |
+ media-libs/libpng:0[${MULTILIB_USEDEP}] |
93 |
+ virtual/jpeg:0[${MULTILIB_USEDEP}] |
94 |
+" # graphene for optional gltransformation and glvideoflip elements and more GLSL Uniforms support in glshader; libpng/jpeg for gloverlay element |
95 |
+ |
96 |
+RDEPEND=" |
97 |
+ app-text/iso-codes |
98 |
+ >=dev-libs/glib-2.40.0:2[${MULTILIB_USEDEP}] |
99 |
+ >=media-libs/gstreamer-${PV}:1.0[introspection?,${MULTILIB_USEDEP}] |
100 |
+ >=sys-libs/zlib-1.2.8-r1[${MULTILIB_USEDEP}] |
101 |
+ alsa? ( >=media-libs/alsa-lib-1.0.27.2[${MULTILIB_USEDEP}] ) |
102 |
+ introspection? ( >=dev-libs/gobject-introspection-1.31.1:= ) |
103 |
+ ivorbis? ( >=media-libs/tremor-0_pre20130223[${MULTILIB_USEDEP}] ) |
104 |
+ ogg? ( >=media-libs/libogg-1.3.0[${MULTILIB_USEDEP}] ) |
105 |
+ orc? ( >=dev-lang/orc-0.4.24[${MULTILIB_USEDEP}] ) |
106 |
+ pango? ( >=x11-libs/pango-1.36.3[${MULTILIB_USEDEP}] ) |
107 |
+ theora? ( >=media-libs/libtheora-1.1.1[encode,${MULTILIB_USEDEP}] ) |
108 |
+ vorbis? ( >=media-libs/libvorbis-1.3.3-r1[${MULTILIB_USEDEP}] ) |
109 |
+ X? ( |
110 |
+ >=x11-libs/libX11-1.6.2[${MULTILIB_USEDEP}] |
111 |
+ >=x11-libs/libXext-1.3.2[${MULTILIB_USEDEP}] |
112 |
+ >=x11-libs/libXv-1.0.10[${MULTILIB_USEDEP}] |
113 |
+ ) |
114 |
+ |
115 |
+ gles2? ( ${GL_DEPS} ) |
116 |
+ opengl? ( ${GL_DEPS} ) |
117 |
+ |
118 |
+ !<media-libs/gst-plugins-bad-1.13.1:1.0 |
119 |
+" |
120 |
+DEPEND="${RDEPEND} |
121 |
+ dev-util/glib-utils |
122 |
+ >=dev-util/gtk-doc-am-1.12 |
123 |
+ X? ( x11-base/xorg-proto ) |
124 |
+" |
125 |
+ |
126 |
+src_prepare() { |
127 |
+ # Disable GL tests for now; prone to fail with EGL_NOT_INITIALIZED, etc |
128 |
+ sed -i -e '/^@USE_GL_TRUE@/d' tests/check/Makefile.in |
129 |
+ default |
130 |
+} |
131 |
+ |
132 |
+multilib_src_configure() { |
133 |
+ filter-flags -mno-sse -mno-sse2 -mno-sse4.1 #610340 |
134 |
+ |
135 |
+ local myconf=() |
136 |
+ # FIXME: Automagic gbm and x11 wsi |
137 |
+ if use opengl || use gles2; then |
138 |
+ myconf+=( |
139 |
+ --enable-gl |
140 |
+ $(use_enable egl) |
141 |
+ $(use_enable gles2) |
142 |
+ $(use_enable opengl) |
143 |
+ $(use_enable wayland) |
144 |
+ $(use_enable X x11) |
145 |
+ ) |
146 |
+ else |
147 |
+ myconf+=( |
148 |
+ --disable-gl |
149 |
+ --disable-egl |
150 |
+ --disable-gles2 |
151 |
+ --disable-opengl |
152 |
+ --disable-wayland |
153 |
+ --disable-x11 |
154 |
+ ) |
155 |
+ fi |
156 |
+ |
157 |
+ if use opengl && use X; then |
158 |
+ # GLX requires desktop OpenGL and X |
159 |
+ myconf+=( --enable-glx ) |
160 |
+ else |
161 |
+ myconf+=( --disable-glx ) |
162 |
+ fi |
163 |
+ |
164 |
+ myconf+=( |
165 |
+ --disable-cocoa |
166 |
+ --disable-dispmanx |
167 |
+ --disable-wgl |
168 |
+ ) |
169 |
+ |
170 |
+ gstreamer_multilib_src_configure \ |
171 |
+ $(use_enable alsa) \ |
172 |
+ $(multilib_native_use_enable introspection) \ |
173 |
+ $(use_enable ivorbis) \ |
174 |
+ $(use_enable ogg) \ |
175 |
+ $(use_enable orc) \ |
176 |
+ $(use_enable pango) \ |
177 |
+ $(use_enable theora) \ |
178 |
+ $(use_enable vorbis) \ |
179 |
+ $(use_enable X x) \ |
180 |
+ $(use_enable X xshm) \ |
181 |
+ $(use_enable X xvideo) \ |
182 |
+ --enable-iso-codes \ |
183 |
+ --enable-zlib \ |
184 |
+ --disable-debug \ |
185 |
+ --disable-examples \ |
186 |
+ --disable-static \ |
187 |
+ "${myconf[@]}" |
188 |
+ |
189 |
+ # bug #366931, flag-o-matic for the whole thing is overkill |
190 |
+ if [[ ${CHOST} == *86-*-darwin* ]] ; then |
191 |
+ sed -i \ |
192 |
+ -e '/FLAGS = /s|-O[23]|-O1|g' \ |
193 |
+ gst/audioconvert/Makefile \ |
194 |
+ gst/volume/Makefile || die |
195 |
+ fi |
196 |
+ |
197 |
+ if multilib_is_native_abi; then |
198 |
+ local x |
199 |
+ for x in libs plugins; do |
200 |
+ ln -s "${S}"/docs/${x}/html docs/${x}/html || die |
201 |
+ done |
202 |
+ fi |
203 |
+} |
204 |
+ |
205 |
+multilib_src_install_all() { |
206 |
+ DOCS="AUTHORS NEWS README RELEASE" |
207 |
+ einstalldocs |
208 |
+ find "${ED}" -name '*.la' -delete || die |
209 |
+} |
210 |
+ |
211 |
+multilib_src_test() { |
212 |
+ unset GSETTINGS_BACKEND |
213 |
+ emake check |
214 |
+} |
215 |
|
216 |
diff --git a/media-libs/gst-plugins-base/gst-plugins-base-1.14.4.ebuild b/media-libs/gst-plugins-base/gst-plugins-base-1.14.4.ebuild |
217 |
new file mode 100644 |
218 |
index 00000000000..888df5ed80b |
219 |
--- /dev/null |
220 |
+++ b/media-libs/gst-plugins-base/gst-plugins-base-1.14.4.ebuild |
221 |
@@ -0,0 +1,181 @@ |
222 |
+# Copyright 1999-2018 Gentoo Authors |
223 |
+# Distributed under the terms of the GNU General Public License v2 |
224 |
+ |
225 |
+EAPI=6 |
226 |
+GST_ORG_MODULE="gst-plugins-base" |
227 |
+ |
228 |
+inherit flag-o-matic gstreamer |
229 |
+ |
230 |
+DESCRIPTION="Basepack of plugins for gstreamer" |
231 |
+HOMEPAGE="https://gstreamer.freedesktop.org/" |
232 |
+ |
233 |
+LICENSE="GPL-2+ LGPL-2+" |
234 |
+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" |
235 |
+ |
236 |
+# For OpenGL we have three separate concepts, with a list of possibilities in each: |
237 |
+# * 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 |
238 |
+# * 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. |
239 |
+# * 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 |
240 |
+# With the following limitations: |
241 |
+# * 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 |
242 |
+# * If opengl and/or gles2 is enabled, a windowing system has to be enabled - x11, wayland or gbm in our case |
243 |
+# * glx platform requires opengl API |
244 |
+# * wayland, gbm and most other non-glx WSIs require egl platform |
245 |
+# Additionally there is optional dmabuf support with egl for additional dmabuf based upload/download/eglimage options; |
246 |
+# and optional graphene usage for gltransformation and glvideoflip elements and more GLSL Uniforms support in glshader; |
247 |
+# and libpng/jpeg are required for gloverlay element; |
248 |
+ |
249 |
+# Keep default IUSE options for relevant ones mirrored with gst-plugins-gtk and gst-plugins-bad |
250 |
+IUSE="alsa +egl gbm gles2 +introspection ivorbis +ogg +opengl +orc +pango theora +vorbis wayland +X" |
251 |
+GL_REQUIRED_USE=" |
252 |
+ || ( gbm wayland X ) |
253 |
+ wayland? ( egl ) |
254 |
+ gbm? ( egl ) |
255 |
+" |
256 |
+REQUIRED_USE=" |
257 |
+ ivorbis? ( ogg ) |
258 |
+ theora? ( ogg ) |
259 |
+ vorbis? ( ogg ) |
260 |
+ opengl? ( || ( egl X ) ${GL_REQUIRED_USE} ) |
261 |
+ gles2? ( egl ${GL_REQUIRED_USE} ) |
262 |
+" |
263 |
+ |
264 |
+# Dependencies needed by opengl library and plugin (enabled via USE gles2 and/or opengl) |
265 |
+# 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 |
266 |
+GL_DEPS=" |
267 |
+ >=media-libs/mesa-9.0[egl?,gbm?,gles2?,wayland?,${MULTILIB_USEDEP}] |
268 |
+ egl? ( |
269 |
+ x11-libs/libdrm |
270 |
+ ) |
271 |
+ gbm? ( |
272 |
+ >=dev-libs/libgudev-147[${MULTILIB_USEDEP}] |
273 |
+ >=x11-libs/libdrm-2.4.55[${MULTILIB_USEDEP}] |
274 |
+ ) |
275 |
+ wayland? ( |
276 |
+ dev-libs/wayland[${MULTILIB_USEDEP}] |
277 |
+ ) |
278 |
+ |
279 |
+ media-libs/libpng:0[${MULTILIB_USEDEP}] |
280 |
+ virtual/jpeg:0[${MULTILIB_USEDEP}] |
281 |
+" # graphene for optional gltransformation and glvideoflip elements and more GLSL Uniforms support in glshader; libpng/jpeg for gloverlay element |
282 |
+# >=media-libs/graphene-1.4.0[${MULTILIB_USEDEP}] |
283 |
+ |
284 |
+RDEPEND=" |
285 |
+ app-text/iso-codes |
286 |
+ >=dev-libs/glib-2.40.0:2[${MULTILIB_USEDEP}] |
287 |
+ >=media-libs/gstreamer-${PV}:1.0[introspection?,${MULTILIB_USEDEP}] |
288 |
+ >=sys-libs/zlib-1.2.8-r1[${MULTILIB_USEDEP}] |
289 |
+ alsa? ( >=media-libs/alsa-lib-1.0.27.2[${MULTILIB_USEDEP}] ) |
290 |
+ introspection? ( >=dev-libs/gobject-introspection-1.31.1:= ) |
291 |
+ ivorbis? ( >=media-libs/tremor-0_pre20130223[${MULTILIB_USEDEP}] ) |
292 |
+ ogg? ( >=media-libs/libogg-1.3.0[${MULTILIB_USEDEP}] ) |
293 |
+ orc? ( >=dev-lang/orc-0.4.24[${MULTILIB_USEDEP}] ) |
294 |
+ pango? ( >=x11-libs/pango-1.36.3[${MULTILIB_USEDEP}] ) |
295 |
+ theora? ( >=media-libs/libtheora-1.1.1[encode,${MULTILIB_USEDEP}] ) |
296 |
+ vorbis? ( >=media-libs/libvorbis-1.3.3-r1[${MULTILIB_USEDEP}] ) |
297 |
+ X? ( |
298 |
+ >=x11-libs/libX11-1.6.2[${MULTILIB_USEDEP}] |
299 |
+ >=x11-libs/libXext-1.3.2[${MULTILIB_USEDEP}] |
300 |
+ >=x11-libs/libXv-1.0.10[${MULTILIB_USEDEP}] |
301 |
+ ) |
302 |
+ |
303 |
+ gles2? ( ${GL_DEPS} ) |
304 |
+ opengl? ( ${GL_DEPS} ) |
305 |
+ |
306 |
+ !<media-libs/gst-plugins-bad-1.13.1:1.0 |
307 |
+" |
308 |
+DEPEND="${RDEPEND} |
309 |
+ dev-util/glib-utils |
310 |
+ >=dev-util/gtk-doc-am-1.12 |
311 |
+ X? ( x11-base/xorg-proto ) |
312 |
+" |
313 |
+ |
314 |
+src_prepare() { |
315 |
+ # Disable GL tests for now; prone to fail with EGL_NOT_INITIALIZED, etc |
316 |
+ sed -i -e '/^@USE_GL_TRUE@/d' tests/check/Makefile.in |
317 |
+ default |
318 |
+} |
319 |
+ |
320 |
+multilib_src_configure() { |
321 |
+ filter-flags -mno-sse -mno-sse2 -mno-sse4.1 #610340 |
322 |
+ |
323 |
+ local myconf=() |
324 |
+ # FIXME: Automagic gbm and x11 wsi |
325 |
+ if use opengl || use gles2; then |
326 |
+ myconf+=( |
327 |
+ --enable-gl |
328 |
+ $(use_enable egl) |
329 |
+ $(use_enable gles2) |
330 |
+ $(use_enable opengl) |
331 |
+ $(use_enable wayland) |
332 |
+ $(use_enable X x11) |
333 |
+ ) |
334 |
+ else |
335 |
+ myconf+=( |
336 |
+ --disable-gl |
337 |
+ --disable-egl |
338 |
+ --disable-gles2 |
339 |
+ --disable-opengl |
340 |
+ --disable-wayland |
341 |
+ --disable-x11 |
342 |
+ ) |
343 |
+ fi |
344 |
+ |
345 |
+ if use opengl && use X; then |
346 |
+ # GLX requires desktop OpenGL and X |
347 |
+ myconf+=( --enable-glx ) |
348 |
+ else |
349 |
+ myconf+=( --disable-glx ) |
350 |
+ fi |
351 |
+ |
352 |
+ myconf+=( |
353 |
+ --disable-cocoa |
354 |
+ --disable-dispmanx |
355 |
+ --disable-wgl |
356 |
+ ) |
357 |
+ |
358 |
+ gstreamer_multilib_src_configure \ |
359 |
+ $(use_enable alsa) \ |
360 |
+ $(multilib_native_use_enable introspection) \ |
361 |
+ $(use_enable ivorbis) \ |
362 |
+ $(use_enable ogg) \ |
363 |
+ $(use_enable orc) \ |
364 |
+ $(use_enable pango) \ |
365 |
+ $(use_enable theora) \ |
366 |
+ $(use_enable vorbis) \ |
367 |
+ $(use_enable X x) \ |
368 |
+ $(use_enable X xshm) \ |
369 |
+ $(use_enable X xvideo) \ |
370 |
+ --enable-iso-codes \ |
371 |
+ --enable-zlib \ |
372 |
+ --disable-debug \ |
373 |
+ --disable-examples \ |
374 |
+ --disable-static \ |
375 |
+ "${myconf[@]}" |
376 |
+ |
377 |
+ # bug #366931, flag-o-matic for the whole thing is overkill |
378 |
+ if [[ ${CHOST} == *86-*-darwin* ]] ; then |
379 |
+ sed -i \ |
380 |
+ -e '/FLAGS = /s|-O[23]|-O1|g' \ |
381 |
+ gst/audioconvert/Makefile \ |
382 |
+ gst/volume/Makefile || die |
383 |
+ fi |
384 |
+ |
385 |
+ if multilib_is_native_abi; then |
386 |
+ local x |
387 |
+ for x in libs plugins; do |
388 |
+ ln -s "${S}"/docs/${x}/html docs/${x}/html || die |
389 |
+ done |
390 |
+ fi |
391 |
+} |
392 |
+ |
393 |
+multilib_src_install_all() { |
394 |
+ DOCS="AUTHORS NEWS README RELEASE" |
395 |
+ einstalldocs |
396 |
+ find "${ED}" -name '*.la' -delete || die |
397 |
+} |
398 |
+ |
399 |
+multilib_src_test() { |
400 |
+ unset GSETTINGS_BACKEND |
401 |
+ emake check |
402 |
+} |