1 |
commit: e3899eb2cfc333e21743771ff2ccf5ad1db2a167 |
2 |
Author: Mart Raudsepp <leio <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Jun 26 08:14:31 2014 +0000 |
4 |
Commit: Mart Raudsepp <leio <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Jun 26 08:16:29 2014 +0000 |
6 |
URL: http://git.overlays.gentoo.org/gitweb/?p=dev/leio.git;a=commit;h=e3899eb2 |
7 |
|
8 |
Add gstreamer 1.3.3 development versions of stuff I need for glimagesink testing on RPi |
9 |
|
10 |
--- |
11 |
media-libs/gst-plugins-bad/Manifest | 1 + |
12 |
.../gst-plugins-bad/gst-plugins-bad-1.3.3.ebuild | 56 +++++++++++++ |
13 |
media-libs/gst-plugins-bad/metadata.xml | 8 ++ |
14 |
media-libs/gst-plugins-base/Manifest | 1 + |
15 |
.../gst-plugins-base/gst-plugins-base-1.3.3.ebuild | 94 ++++++++++++++++++++++ |
16 |
media-libs/gst-plugins-base/metadata.xml | 9 +++ |
17 |
media-libs/gst-plugins-good/Manifest | 1 + |
18 |
.../gst-plugins-good/gst-plugins-good-1.3.3.ebuild | 58 +++++++++++++ |
19 |
media-libs/gst-plugins-good/metadata.xml | 5 ++ |
20 |
media-libs/gstreamer/Manifest | 1 + |
21 |
media-libs/gstreamer/gstreamer-1.3.3.ebuild | 90 +++++++++++++++++++++ |
22 |
media-libs/gstreamer/metadata.xml | 10 +++ |
23 |
media-plugins/gst-plugins-faad/Manifest | 1 + |
24 |
.../gst-plugins-faad/gst-plugins-faad-1.3.3.ebuild | 14 ++++ |
25 |
media-plugins/gst-plugins-faad/metadata.xml | 5 ++ |
26 |
15 files changed, 354 insertions(+) |
27 |
|
28 |
diff --git a/media-libs/gst-plugins-bad/Manifest b/media-libs/gst-plugins-bad/Manifest |
29 |
new file mode 100644 |
30 |
index 0000000..ab2b377 |
31 |
--- /dev/null |
32 |
+++ b/media-libs/gst-plugins-bad/Manifest |
33 |
@@ -0,0 +1 @@ |
34 |
+DIST gst-plugins-bad-1.3.3.tar.xz 3780940 SHA256 f2a5eb6534e1fee48f27634a5fe3b4f7241e69ff96031f20bf2efbba05f063b6 SHA512 aa736f53c0ef2deb182313c3a05666e5177d5992b701fb323e29869bae713f0b609503b6e9043defc18e6a489f683f987a3287e27d63866afe6ae7b53180ea6d WHIRLPOOL fe28dcba9a5dd25cc0f99778af37d7869b937c491d1ac830abbef1213ba76576f259d997bbc4b99ab0f03bfe31fed0209c014f90c20a17536a073c4230bc1a94 |
35 |
|
36 |
diff --git a/media-libs/gst-plugins-bad/gst-plugins-bad-1.3.3.ebuild b/media-libs/gst-plugins-bad/gst-plugins-bad-1.3.3.ebuild |
37 |
new file mode 100644 |
38 |
index 0000000..00c7eb1 |
39 |
--- /dev/null |
40 |
+++ b/media-libs/gst-plugins-bad/gst-plugins-bad-1.3.3.ebuild |
41 |
@@ -0,0 +1,56 @@ |
42 |
+# Copyright 1999-2014 Gentoo Foundation |
43 |
+# Distributed under the terms of the GNU General Public License v2 |
44 |
+# $Header: $ |
45 |
+ |
46 |
+EAPI="5" |
47 |
+ |
48 |
+GST_ORG_MODULE="gst-plugins-bad" |
49 |
+inherit eutils flag-o-matic gstreamer |
50 |
+ |
51 |
+DESCRIPTION="Less plugins for GStreamer" |
52 |
+HOMEPAGE="http://gstreamer.freedesktop.org/" |
53 |
+ |
54 |
+LICENSE="LGPL-2" |
55 |
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux" |
56 |
+IUSE="egl +introspection +orc vnc" |
57 |
+ |
58 |
+# FIXME: we need to depend on mesa to avoid automagic on egl |
59 |
+# dtmf plugin moved from bad to good in 1.2 |
60 |
+# X11 is automagic for now, upstream #709530 |
61 |
+RDEPEND=" |
62 |
+ >=dev-libs/glib-2.34.3:2[${MULTILIB_USEDEP}] |
63 |
+ >=media-libs/gst-plugins-base-1.2:${SLOT}[${MULTILIB_USEDEP}] |
64 |
+ >=media-libs/gstreamer-1.2:${SLOT}[${MULTILIB_USEDEP}] |
65 |
+ egl? ( >=media-libs/mesa-9.1.6[egl,${MULTILIB_USEDEP}] ) |
66 |
+ introspection? ( >=dev-libs/gobject-introspection-1.31.1 ) |
67 |
+ orc? ( >=dev-lang/orc-0.4.17[${MULTILIB_USEDEP}] ) |
68 |
+ |
69 |
+ !<media-libs/gst-plugins-good-1.1:${SLOT} |
70 |
+" |
71 |
+DEPEND="${RDEPEND} |
72 |
+ >=dev-util/gtk-doc-am-1.12 |
73 |
+" |
74 |
+ |
75 |
+src_configure() { |
76 |
+ strip-flags |
77 |
+ replace-flags "-O3" "-O2" |
78 |
+ filter-flags "-fprefetch-loop-arrays" # (Bug #22249) |
79 |
+ |
80 |
+ multilib-minimal_src_configure |
81 |
+} |
82 |
+ |
83 |
+multilib_src_configure() { |
84 |
+ gstreamer_multilib_src_configure \ |
85 |
+ $(multilib_native_use_enable introspection) \ |
86 |
+ $(use_enable orc) \ |
87 |
+ $(use_enable vnc librfb) \ |
88 |
+ --disable-examples \ |
89 |
+ --disable-debug \ |
90 |
+ --with-egl-window-system=$(usex egl x11 none) |
91 |
+} |
92 |
+ |
93 |
+multilib_src_install_all() { |
94 |
+ DOCS="AUTHORS ChangeLog NEWS README RELEASE" |
95 |
+ einstalldocs |
96 |
+ prune_libtool_files --modules |
97 |
+} |
98 |
|
99 |
diff --git a/media-libs/gst-plugins-bad/metadata.xml b/media-libs/gst-plugins-bad/metadata.xml |
100 |
new file mode 100644 |
101 |
index 0000000..c4beec6 |
102 |
--- /dev/null |
103 |
+++ b/media-libs/gst-plugins-bad/metadata.xml |
104 |
@@ -0,0 +1,8 @@ |
105 |
+<?xml version="1.0" encoding="UTF-8"?> |
106 |
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
107 |
+<pkgmetadata> |
108 |
+ <herd>gstreamer</herd> |
109 |
+ <use> |
110 |
+ <flag name="egl">Enable EGL support</flag> |
111 |
+ </use> |
112 |
+</pkgmetadata> |
113 |
|
114 |
diff --git a/media-libs/gst-plugins-base/Manifest b/media-libs/gst-plugins-base/Manifest |
115 |
new file mode 100644 |
116 |
index 0000000..f0d8363 |
117 |
--- /dev/null |
118 |
+++ b/media-libs/gst-plugins-base/Manifest |
119 |
@@ -0,0 +1 @@ |
120 |
+DIST gst-plugins-base-1.3.3.tar.xz 2617804 SHA256 ccb09a64a9276f4cd3a1b6721e1c9c7ee1de6120e8b38ec2138914d76ba7953d SHA512 295b8d15cae7575c88cc94cc52239de536bc50a921256962be3f33c4dbcaaf6c448c90ca48be712f7346f47596150bd9d68e597090395da611ba384950348b4e WHIRLPOOL cbabeb7ae48e4dd71721af0f81f6886b433317530ea6044087e3b7e5155f368f7985ef541a5d74ad8395ad22c3e8f59eb9c5817e1b3e852c7cbbe6fdd4bcc719 |
121 |
|
122 |
diff --git a/media-libs/gst-plugins-base/gst-plugins-base-1.3.3.ebuild b/media-libs/gst-plugins-base/gst-plugins-base-1.3.3.ebuild |
123 |
new file mode 100644 |
124 |
index 0000000..c1a7dc2 |
125 |
--- /dev/null |
126 |
+++ b/media-libs/gst-plugins-base/gst-plugins-base-1.3.3.ebuild |
127 |
@@ -0,0 +1,94 @@ |
128 |
+# Copyright 1999-2014 Gentoo Foundation |
129 |
+# Distributed under the terms of the GNU General Public License v2 |
130 |
+# $Header: $ |
131 |
+ |
132 |
+EAPI="5" |
133 |
+ |
134 |
+GST_ORG_MODULE="gst-plugins-base" |
135 |
+inherit gstreamer |
136 |
+ |
137 |
+DESCRIPTION="Basepack of plugins for gstreamer" |
138 |
+HOMEPAGE="http://gstreamer.freedesktop.org/" |
139 |
+ |
140 |
+LICENSE="GPL-2+ LGPL-2+" |
141 |
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~x86-freebsd ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris" |
142 |
+IUSE="alsa +introspection ivorbis +ogg +orc +pango theora +vorbis X" |
143 |
+REQUIRED_USE=" |
144 |
+ ivorbis? ( ogg ) |
145 |
+ theora? ( ogg ) |
146 |
+ vorbis? ( ogg ) |
147 |
+" |
148 |
+ |
149 |
+RDEPEND=" |
150 |
+ app-text/iso-codes |
151 |
+ >=dev-libs/glib-2.34.3:2[${MULTILIB_USEDEP}] |
152 |
+ >=media-libs/gstreamer-1.2.3:1.0[introspection?,${MULTILIB_USEDEP}] |
153 |
+ >=sys-libs/zlib-1.2.8-r1[${MULTILIB_USEDEP}] |
154 |
+ alsa? ( >=media-libs/alsa-lib-1.0.27.2[${MULTILIB_USEDEP}] ) |
155 |
+ introspection? ( >=dev-libs/gobject-introspection-1.31.1 ) |
156 |
+ ivorbis? ( >=media-libs/tremor-0_pre20130223[${MULTILIB_USEDEP}] ) |
157 |
+ ogg? ( >=media-libs/libogg-1.3.0[${MULTILIB_USEDEP}] ) |
158 |
+ orc? ( >=dev-lang/orc-0.4.18[${MULTILIB_USEDEP}] ) |
159 |
+ pango? ( >=x11-libs/pango-1.36.3[${MULTILIB_USEDEP}] ) |
160 |
+ theora? ( >=media-libs/libtheora-1.1.1[encode,${MULTILIB_USEDEP}] ) |
161 |
+ vorbis? ( >=media-libs/libvorbis-1.3.3-r1[${MULTILIB_USEDEP}] ) |
162 |
+ X? ( |
163 |
+ >=x11-libs/libX11-1.6.2[${MULTILIB_USEDEP}] |
164 |
+ >=x11-libs/libXext-1.3.2[${MULTILIB_USEDEP}] |
165 |
+ >=x11-libs/libXv-1.0.10[${MULTILIB_USEDEP}] ) |
166 |
+" |
167 |
+DEPEND="${RDEPEND} |
168 |
+ >=dev-util/gtk-doc-am-1.12 |
169 |
+ X? ( |
170 |
+ >=x11-proto/videoproto-2.3.1-r1[${MULTILIB_USEDEP}] |
171 |
+ >=x11-proto/xextproto-7.2.1-r1[${MULTILIB_USEDEP}] |
172 |
+ >=x11-proto/xproto-7.0.24[${MULTILIB_USEDEP}] ) |
173 |
+" |
174 |
+ |
175 |
+src_prepare() { |
176 |
+ # The AC_PATH_XTRA macro unnecessarily pulls in libSM and libICE even |
177 |
+ # though they are not actually used. This needs to be fixed upstream by |
178 |
+ # replacing AC_PATH_XTRA with PKG_CONFIG calls, upstream bug #731047 |
179 |
+ sed -i -e 's:X_PRE_LIBS -lSM -lICE:X_PRE_LIBS:' "${S}"/configure || die |
180 |
+} |
181 |
+ |
182 |
+multilib_src_configure() { |
183 |
+ gstreamer_multilib_src_configure \ |
184 |
+ $(use_enable alsa) \ |
185 |
+ $(multilib_native_use_enable introspection) \ |
186 |
+ $(use_enable ivorbis) \ |
187 |
+ $(use_enable ogg) \ |
188 |
+ $(use_enable orc) \ |
189 |
+ $(use_enable pango) \ |
190 |
+ $(use_enable theora) \ |
191 |
+ $(use_enable vorbis) \ |
192 |
+ $(use_enable X x) \ |
193 |
+ $(use_enable X xshm) \ |
194 |
+ $(use_enable X xvideo) \ |
195 |
+ --disable-debug \ |
196 |
+ --disable-examples \ |
197 |
+ --disable-freetypetest \ |
198 |
+ --disable-static |
199 |
+ # cdparanoia and libvisual are split out, per leio's request |
200 |
+ |
201 |
+ # bug #366931, flag-o-matic for the whole thing is overkill |
202 |
+ if [[ ${CHOST} == *86-*-darwin* ]] ; then |
203 |
+ sed -i \ |
204 |
+ -e '/FLAGS = /s|-O[23]|-O1|g' \ |
205 |
+ gst/audioconvert/Makefile \ |
206 |
+ gst/volume/Makefile || die |
207 |
+ fi |
208 |
+ |
209 |
+ if multilib_is_native_abi; then |
210 |
+ local x |
211 |
+ for x in libs plugins; do |
212 |
+ ln -s "${S}"/docs/${x}/html docs/${x}/html || die |
213 |
+ done |
214 |
+ fi |
215 |
+} |
216 |
+ |
217 |
+multilib_src_install_all() { |
218 |
+ DOCS="AUTHORS NEWS README RELEASE" |
219 |
+ einstalldocs |
220 |
+ prune_libtool_files --modules |
221 |
+} |
222 |
|
223 |
diff --git a/media-libs/gst-plugins-base/metadata.xml b/media-libs/gst-plugins-base/metadata.xml |
224 |
new file mode 100644 |
225 |
index 0000000..7b5b837 |
226 |
--- /dev/null |
227 |
+++ b/media-libs/gst-plugins-base/metadata.xml |
228 |
@@ -0,0 +1,9 @@ |
229 |
+<?xml version="1.0" encoding="UTF-8"?> |
230 |
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
231 |
+<pkgmetadata> |
232 |
+ <herd>gstreamer</herd> |
233 |
+ <use> |
234 |
+ <flag name="pango">Enable pango GStreamer plugin</flag> |
235 |
+ <flag name="ivorbis">Enable integer based vorbis decoder.</flag> |
236 |
+ </use> |
237 |
+</pkgmetadata> |
238 |
|
239 |
diff --git a/media-libs/gst-plugins-good/Manifest b/media-libs/gst-plugins-good/Manifest |
240 |
new file mode 100644 |
241 |
index 0000000..9cc8a9b |
242 |
--- /dev/null |
243 |
+++ b/media-libs/gst-plugins-good/Manifest |
244 |
@@ -0,0 +1 @@ |
245 |
+DIST gst-plugins-good-1.3.3.tar.xz 3026940 SHA256 4706d0c40ec4d1da96946804319a0736affac8544421d72b86852a214891b1c6 SHA512 562f6bce3566fd0881a00f3ec75386cd5d567ac4effd4a8cac23623c49af495eb4930173a1be3abe5899f413ab81a5d8c7a78fee9365c9d3bc4d796b3b3b7b1a WHIRLPOOL 4132082542983bd512ad140a9621fa71d78b76f4c1e4130641775fd232a2037b2cc874284b9053da2e6ff349276aa677a2c2a612da174b847b31ecf8785f9854 |
246 |
|
247 |
diff --git a/media-libs/gst-plugins-good/gst-plugins-good-1.3.3.ebuild b/media-libs/gst-plugins-good/gst-plugins-good-1.3.3.ebuild |
248 |
new file mode 100644 |
249 |
index 0000000..d923d80 |
250 |
--- /dev/null |
251 |
+++ b/media-libs/gst-plugins-good/gst-plugins-good-1.3.3.ebuild |
252 |
@@ -0,0 +1,58 @@ |
253 |
+# Copyright 1999-2014 Gentoo Foundation |
254 |
+# Distributed under the terms of the GNU General Public License v2 |
255 |
+# $Header: $ |
256 |
+ |
257 |
+EAPI="5" |
258 |
+ |
259 |
+GST_ORG_MODULE="gst-plugins-good" |
260 |
+inherit eutils flag-o-matic gstreamer |
261 |
+ |
262 |
+DESCRIPTION="Basepack of plugins for gstreamer" |
263 |
+HOMEPAGE="http://gstreamer.freedesktop.org/" |
264 |
+ |
265 |
+LICENSE="LGPL-2.1+" |
266 |
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd" |
267 |
+IUSE="+orc" |
268 |
+ |
269 |
+# dtmf plugin moved from bad to good in 1.2 |
270 |
+RDEPEND=" |
271 |
+ >=dev-libs/glib-2.34.3:2[${MULTILIB_USEDEP}] |
272 |
+ >=media-libs/gst-plugins-base-1.2.3:${SLOT}[${MULTILIB_USEDEP}] |
273 |
+ >=media-libs/gstreamer-1.2.4:${SLOT}[${MULTILIB_USEDEP}] |
274 |
+ >=app-arch/bzip2-1.0.6-r4[${MULTILIB_USEDEP}] |
275 |
+ >=sys-libs/zlib-1.2.8-r1[${MULTILIB_USEDEP}] |
276 |
+ orc? ( >=dev-lang/orc-0.4.17[${MULTILIB_USEDEP}] ) |
277 |
+ |
278 |
+ !<media-libs/gst-plugins-bad-1.1:${SLOT} |
279 |
+" |
280 |
+DEPEND="${RDEPEND} |
281 |
+ >=dev-util/gtk-doc-am-1.12 |
282 |
+" |
283 |
+ |
284 |
+src_configure() { |
285 |
+ # gst doesnt handle optimisations well |
286 |
+ strip-flags |
287 |
+ replace-flags "-O3" "-O2" |
288 |
+ filter-flags "-fprefetch-loop-arrays" # see bug 22249 |
289 |
+ |
290 |
+ multilib-minimal_src_configure |
291 |
+} |
292 |
+ |
293 |
+multilib_src_configure() { |
294 |
+ # Always enable optional bz2 support for matroska |
295 |
+ # Always enable optional zlib support for qtdemux and matroska |
296 |
+ # Many media files require these to work, as some container headers are often |
297 |
+ # compressed, bug #291154 |
298 |
+ gstreamer_multilib_src_configure \ |
299 |
+ --enable-bz2 \ |
300 |
+ --enable-zlib \ |
301 |
+ --disable-examples \ |
302 |
+ --with-default-audiosink=autoaudiosink \ |
303 |
+ --with-default-visualizer=goom |
304 |
+} |
305 |
+ |
306 |
+multilib_src_install_all() { |
307 |
+ DOCS="AUTHORS ChangeLog NEWS README RELEASE" |
308 |
+ einstalldocs |
309 |
+ prune_libtool_files --modules |
310 |
+} |
311 |
|
312 |
diff --git a/media-libs/gst-plugins-good/metadata.xml b/media-libs/gst-plugins-good/metadata.xml |
313 |
new file mode 100644 |
314 |
index 0000000..d1096fb |
315 |
--- /dev/null |
316 |
+++ b/media-libs/gst-plugins-good/metadata.xml |
317 |
@@ -0,0 +1,5 @@ |
318 |
+<?xml version="1.0" encoding="UTF-8"?> |
319 |
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
320 |
+<pkgmetadata> |
321 |
+ <herd>gstreamer</herd> |
322 |
+</pkgmetadata> |
323 |
|
324 |
diff --git a/media-libs/gstreamer/Manifest b/media-libs/gstreamer/Manifest |
325 |
new file mode 100644 |
326 |
index 0000000..12b85c2 |
327 |
--- /dev/null |
328 |
+++ b/media-libs/gstreamer/Manifest |
329 |
@@ -0,0 +1 @@ |
330 |
+DIST gstreamer-1.3.3.tar.xz 3316048 SHA256 363701c78713375e1f6a3679729386ce167db50dde2a70b0fc4354c03090738b SHA512 4757fdb0f23ea17e1d85e7700dced33795386077f8fc00ce4eb06275c430d065cf6e9c8a3ae4ad1ac4bbc3d03c80ef1347fd36a93810973e98888b86e5f9db3e WHIRLPOOL ba7c0a49aced2fc4e1d0c6ec448e315ce5a218471bad14e92b13e6d646f939ea74ebe1b6c1e78c142bb8888af8572fcbf54093f736955fa938bb338afde22754 |
331 |
|
332 |
diff --git a/media-libs/gstreamer/gstreamer-1.3.3.ebuild b/media-libs/gstreamer/gstreamer-1.3.3.ebuild |
333 |
new file mode 100644 |
334 |
index 0000000..ee3f445 |
335 |
--- /dev/null |
336 |
+++ b/media-libs/gstreamer/gstreamer-1.3.3.ebuild |
337 |
@@ -0,0 +1,90 @@ |
338 |
+# Copyright 1999-2014 Gentoo Foundation |
339 |
+# Distributed under the terms of the GNU General Public License v2 |
340 |
+# $Header: $ |
341 |
+ |
342 |
+EAPI="5" |
343 |
+ |
344 |
+inherit eutils multilib multilib-minimal pax-utils |
345 |
+ |
346 |
+DESCRIPTION="Streaming media framework" |
347 |
+HOMEPAGE="http://gstreamer.freedesktop.org/" |
348 |
+SRC_URI="http://${PN}.freedesktop.org/src/${PN}/${P}.tar.xz" |
349 |
+ |
350 |
+LICENSE="LGPL-2+" |
351 |
+SLOT="1.0" |
352 |
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~x86-freebsd ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris" |
353 |
+IUSE="+introspection nls +orc test" |
354 |
+ |
355 |
+RDEPEND=" |
356 |
+ >=dev-libs/glib-2.34.3:2[${MULTILIB_USEDEP}] |
357 |
+ introspection? ( >=dev-libs/gobject-introspection-1.31.1 ) |
358 |
+" |
359 |
+DEPEND="${RDEPEND} |
360 |
+ app-arch/xz-utils |
361 |
+ >=dev-util/gtk-doc-am-1.12 |
362 |
+ sys-devel/bison |
363 |
+ sys-devel/flex |
364 |
+ >=virtual/pkgconfig-0-r1[${MULTILIB_USEDEP}] |
365 |
+ nls? ( sys-devel/gettext ) |
366 |
+" |
367 |
+# gtk-doc-am to install API docs |
368 |
+ |
369 |
+src_configure() { |
370 |
+ if [[ ${CHOST} == *-interix* ]] ; then |
371 |
+ export ac_cv_lib_dl_dladdr=no |
372 |
+ export ac_cv_func_poll=no |
373 |
+ fi |
374 |
+ if [[ ${CHOST} == powerpc-apple-darwin* ]] ; then |
375 |
+ # GCC groks this, but then refers to an implementation (___multi3, |
376 |
+ # ___udivti3) that don't exist (at least I can't find it), so force |
377 |
+ # this one to be off, such that we use 2x64bit emulation code. |
378 |
+ export gst_cv_uint128_t=no |
379 |
+ fi |
380 |
+ |
381 |
+ multilib-minimal_src_configure |
382 |
+} |
383 |
+ |
384 |
+multilib_src_configure() { |
385 |
+ # Set 'libexecdir' to ABI-specific location for the library spawns |
386 |
+ # helpers from there. |
387 |
+ # Disable static archives, dependency tracking and examples |
388 |
+ # to speed up build time |
389 |
+ # Disable debug, as it only affects -g passing (debugging symbols), this must done through make.conf in gentoo |
390 |
+ ECONF_SOURCE=${S} \ |
391 |
+ econf \ |
392 |
+ --libexecdir=/usr/$(get_libdir) \ |
393 |
+ --disable-debug \ |
394 |
+ --disable-examples \ |
395 |
+ --disable-static \ |
396 |
+ --disable-valgrind \ |
397 |
+ --enable-check \ |
398 |
+ $(multilib_native_use_enable introspection) \ |
399 |
+ $(use_enable nls) \ |
400 |
+ $(use_enable test tests) \ |
401 |
+ --with-package-name="GStreamer ebuild for Gentoo" \ |
402 |
+ --with-package-origin="http://packages.gentoo.org/package/media-libs/gstreamer" |
403 |
+ |
404 |
+ if multilib_is_native_abi; then |
405 |
+ local x |
406 |
+ for x in gst libs plugins; do |
407 |
+ ln -s "${S}"/docs/${x}/html docs/${x}/html || die |
408 |
+ done |
409 |
+ fi |
410 |
+} |
411 |
+ |
412 |
+multilib_src_install() { |
413 |
+ # can't do "default", we want to install docs in multilib_src_install_all |
414 |
+ emake DESTDIR="${D}" install |
415 |
+ |
416 |
+ # Needed for orc-using gst plugins on hardened/PaX systems, bug #421579 |
417 |
+ use orc && pax-mark -m "${ED}usr/$(get_libdir)/gstreamer-${SLOT}/gst-plugin-scanner" |
418 |
+} |
419 |
+ |
420 |
+multilib_src_install_all() { |
421 |
+ DOCS="AUTHORS ChangeLog NEWS MAINTAINERS README RELEASE" |
422 |
+ einstalldocs |
423 |
+ prune_libtool_files --modules |
424 |
+ |
425 |
+ # Needed for orc-using gst plugins on hardened/PaX systems, bug #421579 |
426 |
+ use orc && pax-mark -m "${ED}usr/bin/gst-launch-${SLOT}" |
427 |
+} |
428 |
|
429 |
diff --git a/media-libs/gstreamer/metadata.xml b/media-libs/gstreamer/metadata.xml |
430 |
new file mode 100644 |
431 |
index 0000000..5ed0f2f |
432 |
--- /dev/null |
433 |
+++ b/media-libs/gstreamer/metadata.xml |
434 |
@@ -0,0 +1,10 @@ |
435 |
+<?xml version="1.0" encoding="UTF-8"?> |
436 |
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
437 |
+<pkgmetadata> |
438 |
+ <herd>gstreamer</herd> |
439 |
+ <use> |
440 |
+ <flag name="orc">Disable some PaX memory protections to allow plugins |
441 |
+ that use <pkg>dev-lang/orc</pkg> for runtime optimization to be |
442 |
+ used on hardened PaX systems</flag> |
443 |
+ </use> |
444 |
+</pkgmetadata> |
445 |
|
446 |
diff --git a/media-plugins/gst-plugins-faad/Manifest b/media-plugins/gst-plugins-faad/Manifest |
447 |
new file mode 100644 |
448 |
index 0000000..ab2b377 |
449 |
--- /dev/null |
450 |
+++ b/media-plugins/gst-plugins-faad/Manifest |
451 |
@@ -0,0 +1 @@ |
452 |
+DIST gst-plugins-bad-1.3.3.tar.xz 3780940 SHA256 f2a5eb6534e1fee48f27634a5fe3b4f7241e69ff96031f20bf2efbba05f063b6 SHA512 aa736f53c0ef2deb182313c3a05666e5177d5992b701fb323e29869bae713f0b609503b6e9043defc18e6a489f683f987a3287e27d63866afe6ae7b53180ea6d WHIRLPOOL fe28dcba9a5dd25cc0f99778af37d7869b937c491d1ac830abbef1213ba76576f259d997bbc4b99ab0f03bfe31fed0209c014f90c20a17536a073c4230bc1a94 |
453 |
|
454 |
diff --git a/media-plugins/gst-plugins-faad/gst-plugins-faad-1.3.3.ebuild b/media-plugins/gst-plugins-faad/gst-plugins-faad-1.3.3.ebuild |
455 |
new file mode 100644 |
456 |
index 0000000..39769dd |
457 |
--- /dev/null |
458 |
+++ b/media-plugins/gst-plugins-faad/gst-plugins-faad-1.3.3.ebuild |
459 |
@@ -0,0 +1,14 @@ |
460 |
+# Copyright 1999-2014 Gentoo Foundation |
461 |
+# Distributed under the terms of the GNU General Public License v2 |
462 |
+# $Header: $ |
463 |
+ |
464 |
+EAPI="5" |
465 |
+ |
466 |
+GST_ORG_MODULE=gst-plugins-bad |
467 |
+inherit gstreamer |
468 |
+ |
469 |
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-fbsd ~x86-fbsd" |
470 |
+IUSE="" |
471 |
+ |
472 |
+RDEPEND=">=media-libs/faad2-2.7-r3[${MULTILIB_USEDEP}]" |
473 |
+DEPEND="${RDEPEND}" |
474 |
|
475 |
diff --git a/media-plugins/gst-plugins-faad/metadata.xml b/media-plugins/gst-plugins-faad/metadata.xml |
476 |
new file mode 100644 |
477 |
index 0000000..9e260ce |
478 |
--- /dev/null |
479 |
+++ b/media-plugins/gst-plugins-faad/metadata.xml |
480 |
@@ -0,0 +1,5 @@ |
481 |
+<?xml version="1.0" encoding="UTF-8"?> |
482 |
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
483 |
+<pkgmetadata> |
484 |
+<herd>gstreamer</herd> |
485 |
+</pkgmetadata> |