Add initial ebuild for pyclutter-gst, python bindings for clutter-gst
authorNirbheek Chauhan <nirbheek@gentoo.org>
Fri, 26 Feb 2010 22:56:31 +0000 (22:56 +0000)
committerNirbheek Chauhan <nirbheek@gentoo.org>
Fri, 26 Feb 2010 22:56:31 +0000 (22:56 +0000)
Package-Manager: portage-2.1.7.17/cvs/Linux i686

dev-python/pyclutter-gst/ChangeLog [new file with mode: 0644]
dev-python/pyclutter-gst/metadata.xml [new file with mode: 0644]
dev-python/pyclutter-gst/pyclutter-gst-1.0.0.ebuild [new file with mode: 0644]

diff --git a/dev-python/pyclutter-gst/ChangeLog b/dev-python/pyclutter-gst/ChangeLog
new file mode 100644 (file)
index 0000000..d108ea1
--- /dev/null
@@ -0,0 +1,10 @@
+# ChangeLog for dev-python/pyclutter-gst
+# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-python/pyclutter-gst/ChangeLog,v 1.1 2010/02/26 22:56:31 nirbheek Exp $
+
+*pyclutter-gst-1.0.0 (26 Feb 2010)
+
+  26 Feb 2010; Nirbheek Chauhan <nirbheek@gentoo.org>
+  +pyclutter-gst-1.0.0.ebuild, +metadata.xml:
+  Add initial ebuild for pyclutter-gst, python bindings for clutter-gst
+
diff --git a/dev-python/pyclutter-gst/metadata.xml b/dev-python/pyclutter-gst/metadata.xml
new file mode 100644 (file)
index 0000000..da6fd63
--- /dev/null
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>gnome</herd>
+</pkgmetadata>
diff --git a/dev-python/pyclutter-gst/pyclutter-gst-1.0.0.ebuild b/dev-python/pyclutter-gst/pyclutter-gst-1.0.0.ebuild
new file mode 100644 (file)
index 0000000..791a03f
--- /dev/null
@@ -0,0 +1,38 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-python/pyclutter-gst/pyclutter-gst-1.0.0.ebuild,v 1.1 2010/02/26 22:56:31 nirbheek Exp $
+
+EAPI="2"
+
+inherit python clutter
+
+DESCRIPTION="Python bindings for Clutter"
+
+KEYWORDS="~amd64 ~x86"
+IUSE="examples"
+
+SLOT="1.0"
+RDEPEND=">=dev-lang/python-2.5
+       >=dev-python/pygobject-2.12.1
+       >=dev-python/pyclutter-1.0.0:${SLOT}
+       >=media-libs/clutter-1.0.0:${SLOT}
+       >=media-libs/clutter-gst-1.0.0:${SLOT}
+
+       dev-python/gst-python"
+DEPEND="${RDEPEND}"
+EXAMPLES="examples/*.py"
+DOCS="NEWS AUTHORS README ChangeLog"
+
+src_prepare(){
+       # Don't pre-compile .py
+       ln -sf $(type -P true) py-compile
+}
+
+pkg_postinst() {
+       python_mod_optimize $(python_get_sitedir)/cluttergst/*
+       python_need_rebuild
+}
+
+pkg_postrm() {
+       python_mod_cleanup /usr/lib*/python*/site-packages/cluttergst/*
+}