summaryrefslogtreecommitdiff
path: root/dev-python/pyvlc/pyvlc-9999.ebuild
blob: 472927cc28d8d670e44c5af338a4f4c1b3e57566 (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
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $

EAPI=5

inherit git-2

DESCRIPTION="Python binding to VLC library"
HOMEPAGE="http://wiki.videolan.org/Python_bindings"
EGIT_REPO_URI="git://git.videolan.org/vlc/bindings/python.git"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS=""
IUSE="generated examples wxwidgets qt4 gtk"

DEPEND="media-video/vlc"
RDEPEND="${DEPEND}
	examples? ( dev-python/pygtk )"
DOCS="README"

S="${WORKDIR}"/${PN}-${PV}

src_compile() {
	cd "${EGIT_STORE_DIR}"
	cd "${S}"
}

src_install() {
	cd "${S}"
	
	if use examples ; then
	cd "${S}"/examples
	ls -la
		if use wxwidgets ; then
			dodoc wxvlc.py
		fi
		if use qt4 ; then
			dodoc qtvlc.py
		fi
		if use gtk ; then
			dodoc gtkvlc.py
		fi
	fi
	if use generated ; then
		insinto "${S}"/generated
		dodoc vlc.py
	fi
}