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/fluidsynth/fluidsynth-1.0.7.ebuild,v 1.8 2006/10/31 22:39:35 the_paya Exp $ |
3 |
# $Header: /var/cvsroot/gentoo-x86/media-sound/fluidsynth/fluidsynth-1.0.7.ebuild,v 1.8 2006/10/31 22:39:35 the_paya Exp $ |
4 |
|
4 |
|
5 |
IUSE="alsa jack lash static" |
|
|
6 |
|
7 |
inherit flag-o-matic eutils |
5 |
inherit flag-o-matic eutils |
8 |
|
6 |
|
9 |
RELEASE_SUFFIX="a" |
7 |
RELEASE_SUFFIX="a" |
Lines 14-39
Link Here
|
14 |
LICENSE="GPL-2" |
12 |
LICENSE="GPL-2" |
15 |
SLOT="0" |
13 |
SLOT="0" |
16 |
KEYWORDS="amd64 ppc sparc x86 ~x86-fbsd" |
14 |
KEYWORDS="amd64 ppc sparc x86 ~x86-fbsd" |
|
|
15 |
IUSE="alsa coreaudio debug jack ladspa lash midishare oss static sse" |
17 |
|
16 |
|
18 |
DEPEND="jack? ( media-sound/jack-audio-connection-kit ) |
17 |
DEPEND="jack? ( media-sound/jack-audio-connection-kit ) |
19 |
media-libs/ladspa-sdk |
18 |
ladspa? ( >=media-libs/ladspa-sdk-1.12 |
|
|
19 |
>=media-libs/ladspa-cmt-1.15 ) |
20 |
alsa? ( media-libs/alsa-lib |
20 |
alsa? ( media-libs/alsa-lib |
21 |
lash? ( >=media-sound/lash-0.5 ) )" |
21 |
lash? ( >=media-sound/lash-0.5 ) )" |
22 |
|
22 |
|
23 |
# Alsa is required for lash support in this package. |
23 |
pkg_setup() { |
|
|
24 |
# alsa is required for lash support in this package. |
25 |
if use lash && ! use alsa; then |
26 |
ewarn " " |
27 |
ewarn "alsa is required for lash support in this package" |
28 |
ewarn "please enable alsa support " |
29 |
ewarn " " |
30 |
die |
31 |
fi |
32 |
} |
24 |
|
33 |
|
25 |
src_compile() { |
34 |
src_compile() { |
26 |
local myconf |
35 |
# ladcca support is deprecated in place of lash |
27 |
myconf="--enable-ladspa `use_enable jack jack-support` `use_enable static`" |
36 |
econf \ |
28 |
|
37 |
--disable-ladcca \ |
29 |
if use alsa; then |
38 |
$(use_enable ladspa ladspa) \ |
30 |
myconf="${myconf} --enable-alsa `use_enable lash`" |
39 |
$(use_enable jack jack-support) \ |
31 |
else |
40 |
$(use_enable static static) \ |
32 |
myconf="${myconf} --disable-alsa --disable-lash" |
41 |
$(use_enable alsa alsa) \ |
33 |
fi |
42 |
$(use_enable coreadio coreaudio) \ |
|
|
43 |
$(use_enable oss oss) \ |
44 |
$(use_enable lash lash) \ |
45 |
$(use_enable midishare midishare) \ |
46 |
$(use_enable sse sse) \ |
47 |
$(use_enable debug debug) \ |
48 |
${myconf} || die "econf failed" |
34 |
|
49 |
|
35 |
econf ${myconf} || die "./configure failed" |
50 |
emake || die "emake failed" |
36 |
emake || die |
|
|
37 |
} |
51 |
} |
38 |
|
52 |
|
39 |
src_install() { |
53 |
src_install() { |