blob: 1ced5d0b6127403f247dd90b958646029377351c (
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
|
# Copyright 1999-2008 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.5 2008/12/19 14:28:30 aballier 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-0.109.2
>=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
epatch "${FILESDIR}/${P}-jackmidi.patch"
}
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}
}
|