summaryrefslogtreecommitdiff
blob: d228ae6b9baba9490da5c0c66eef572f3f6d7427 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
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.3
	>=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
}