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

Collapse All | Expand All

(-)ecasound-2.4.5.ebuild (-3 / +9 lines)
Lines 4-14 Link Here
4
4
5
inherit multilib eutils
5
inherit multilib eutils
6
6
7
DESCRIPTION="a package for multitrack audio processing"
7
DESCRIPTION="a package for multitrack audio processing"
8
SRC_URI="http://${PN}.seul.org/download/${P}.tar.gz"
8
SRC_URI="http://${PN}.seul.org/download/${P}.tar.gz"
9
HOMEPAGE="http://eca.cx"
9
HOMEPAGE="http://ecasound.seul.org/ecasound/"
10
10
11
LICENSE="GPL-2"
11
LICENSE="GPL-2"
12
SLOT="1"
12
SLOT="1"
13
KEYWORDS="~amd64 ~ppc ~sparc ~x86"
13
KEYWORDS="~amd64 ~ppc ~sparc ~x86"
14
IUSE="alsa arts audiofile debug doc jack libsamplerate mikmod ncurses vorbis oss python ruby sndfile"
14
IUSE="alsa arts audiofile debug doc jack libsamplerate mikmod ncurses vorbis oss python ruby sndfile"
Lines 38-48 Link Here
38
		eerror "need to have built media-libs/alsa-lib with midi USE flag."
38
		eerror "need to have built media-libs/alsa-lib with midi USE flag."
39
		die "Missing midi USE flag on media-libs/alsa-lib"
39
		die "Missing midi USE flag on media-libs/alsa-lib"
40
	fi
40
	fi
41
}
41
}
42
42
43
src_compile () {
43
src_unpack() {
44
	unpack ${A}
45
	cd "${S}"
46
	epatch "${FILESDIR}/${P}-gcc43.patch"
47
}
48
49
src_compile() {
44
	local myconf
50
	local myconf
45
51
46
	myconf="${myconf} --enable-shared --with-largefile --enable-sys-readline"
52
	myconf="${myconf} --enable-shared --with-largefile --enable-sys-readline"
47
53
48
	if use python; then
54
	if use python; then
Lines 81-91 Link Here
81
		${myconf}
87
		${myconf}
82
88
83
	emake || die "emake failed."
89
	emake || die "emake failed."
84
}
90
}
85
91
86
src_install () {
92
src_install() {
87
	emake DESTDIR="${D}" install || die "emake install failed."
93
	emake DESTDIR="${D}" install || die "emake install failed."
88
94
89
	if use python; then
95
	if use python; then
90
		cd pyecasound
96
		cd pyecasound
91
		python -c "import compileall; compileall.compile_dir('.')" || die
97
		python -c "import compileall; compileall.compile_dir('.')" || die

Return to bug 220429