blob: 3cc1045278f9f5eeb2a6ea79ef7d425415b11adf (
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
|
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-sound/specimen/specimen-0.5.2_rc3.ebuild,v 1.4 2007/11/07 17:24:00 armin76 Exp $
inherit eutils
MY_P=${P/_/-}
DESCRIPTION="A Midi Controllable Audio Sampler"
HOMEPAGE="http://zhevny.com/specimen"
SRC_URI="http://zhevny.com/${PN}/files/${MY_P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~ppc sparc x86"
IUSE="lash"
RDEPEND="media-sound/jack-audio-connection-kit
>=media-libs/alsa-lib-0.9
media-libs/libsamplerate
media-libs/libsndfile
>=media-libs/phat-0.4
dev-libs/libxml2
>=x11-libs/gtk+-2
gnome-base/libgnomecanvas
lash? ( media-sound/lash )"
DEPEND="${RDEPEND}
dev-util/pkgconfig"
S="${WORKDIR}"/${MY_P}
src_unpack() {
unpack ${A}
cd "${S}"
sed -e "s:-Werror::" -e "s:-O3:${CFLAGS}:" -i configure
}
src_compile() {
econf $(use_enable lash)
emake || die "emake failed."
}
src_install() {
emake DESTDIR="${D}" install || die "emake install failed."
dodoc AUTHORS BUGS ChangeLog NEWS PROFILE \
README ROADMAP TODO STYLE TODO WISHLIST
doicon pixmaps/${PN}.png
make_desktop_entry ${PN} Specimen ${PN}
}
|