add pigment-python ebuild

git-svn-id: http://svn.sabayonlinux.org/overlay@2058 d7aec97c-591d-0410-af39-a8856400b30a
This commit is contained in:
(no author)
2008-03-09 14:27:13 +00:00
parent 03642b9e65
commit 3ce72b3703
2 changed files with 46 additions and 0 deletions
@@ -0,0 +1,43 @@
# Copyright 2006-2007 BreakMyGentoo.org
# Distributed under the terms of the GNU General Public License v2
inherit gnome2 python
DESCRIPTION="Python bindings for pigment"
HOMEPAGE="http://elisa.fluendo.com/"
SRC_URI="http://elisa.fluendo.com/static/download/pigment/${P}.tar.gz"
RESTRICT="nomirror"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="-* ~amd64 ~ppc ~x86"
IUSE=""
RDEPEND=">=media-libs/pigment-0.3.5
>=dev-libs/glib-2.8
>=dev-python/pygobject-2.8
>=media-libs/gstreamer-0.10
>=media-libs/gst-plugins-base-0.10
>=x11-libs/gtk+-2
>=dev-lang/python-2.4"
DEPEND="${DEPEND}"
DOCS="AUTHORS ChangeLog COPYING INSTALL NEWS README TODO"
MAKEOPTS="-j1"
src_install() {
einstall || die
}
pkg_postinst() {
python_version
python_mod_optimize ${ROOT}/usr/$(get_libdir)/python${PYVER}/site-packages/gtk-2.0
}
pkg_postrm() {
python_version
python_mod_cleanup
}