Gentoo Archives: gentoo-commits

From: Gilles Dartiguelongue <eva@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/gnome:master commit in: media-plugins/gst-plugins-xvideo/
Date: Sat, 01 Dec 2012 16:58:21
Message-Id: 1354381031.57a438c48a3f0d4866ad5f62b24d81b29bb0141b.eva@gentoo
1 commit: 57a438c48a3f0d4866ad5f62b24d81b29bb0141b
2 Author: Gilles Dartiguelongue <eva <AT> gentoo <DOT> org>
3 AuthorDate: Sat Dec 1 16:10:25 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=57a438c4
7
8 media-plugins/gst-plugins-xvideo: copy from gentoo-x86
9
10 ---
11 .../gst-plugins-xvideo-0.10.36.ebuild | 33 ++++++++++++++++++++
12 media-plugins/gst-plugins-xvideo/metadata.xml | 5 +++
13 2 files changed, 38 insertions(+), 0 deletions(-)
14
15 diff --git a/media-plugins/gst-plugins-xvideo/gst-plugins-xvideo-0.10.36.ebuild b/media-plugins/gst-plugins-xvideo/gst-plugins-xvideo-0.10.36.ebuild
16 new file mode 100644
17 index 0000000..3638754
18 --- /dev/null
19 +++ b/media-plugins/gst-plugins-xvideo/gst-plugins-xvideo-0.10.36.ebuild
20 @@ -0,0 +1,33 @@
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"
30 +IUSE=""
31 +
32 +RDEPEND="x11-libs/libXv
33 + x11-libs/libXext"
34 +DEPEND="${RDEPEND}
35 + x11-proto/videoproto
36 + x11-proto/xproto
37 + x11-proto/xextproto"
38 +
39 +# xshm is a compile time option of xvideo
40 +# x is needed to build any X plugins, but we build/install only xv anyway
41 +GST_PLUGINS_BUILD="x xvideo xshm"
42 +GST_PLUGINS_BUILD_DIR="xvimage"
43 +
44 +src_prepare() {
45 + # The AC_PATH_XTRA macro unnecessarily pulls in libSM and libICE even
46 + # though they are not actually used. This needs to be fixed upstream by
47 + # replacing AC_PATH_XTRA with PKG_CONFIG calls.
48 + sed -i -e 's:X_PRE_LIBS -lSM -lICE:X_PRE_LIBS:' "${S}"/configure
49 +
50 + gst-plugins10_system_link \
51 + gst-libs/gst/video:gstreamer-video \
52 + gst-libs/gst/interfaces:gstreamer-interfaces
53 +}
54
55 diff --git a/media-plugins/gst-plugins-xvideo/metadata.xml b/media-plugins/gst-plugins-xvideo/metadata.xml
56 new file mode 100644
57 index 0000000..dec0396
58 --- /dev/null
59 +++ b/media-plugins/gst-plugins-xvideo/metadata.xml
60 @@ -0,0 +1,5 @@
61 +<?xml version="1.0" encoding="UTF-8"?>
62 +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
63 +<pkgmetadata>
64 + <herd>gstreamer</herd>
65 +</pkgmetadata>