blob: ecbbbf85dbec157eb4fa9eb51ce355c993ca6ec8 (
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
|
# Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-sound/audacity/audacity-1.1.1-r1.ebuild,v 1.5 2003/02/13 13:07:59 vapier Exp $
IUSE="oggvorbis"
DESCRIPTION="A free, crossplatform audio editor."
HOMEPAGE="http://audacity.sourceforge.net/"
LICENSE="GPL-2"
DEPEND=">=x11-libs/wxGTK-2.2.9
>=app-arch/zip-2.3
>=media-sound/mad-0.14
>=media-libs/id3lib-3.8.0
>=media-libs/libsndfile-1.0.0
oggvorbis? ( >=media-libs/libvorbis-1.0 )"
SLOT="0"
KEYWORDS="x86"
SRC_URI="mirror://sourceforge/${PN}/${PN}-src-${PV}-3.tgz"
S="${WORKDIR}/${PN}-src-${PV}-3"
inherit eutils
src_unpack() {
unpack ${PN}-src-${PV}-3.tgz
cd ${S}
epatch ${FILESDIR}/mono_mp3_export.patch || die
}
src_compile() {
econf --with-libsndfile=system || die
MAKEOPTS=-j1 emake || die
}
src_install () {
make PREFIX="${D}/usr" install || die
dodoc LICENSE.txt README.txt
insinto /etc/skel
newins ${FILESDIR}/basecfg-1.1.1 .Audacity
}
pkg_postinst() {
einfo ""
einfo "If you built Audacity against wxGTK-2.4.0 you must..."
einfo "cp /etc/skel/.Audacity ~"
einfo ""
}
|