Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 313947
Collapse All | Expand All

(-)edna.orig/edna-0.6.ebuild (-4 / +10 lines)
Lines 2-9 Link Here
2
# Distributed under the terms of the GNU General Public License v2
2
# Distributed under the terms of the GNU General Public License v2
3
# $Header: /var/cvsroot/gentoo-x86/media-sound/edna/edna-0.6.ebuild,v 1.5 2009/06/08 11:28:22 jer Exp $
3
# $Header: /var/cvsroot/gentoo-x86/media-sound/edna/edna-0.6.ebuild,v 1.5 2009/06/08 11:28:22 jer Exp $
4
4
5
EAPI=2
5
EAPI=4
6
inherit eutils multilib
6
PYTHON_DEPEND="2"
7
inherit eutils multilib python
7
8
8
DESCRIPTION="Greg Stein's python streaming audio server for desktop or LAN use"
9
DESCRIPTION="Greg Stein's python streaming audio server for desktop or LAN use"
9
HOMEPAGE="http://edna.sourceforge.net/"
10
HOMEPAGE="http://edna.sourceforge.net/"
Lines 14-24 Link Here
14
KEYWORDS="~alpha ~amd64 ~hppa ~mips ~ppc ~ppc64 ~sparc ~x86"
15
KEYWORDS="~alpha ~amd64 ~hppa ~mips ~ppc ~ppc64 ~sparc ~x86"
15
IUSE="flac ogg"
16
IUSE="flac ogg"
16
17
17
RDEPEND=">=dev-lang/python-2.5
18
RDEPEND="flac? ( media-libs/mutagen )
18
	flac? ( media-libs/mutagen )
19
	ogg? ( dev-python/pyogg )"
19
	ogg? ( dev-python/pyogg )"
20
DEPEND="${RDEPEND}"
20
DEPEND="${RDEPEND}"
21
21
22
pkg_setup() {
23
	python_set_active_version 2
24
	python_pkg_setup
25
}
26
22
src_prepare() {
27
src_prepare() {
23
	epatch "${FILESDIR}/${P}"-SystemExit.patch \
28
	epatch "${FILESDIR}/${P}"-SystemExit.patch \
24
		"${FILESDIR}/${P}"-flac.patch \
29
		"${FILESDIR}/${P}"-flac.patch \
Lines 47-52 Link Here
47
52
48
	dodoc README ChangeLog
53
	dodoc README ChangeLog
49
	dohtml -r www/*
54
	dohtml -r www/*
55
	python_convert_shebangs 2 "${ED}"/usr/bin/edna
50
}
56
}
51
57
52
pkg_postinst() {
58
pkg_postinst() {

Return to bug 313947