Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 313955 | Differences between
and this patch

Collapse All | Expand All

(-)lash/lash-0.5.4-r1.ebuild (-7 / +12 lines)
Lines 2-10 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/lash/lash-0.5.4-r1.ebuild,v 1.12 2011/03/29 06:56:34 radhermit Exp $
3
# $Header: /var/cvsroot/gentoo-x86/media-sound/lash/lash-0.5.4-r1.ebuild,v 1.12 2011/03/29 06:56:34 radhermit Exp $
4
4
5
EAPI=2
5
EAPI=4
6
6
PYTHON_DEPEND="python? 2"
7
inherit eutils libtool
7
inherit eutils libtool python
8
8
9
DESCRIPTION="LASH Audio Session Handler"
9
DESCRIPTION="LASH Audio Session Handler"
10
HOMEPAGE="http://www.nongnu.org/lash/"
10
HOMEPAGE="http://www.nongnu.org/lash/"
Lines 14-30 Link Here
14
SLOT="0"
14
SLOT="0"
15
KEYWORDS="alpha amd64 hppa ppc ppc64 sparc x86"
15
KEYWORDS="alpha amd64 hppa ppc ppc64 sparc x86"
16
IUSE="alsa debug gtk python"
16
IUSE="alsa debug gtk python"
17
DOCS=( AUTHORS ChangeLog NEWS README TODO )
17
18
18
RDEPEND="alsa? ( media-libs/alsa-lib )
19
RDEPEND="alsa? ( media-libs/alsa-lib )
19
	media-sound/jack-audio-connection-kit
20
	media-sound/jack-audio-connection-kit
20
	dev-libs/libxml2
21
	dev-libs/libxml2
21
	gtk? ( x11-libs/gtk+:2 )
22
	gtk? ( x11-libs/gtk+:2 )
22
	python? ( dev-lang/python )
23
	|| ( sys-libs/readline dev-libs/libedit )"
23
	|| ( sys-libs/readline dev-libs/libedit )"
24
DEPEND="${RDEPEND}
24
DEPEND="${RDEPEND}
25
	dev-util/pkgconfig
25
	dev-util/pkgconfig
26
	python? ( >=dev-lang/swig-1.3.31 )"
26
	python? ( >=dev-lang/swig-1.3.31 )"
27
27
28
pkg_setup() {
29
	if use python; then
30
		python_set_active_version 2
31
	fi
32
}
33
28
src_prepare() {
34
src_prepare() {
29
	epatch "${FILESDIR}/${P}-glibc2.8.patch"
35
	epatch "${FILESDIR}/${P}-glibc2.8.patch"
30
	elibtoolize
36
	elibtoolize
Lines 45-51 Link Here
45
}
51
}
46
52
47
src_install() {
53
src_install() {
48
	emake DESTDIR="${D}" install || die
54
	emake DESTDIR="${D}" install
49
55
	dodoc ${DOCS[@]}
50
	dodoc AUTHORS ChangeLog NEWS README TODO
51
}
56
}

Return to bug 313955