1 |
commit: 9a727c920ece70234f2326f48dabc21001c331e6 |
2 |
Author: Gilles Dartiguelongue <eva <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Dec 1 16:05:51 2012 +0000 |
4 |
Commit: Gilles Dartiguelongue <eva <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Dec 1 16:57:11 2012 +0000 |
6 |
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/gnome.git;a=commit;h=9a727c92 |
7 |
|
8 |
media-plugins/gst-plugins-x: copy from gentoo-x86 |
9 |
|
10 |
--- |
11 |
.../gst-plugins-x/gst-plugins-x-0.10.36.ebuild | 31 ++++++++++++++++++++ |
12 |
media-plugins/gst-plugins-x/metadata.xml | 5 +++ |
13 |
2 files changed, 36 insertions(+), 0 deletions(-) |
14 |
|
15 |
diff --git a/media-plugins/gst-plugins-x/gst-plugins-x-0.10.36.ebuild b/media-plugins/gst-plugins-x/gst-plugins-x-0.10.36.ebuild |
16 |
new file mode 100644 |
17 |
index 0000000..9154e50 |
18 |
--- /dev/null |
19 |
+++ b/media-plugins/gst-plugins-x/gst-plugins-x-0.10.36.ebuild |
20 |
@@ -0,0 +1,31 @@ |
21 |
+# Copyright 1999-2012 Gentoo Foundation |
22 |
+# Distributed under the terms of the GNU General Public License v2 |
23 |
+# $Header: $ |
24 |
+ |
25 |
+EAPI="5" |
26 |
+ |
27 |
+inherit gst-plugins-base gst-plugins10 |
28 |
+ |
29 |
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~x86-solaris" |
30 |
+IUSE="" |
31 |
+ |
32 |
+RDEPEND="x11-libs/libX11 |
33 |
+ x11-libs/libXext" |
34 |
+DEPEND="${RDEPEND} |
35 |
+ x11-proto/xproto |
36 |
+ x11-proto/xextproto" |
37 |
+ |
38 |
+# xshm is a compile time option of ximage, which is in libXext |
39 |
+GST_PLUGINS_BUILD="x xshm" |
40 |
+GST_PLUGINS_BUILD_DIR="ximage" |
41 |
+ |
42 |
+src_prepare() { |
43 |
+ # The AC_PATH_XTRA macro unnecessarily pulls in libSM and libICE even |
44 |
+ # though they are not actually used. This needs to be fixed upstream by |
45 |
+ # replacing AC_PATH_XTRA with PKG_CONFIG calls. |
46 |
+ sed -i -e 's:X_PRE_LIBS -lSM -lICE:X_PRE_LIBS:' "${S}"/configure |
47 |
+ |
48 |
+ gst-plugins10_system_link \ |
49 |
+ gst-libs/gst/video:gstreamer-video \ |
50 |
+ gst-libs/gst/interfaces:gstreamer-interfaces |
51 |
+} |
52 |
|
53 |
diff --git a/media-plugins/gst-plugins-x/metadata.xml b/media-plugins/gst-plugins-x/metadata.xml |
54 |
new file mode 100644 |
55 |
index 0000000..dec0396 |
56 |
--- /dev/null |
57 |
+++ b/media-plugins/gst-plugins-x/metadata.xml |
58 |
@@ -0,0 +1,5 @@ |
59 |
+<?xml version="1.0" encoding="UTF-8"?> |
60 |
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
61 |
+<pkgmetadata> |
62 |
+ <herd>gstreamer</herd> |
63 |
+</pkgmetadata> |