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

(-)audicle-1.0.0.7.ebuild (-5 / +5 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/audicle/audicle-1.0.0.7.ebuild,v 1.2 2012/05/05 08:11:27 mgorny Exp $
3
# $Header: /var/cvsroot/gentoo-x86/media-sound/audicle/audicle-1.0.0.7.ebuild,v 1.2 2012/05/05 08:11:27 mgorny Exp $
4
4
5
EAPI=2
5
EAPI=5
6
inherit eutils toolchain-funcs flag-o-matic
6
inherit eutils flag-o-matic
7
7
8
DESCRIPTION="A Context-sensitive, On-the-fly Audio Programming Environ/mentality"
8
DESCRIPTION="A Context-sensitive, On-the-fly Audio Programming Environ/mentality"
9
HOMEPAGE="http://audicle.cs.princeton.edu/"
9
HOMEPAGE="http://audicle.cs.princeton.edu/"
Lines 11-17 Link Here
11
11
12
LICENSE="GPL-2"
12
LICENSE="GPL-2"
13
SLOT="0"
13
SLOT="0"
14
KEYWORDS="~x86"
14
KEYWORDS="~x86 ~amd64"
15
IUSE="+alsa jack oss truetype"
15
IUSE="+alsa jack oss truetype"
16
16
17
RDEPEND="jack? ( media-sound/jack-audio-connection-kit )
17
RDEPEND="jack? ( media-sound/jack-audio-connection-kit )
Lines 38-44 Link Here
38
	sed -i \
38
	sed -i \
39
		-e "s@../ftgl_lib/FTGL/include@/usr/include/FTGL@" \
39
		-e "s@../ftgl_lib/FTGL/include@/usr/include/FTGL@" \
40
		-e "s@../ftgl_lib/FTGL/mac/build@/usr/lib@" \
40
		-e "s@../ftgl_lib/FTGL/mac/build@/usr/lib@" \
41
		-e "s/gcc -o/\$(CC) -o/" \
41
		-e "s/gcc -o/\$(CC) \$(LDFLAGS) -o/" \
42
		-e "s/-O3 -c/-c \$(CFLAGS)/" \
42
		-e "s/-O3 -c/-c \$(CFLAGS)/" \
43
		src/makefile.{alsa,jack,oss} || die "sed failed"
43
		src/makefile.{alsa,jack,oss} || die "sed failed"
44
}
44
}
Lines 57-63 Link Here
57
	einfo "Compiling against ${backend}"
57
	einfo "Compiling against ${backend}"
58
	cd "${S}/src"
58
	cd "${S}/src"
59
	emake -f "makefile.${backend}" CC=$(tc-getCC) CXX=$(tc-getCXX) LEX=flex \
59
	emake -f "makefile.${backend}" CC=$(tc-getCC) CXX=$(tc-getCXX) LEX=flex \
60
		YACC=bison ${config} || die "emake failed"
60
		YACC=bison ${config} LDFLAGS="${LDFLAGS}"
61
	mv audicle{,-${backend}}
61
	mv audicle{,-${backend}}
62
	emake -f makefile clean
62
	emake -f makefile clean
63
}
63
}

Return to bug 333731