Lines 1-6
Link Here
|
1 |
# Copyright 1999-2004 Gentoo Technologies, Inc. |
1 |
# Copyright 1999-2004 Gentoo Technologies, Inc. |
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/www/www.gentoo.org/raw_cvs/gentoo-x86/media-sound/easytag/easytag-0.31_pre2.ebuild,v 1.4 2004/04/09 17:49:42 mr_bones_ Exp $ |
3 |
# $Header: $ |
4 |
|
4 |
|
5 |
IUSE="nls oggvorbis flac gtk2" |
5 |
IUSE="nls oggvorbis flac gtk2" |
6 |
|
6 |
|
Lines 12-25
Link Here
|
12 |
gtk2? http://www.reactivated.net/patches/easytag-0.30/${MY_P}-dsd1.patch" |
12 |
gtk2? http://www.reactivated.net/patches/easytag-0.30/${MY_P}-dsd1.patch" |
13 |
HOMEPAGE="http://easytag.sourceforge.net/" |
13 |
HOMEPAGE="http://easytag.sourceforge.net/" |
14 |
|
14 |
|
15 |
RDEPEND=">=sys-devel/autoconf-2.53 |
15 |
RDEPEND=">=media-libs/id3lib-3.8.2 |
16 |
>=media-libs/id3lib-3.8.2 |
16 |
gtk2? ( =x11-libs/gtk+-2.4* ) |
17 |
gtk2? ( >=x11-libs/gtk+-2.4.0 ) |
|
|
18 |
!gtk2? ( =x11-libs/gtk+-1.2* ) |
17 |
!gtk2? ( =x11-libs/gtk+-1.2* ) |
19 |
flac? ( >=media-libs/flac-1.1.0 ) |
18 |
flac? ( >=media-libs/flac-1.1.0 ) |
20 |
oggvorbis? ( >=media-libs/libvorbis-1.0_beta4 )" |
19 |
oggvorbis? ( >=media-libs/libvorbis-1.0_beta4 )" |
21 |
|
20 |
|
22 |
DEPEND="${RDEPEND} |
21 |
DEPEND="${RDEPEND} |
|
|
22 |
=sys-devel/automake-1.7* |
23 |
=sys-devel/autoconf-2.5* |
23 |
>=sys-apps/sed-4.0.5" |
24 |
>=sys-apps/sed-4.0.5" |
24 |
|
25 |
|
25 |
SLOT="0" |
26 |
SLOT="0" |
Lines 31-36
Link Here
|
31 |
cd ${S} |
32 |
cd ${S} |
32 |
if [ `use gtk2` ] ; then |
33 |
if [ `use gtk2` ] ; then |
33 |
epatch ${DISTDIR}/${MY_P}-dsd1.patch |
34 |
epatch ${DISTDIR}/${MY_P}-dsd1.patch |
|
|
35 |
epatch ${FILESDIR}/${MY_P}-fix-gettext.patch |
34 |
export WANT_AUTOMAKE=1.7 |
36 |
export WANT_AUTOMAKE=1.7 |
35 |
export WANT_AUTOCONF=2.5 |
37 |
export WANT_AUTOCONF=2.5 |
36 |
ebegin "Remaking configure script (be patient)" |
38 |
ebegin "Remaking configure script (be patient)" |
Lines 46-55
Link Here
|
46 |
src_compile() { |
48 |
src_compile() { |
47 |
local myconf |
49 |
local myconf |
48 |
|
50 |
|
49 |
#use_enable breaks this |
|
|
50 |
use oggvorbis || myconf="--disable-ogg" |
51 |
|
52 |
econf \ |
51 |
econf \ |
|
|
52 |
`use_enable oggvorbis ogg` \ |
53 |
`use_enable nls` \ |
53 |
`use_enable nls` \ |
54 |
`use_enable flac` \ |
54 |
`use_enable flac` \ |
55 |
${myconf} || die "econf failed" |
55 |
${myconf} || die "econf failed" |