summaryrefslogtreecommitdiff
blob: 80c46033f162ce9f07cefcf52064f1df5a702bc5 (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
# Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-sound/sweep/sweep-0.8.1.ebuild,v 1.1 2003/03/15 08:34:58 jje Exp $

DESCRIPTION="Sweep is an audio editor and live playback tool for GNU/Linux, BSD and compatible systems."
HOMEPAGE="http://www.metadecks.org/software/sweep/"
SRC_URI="mirror://sourceforge/sweep/${P}.tar.gz"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~x86 ~ppc ~sparc ~hppa ~mips ~alpha"

IUSE="alsa oggvorbis"

DEPEND=">=x11-libs/gtk+-1.2
	>=media-libs/libsndfile-1.0
	media-libs/libsamplerate
	dev-libs/tdb
	dev-util/pkgconfig
	oggvorbis? ( >=media-libs/libvorbis-1.0-r2 media-libs/libogg )
	media-sound/mad
	media-libs/speex
	alsa? ( >=media-libs/alsa-lib-0.9.0_rc1 )"

S=${WORKDIR}/${P}

src_compile() {
	local myconf
	use alsa && myconf="--enable-alsa"
	use oggvorbis || myconf="${myconf} --disable-oggvorbis"
	econf ${myconf}
	emake || die
}

src_install() {
	einstall
}