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

Collapse All | Expand All

(-)file_not_specified_in_diff (-9 / +18 lines)
Line  Link Here
0
-- a2jmidid-6.ebuild
0
++ a2jmidid-6.ebuild
Lines 2-8 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/a2jmidid/a2jmidid-6.ebuild,v 1.2 2012/05/05 08:02:52 mgorny Exp $
3
# $Header: /var/cvsroot/gentoo-x86/media-sound/a2jmidid/a2jmidid-6.ebuild,v 1.2 2012/05/05 08:02:52 mgorny Exp $
4
4
5
inherit toolchain-funcs
5
EAPI="4"
6
PYTHON_DEPEND="2"
7
8
inherit python toolchain-funcs waf-utils
6
9
7
DESCRIPTION="Daemon for exposing legacy ALSA sequencer applications in JACK MIDI system."
10
DESCRIPTION="Daemon for exposing legacy ALSA sequencer applications in JACK MIDI system."
8
HOMEPAGE="http://home.gna.org/a2jmidid/"
11
HOMEPAGE="http://home.gna.org/a2jmidid/"
Lines 17-32 Link Here
17
	media-sound/jack-audio-connection-kit
20
	media-sound/jack-audio-connection-kit
18
	sys-apps/dbus"
21
	sys-apps/dbus"
19
DEPEND="${RDEPEND}
22
DEPEND="${RDEPEND}
20
	virtual/pkgconfig
23
	virtual/pkgconfig"
21
	dev-lang/python"
24
25
DOCS=(AUTHORS README NEWS internals.txt)
26
27
pkg_setup() {
28
	python_set_active_version 2
29
	python_pkg_setup
30
}
22
31
23
src_compile() {
32
src_configure() {
33
	WAF_BINARY="./waf"
24
	tc-export CC AR CPP LD RANLIB
34
	tc-export CC AR CPP LD RANLIB
25
	./waf configure --prefix=/usr || die "failed to configure"
35
	CCFLAGS="${CFLAGS}" LINKFLAGS="${LDFLAGS}" ${WAF_BINARY} configure --prefix="${EPREFIX}/usr" || die "failed to configure"
26
	./waf || die "failed to build"
27
}
36
}
28
37
29
src_install() {
38
src_install() {
30
	./waf --destdir="${D}" install || die "install failed"
39
	waf-utils_src_install
31
	dodoc AUTHORS README NEWS internals.txt
40
	python_convert_shebangs -r 2 "${ED}"
32
}
41
}

Return to bug 313931