Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 38006
Collapse All | Expand All

(-)/usr/portage/media-sound/lame/lame-3.93.1-r1.ebuild (-12 / +8 lines)
Lines 1-16 Link Here
1
# Copyright 1999-2003 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: /home/cvsroot/gentoo-x86/media-sound/lame/lame-3.93.1-r1.ebuild,v 1.10 2003/11/22 07:26:00 vapier Exp $
3
# $Header: $
4
4
5
inherit flag-o-matic gcc
5
inherit flag-o-matic gcc
6
6
7
DESCRIPTION="LAME Ain't an Mp3 Encoder"
7
DESCRIPTION="LAME Ain't an Mp3 Encoder"
8
HOMEPAGE="http://www.mp3dev.org/mp3/"
8
HOMEPAGE="http://www.mp3dev.org/"
9
SRC_URI="mirror://sourceforge/lame/${P}.tar.gz"
9
SRC_URI="mirror://sourceforge/lame/${P}.tar.gz"
10
10
11
LICENSE="LGPL-2.1"
11
LICENSE="LGPL-2.1"
12
SLOT="0"
12
SLOT="0"
13
KEYWORDS="x86 ppc sparc alpha hppa amd64"
13
KEYWORDS="~x86"
14
IUSE="gtk debug"
14
IUSE="gtk debug"
15
15
16
RDEPEND=">=sys-libs/ncurses-5.2
16
RDEPEND=">=sys-libs/ncurses-5.2
Lines 18-29 Link Here
18
DEPEND="${RDEPEND}
18
DEPEND="${RDEPEND}
19
	x86? ( dev-lang/nasm )"
19
	x86? ( dev-lang/nasm )"
20
20
21
# this release completely removed oggvorbis support as it was too outdated.
22
src_compile() {
21
src_compile() {
23
	# fix gtk detection
24
	cp configure configure.orig
25
	sed -e "s:gtk12-config:gtk-config:" < configure.orig > configure
26
27
	# take out -fomit-frame-pointer from CFLAGS if k6-2
22
	# take out -fomit-frame-pointer from CFLAGS if k6-2
28
	is-flag "-march=k6-3" && filter-flags "-fomit-frame-pointer"
23
	is-flag "-march=k6-3" && filter-flags "-fomit-frame-pointer"
29
	is-flag "-march=k6-2" && filter-flags "-fomit-frame-pointer"
24
	is-flag "-march=k6-2" && filter-flags "-fomit-frame-pointer"
Lines 36-42 Link Here
36
		myconf="${myconf} --enable-mp3x"
31
		myconf="${myconf} --enable-mp3x"
37
	fi
32
	fi
38
	[ `use debug` ] \
33
	[ `use debug` ] \
39
		&& myconf="${myconf} --enable-debug=yes" \
34
		&& myconf="${myconf} --enable-debug=norm" \
40
		|| myconf="${myconf} --enable-debug=no"
35
		|| myconf="${myconf} --enable-debug=no"
41
36
42
	econf \
37
	econf \
Lines 53-58 Link Here
53
	einstall \
48
	einstall \
54
		pkghtmldir=${D}/usr/share/doc/${PF}/html || die
49
		pkghtmldir=${D}/usr/share/doc/${PF}/html || die
55
50
56
	dodoc API COPYING HACKING PRESETS.draft LICENSE README* TODO USAGE
51
	dodoc API COPYING ChangeLog HACKING LICENSE PRESETS.draft README* \
57
	dohtml -r ./
52
		STYLEGUIDE TODO USAGE
53
	dohtml Dll/LameDLLInterface.htm
58
}
54
}

Return to bug 38006