summaryrefslogtreecommitdiff
blob: 11e15dcf02ad6926b38310e4c69a910e18fa4c3b (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
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-sound/specimen/specimen-0.4.1.ebuild,v 1.2 2004/06/30 07:48:26 dholm Exp $

DESCRIPTION="A Midi Controllable Audio Sampler"
HOMEPAGE="http://www.gazuga.net"
SRC_URI="http://www.gazuga.net/files/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~x86 ~ppc"

IUSE="ladcca debug"

DEPEND="virtual/jack
	virtual/alsa
	media-libs/libsamplerate
	media-libs/libsndfile
	dev-libs/libxml2
	>x11-libs/gtk+-2*
	gnome-base/libgnomecanvas
	ladcca? ( media-libs/ladcca )"

src_compile() {
	local myconf;
	use ladcca || myconf="${myconf} --disable-ladcca"
	use debug || myconf="${myconf} --disable-debug"
	econf ${myconf} || die
	emake || die
}

src_install() {
	make DESTDIR=${D} install || die
	#dobin src/specimen
	dodoc AUTHORS COPYING ChangeLog NEWS README TODO
}