blob: a76c6a7e477f65af8a0b3742ccfb2774759de45a (
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
44
45
46
47
48
49
50
51
|
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-python/gst-python/gst-python-0.8.1.ebuild,v 1.4 2005/12/04 14:39:52 zaheerm Exp $
inherit python
DESCRIPTION="A Python Interface to GStreamer"
HOMEPAGE="http://gstreamer.freedesktop.org"
SRC_URI="http://gstreamer.freedesktop.org/src/${PN}/${P}.tar.gz"
LICENSE="LGPL-2"
SLOT="0"
KEYWORDS="~x86 ~ppc ~amd64"
IUSE="doc"
RDEPEND=">=dev-python/pygtk-2.4
>=dev-libs/glib-2
>=x11-libs/gtk+-2
=media-libs/gstreamer-0.8*
=media-libs/gst-plugins-0.8*
virtual/python"
DEPEND="${RDEPEND}
dev-util/pkgconfig
doc? ( app-text/xmlto
dev-libs/libxml2 )"
src_compile() {
myconf=`use_enable doc docs`
econf ${myconf} || die
emake || die
}
src_install() {
make DESTDIR=${D} install || die
dodoc AUTHORS COPYING ChangeLog INSTALL NEWS README TODO
docinto examples
cp -pPR examples/* ${D}usr/share/doc/${PF}/examples
prepalldocs
}
pkg_postinst() {
python_version
python_mod_optimize ${ROOT}usr/lib/python${PYVER}/site-packages/gst
}
pkg_postrm() {
python_version
python_mod_cleanup ${ROOT}usr/lib/python${PYVER}/site-packages/gst
}
|