Lines 1-10
Link Here
|
1 |
# Copyright 1999-2005 Gentoo Foundation |
1 |
# Copyright 1999-2005 Gentoo Foundation |
2 |
# Distributed under the terms of the GNU General Public License v2 |
2 |
# Distributed under the terms of the GNU General Public License v2 |
3 |
# $Header: /var/cvsroot/gentoo-x86/media-sound/audacity/audacity-1.2.3-r1.ebuild,v 1.3 2005/09/17 19:45:35 halcy0n Exp $ |
3 |
# $Header: $ |
4 |
|
4 |
|
5 |
inherit wxwidgets eutils |
5 |
inherit wxwidgets eutils |
6 |
|
6 |
|
7 |
IUSE="gtk2 encode flac mad oggvorbis libsamplerate" |
7 |
IUSE="gtk2 encode mad ogg vorbis" |
8 |
|
8 |
|
9 |
MY_PV="${PV/_/-}" |
9 |
MY_PV="${PV/_/-}" |
10 |
MY_P="${PN}-src-${MY_PV}" |
10 |
MY_P="${PN}-src-${MY_PV}" |
Lines 22-44
Link Here
|
22 |
|
22 |
|
23 |
DEPEND="=x11-libs/wxGTK-2.4* |
23 |
DEPEND="=x11-libs/wxGTK-2.4* |
24 |
>=app-arch/zip-2.3 |
24 |
>=app-arch/zip-2.3 |
25 |
>=media-libs/id3lib-3.8.0 |
|
|
26 |
media-libs/libid3tag |
25 |
media-libs/libid3tag |
27 |
>=media-libs/libsndfile-1.0.0 |
26 |
>=media-libs/libsndfile-1.0.0 |
28 |
libsamplerate? ( >=media-libs/libsamplerate-0.0.14 ) |
27 |
ogg? ( >=media-libs/libvorbis-1.0 ) |
29 |
>=media-libs/ladspa-sdk-1.12 |
28 |
vorbis? ( >=media-libs/libvorbis-1.0 ) |
30 |
flac? ( media-libs/flac ) |
|
|
31 |
oggvorbis? ( >=media-libs/libvorbis-1.0 ) |
32 |
mad? ( media-libs/libmad ) |
29 |
mad? ( media-libs/libmad ) |
33 |
encode? ( >=media-sound/lame-3.92 )" |
30 |
encode? ( >=media-sound/lame-3.92 )" |
34 |
|
31 |
|
35 |
WX_GTK_VER="2.4" |
32 |
WX_GTK_VER="2.4" |
36 |
|
33 |
|
37 |
src_unpack() { |
|
|
38 |
unpack "${A}" |
39 |
epatch "${FILESDIR}"/${P}-x86.patch #bug #73248 |
40 |
} |
41 |
|
42 |
src_compile() { |
34 |
src_compile() { |
43 |
if ! use gtk2; then |
35 |
if ! use gtk2; then |
44 |
need-wxwidgets gtk || die "No gtk1 version of x11-libs/wxGTK found" |
36 |
need-wxwidgets gtk || die "No gtk1 version of x11-libs/wxGTK found" |
Lines 46-56
Link Here
|
46 |
need-wxwidgets gtk2 || die "No gtk2 version of x11-libs/wxGTK found" |
38 |
need-wxwidgets gtk2 || die "No gtk2 version of x11-libs/wxGTK found" |
47 |
fi |
39 |
fi |
48 |
|
40 |
|
|
|
41 |
filter-flags "-fPIC" |
42 |
filter-flags "-fpic" |
43 |
|
49 |
econf \ |
44 |
econf \ |
50 |
$(use_with mad libmad system) \ |
45 |
$(use_with mad libmad system) \ |
51 |
$(use_with oggvorbis vorbis system) \ |
46 |
$(use_with ogg vorbis system) \ |
52 |
$(use_with flac libflac system) \ |
47 |
$(use_with vorbis vorbis system) \ |
53 |
$(use_with libsamplerate system) \ |
48 |
--without-flac \ |
54 |
--with-id3tag=system \ |
49 |
--with-id3tag=system \ |
55 |
--with-libsndfile=system \ |
50 |
--with-libsndfile=system \ |
56 |
${myconf} || die |
51 |
${myconf} || die |