summaryrefslogtreecommitdiff
blob: b6e30cd1865b78a8634d824baa2c013484f367f7 (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
# Copyright 1999-2002 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License, v2 or later
# Maintainer: Will Glynn <delta407@lerfjhax.com> 
# $Header: /var/cvsroot/gentoo-x86/media-sound/audacity/audacity-1.0.0.ebuild,v 1.2 2002/06/23 21:19:57 rphillips Exp $

DESCRIPTION="A free, crossplatform audio editor."
SRC_URI="mirror://sourceforge/audacity/audacity-src-1.0.0.tgz"
HOMEPAGE="http://audacity.sourceforge.net/"
LICENSE="GPL-2"

# doesn't compile with wxGTK-2.3.2

DEPEND="virtual/glibc
	=x11-libs/wxGTK-2.2.9
	oggvorbis? ( media-libs/libvorbis )"

RDEPEND="virtual/glibc
	=x11-libs/wxGTK-2.2.9
	oggvorbis? ( media-libs/libvorbis )"

src_compile() {

	local myconf="--with-id3"

	use oggvorbis && myconf="${myconf} --with-vorbis"

	# arts is broken! :(
	# use arts && myconf="${myconf} --with-arts-soundserver"
	
	cd ${WORKDIR}/audacity-src-1.0.0
	./configure --prefix=/usr \
			$myconf || die

	emake || die
}

src_install () {
	cd ${WORKDIR}/audacity-src-1.0.0
	
	export PREFIX=${D}/usr
	make -e install || die
}