blob: deab3aab87ed7c7679788700b8784f4dc3a31546 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
|
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-sound/amsynth/amsynth-1.1.0.ebuild,v 1.1 2006/07/08 22:25:47 fvdpol Exp $
IUSE="oss alsa jack"
inherit eutils
MY_P=${P/_rc/-rc}
MY_P=${MY_P/amsynth/amSynth}
DESCRIPTION="amSynth stands for Analogue Modeling SYNTHesizer. It provides virtual analogue synthesis in the style of the classic Moog Minimoog/Roland Junos."
HOMEPAGE="http://amsynthe.sourceforge.net/"
SRC_URI="mirror://sourceforge/amsynthe/${MY_P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~sparc ~x86"
# libsndfile support is actually optional, but IMHO this package should have it
DEPEND=">=dev-cpp/gtkmm-2.4
>=media-libs/libsndfile-1.0
alsa? ( >=media-libs/alsa-lib-0.9 media-sound/alsa-utils )
jack? ( media-sound/jack-audio-connection-kit )"
S="${WORKDIR}/${MY_P}"
src_unpack() {
unpack ${A}
cd ${S}
epatch "${FILESDIR}/${P}-gcc4.patch"
}
src_compile() {
econf `use_with oss` `use_with alsa` `use_with jack` || die "configure failed"
emake || die
}
src_install() {
make DESTDIR=${D} install || die
}
pkg_postinst() {
einfo
einfo "amSynth has been installed normally."
einfo "If you would like to use the virtual"
einfo "keyboard option, then do"
einfo "emerge vkeybd"
einfo "and make sure you emerged amSynth"
einfo "with alsa support (USE=alsa)"
einfo
}
|