blob: 0b8b058046966aa11088c0914973741147b237d3 (
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
51
52
53
54
55
56
|
# 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.7 2003/02/18 02:50:23 raker Exp $
inherit eutils
DESCRIPTION="A free, crossplatform audio editor."
HOMEPAGE="http://audacity.sourceforge.net/"
SRC_URI="mirror://sourceforge/${PN}/${PN}-src-${PV}-3.tgz"
LICENSE="GPL-2"
IUSE="oggvorbis"
SLOT="0"
KEYWORDS="x86"
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 )"
S="${WORKDIR}/${PN}-src-${PV}-3"
src_unpack() {
if [ `use gtk2` ]; then
eerror ""
eerror "Audacity will not build with wxGTK compiled"
eerror "against gtk2. Make sure you have set"
eerror "-gtk2 in use for this program to compile"
eerror ""
die "Make sure -gtk2 is in USE"
fi
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
}
|