summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNirbheek Chauhan <nirbheek@gentoo.org>2011-04-05 18:46:58 +0000
committerNirbheek Chauhan <nirbheek@gentoo.org>2011-04-05 18:46:58 +0000
commit3fff5d1f650d01419ecca24d04733602c66f8204 (patch)
tree93ef7c304e6c3ca669a4db29ff2daf6bc8bdd1af /media-libs
parentCopy keywords from 0.7.10. 0.7.10-r1 only fixes dependencies. (diff)
downloadgentoo-2-3fff5d1f650d01419ecca24d04733602c66f8204.tar.gz
gentoo-2-3fff5d1f650d01419ecca24d04733602c66f8204.tar.bz2
gentoo-2-3fff5d1f650d01419ecca24d04733602c66f8204.zip
Bump to 1.3.8, fixes various bugs
(Portage version: 2.1.9.45/cvs/Linux x86_64)
Diffstat (limited to 'media-libs')
-rw-r--r--media-libs/clutter-gst/ChangeLog8
-rw-r--r--media-libs/clutter-gst/clutter-gst-1.3.8.ebuild52
2 files changed, 59 insertions, 1 deletions
diff --git a/media-libs/clutter-gst/ChangeLog b/media-libs/clutter-gst/ChangeLog
index ebfffcd5c4b5..422fd333edcb 100644
--- a/media-libs/clutter-gst/ChangeLog
+++ b/media-libs/clutter-gst/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for media-libs/clutter-gst
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/clutter-gst/ChangeLog,v 1.10 2011/04/05 05:39:19 ulm Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-libs/clutter-gst/ChangeLog,v 1.11 2011/04/05 18:46:58 nirbheek Exp $
+
+*clutter-gst-1.3.8 (05 Apr 2011)
+
+ 05 Apr 2011; Nirbheek Chauhan <nirbheek@gentoo.org>
+ +clutter-gst-1.3.8.ebuild:
+ Bump to 1.3.8, fixes various bugs
05 Apr 2011; Ulrich Mueller <ulm@gentoo.org> clutter-gst-1.0.0.ebuild:
Depend on dev-lang/python because virtual/python will go away, bug 358849.
diff --git a/media-libs/clutter-gst/clutter-gst-1.3.8.ebuild b/media-libs/clutter-gst/clutter-gst-1.3.8.ebuild
new file mode 100644
index 000000000000..d22af34b5c13
--- /dev/null
+++ b/media-libs/clutter-gst/clutter-gst-1.3.8.ebuild
@@ -0,0 +1,52 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-libs/clutter-gst/clutter-gst-1.3.8.ebuild,v 1.1 2011/04/05 18:46:58 nirbheek Exp $
+
+EAPI="3"
+PYTHON_DEPEND="2" # Just a build-time dependency
+CLUTTER_LA_PUNT="yes"
+
+# inherit clutter after gnome2 so that defaults aren't overriden
+inherit python gnome2 clutter
+
+DESCRIPTION="GStreamer Integration library for Clutter"
+
+SLOT="1.0"
+KEYWORDS="~amd64 ~x86"
+IUSE="debug doc examples +introspection"
+
+RDEPEND="
+ >=dev-libs/glib-2.20:2
+ >=media-libs/clutter-1.4.0:1.0[introspection?]
+ >=media-libs/gstreamer-0.10.20:0.10[introspection?]
+ media-libs/gst-plugins-base:0.10[introspection?]
+ introspection? ( >=dev-libs/gobject-introspection-0.6.8 )"
+DEPEND="${RDEPEND}
+ sys-apps/sed
+ doc? ( >=dev-util/gtk-doc-1.8 )"
+
+DOCS="AUTHORS NEWS README"
+EXAMPLES="examples/{*.c,*.png,README}"
+
+src_prepare() {
+ # XXX: debug default is "minimum" in even releases; "yes" in odd releases
+ G2CONF="${G2CONF}
+ $(use_enable introspection)"
+
+ gnome2_src_prepare
+ python_convert_shebangs 2 "${S}"/scripts/pso2h.py
+}
+
+src_compile() {
+ # Avoid sandbox violation with USE="introspection", bug #356283
+ export GST_REGISTRY=${T}/registry.cache.xml
+
+ # Clutter tries to access dri without userpriv
+ # Massive failure of a hack, see bug 360219 and bug 360073
+ shopt -s nullglob
+ local cards=$(echo -n /dev/dri/card* /dev/nvidiactl* | sed 's/ /:/g')
+ shopt -u nullglob
+ test -n "${cards}" && addpredict "${cards}"
+
+ emake || die "emake failed"
+}