/[gentoo-x86]/media-libs/flac/flac-1.0.4.ebuild
Gentoo

Contents of /media-libs/flac/flac-1.0.4.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.12 - (show annotations) (download)
Thu Apr 15 18:56:51 2004 UTC (15 years, 6 months ago) by vapier
Branch: MAIN
CVS Tags: HEAD
Changes since 1.11: +1 -1 lines
FILE REMOVED
old

1 # Copyright 1999-2004 Gentoo Technologies, Inc.
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /home/cvsroot/gentoo-x86/media-libs/flac/flac-1.0.4.ebuild,v 1.11 2004/03/19 07:56:03 mr_bones_ Exp $
4
5 inherit libtool
6
7 DESCRIPTION="free lossless audio encoder which includes an XMMS plugin"
8 SRC_URI="mirror://sourceforge/flac/${P}.tar.gz"
9 RESTRICT="nomirror"
10 HOMEPAGE="http://flac.sourceforge.net/"
11
12 SLOT="0"
13 LICENSE="GPL-2 LGPL-2"
14 KEYWORDS="x86 ppc ~sparc"
15 IUSE="sse xmms"
16
17 RDEPEND="virtual/glibc
18 >=media-libs/libogg-1.0_rc2
19 xmms? ( media-sound/xmms )"
20 DEPEND="${RDEPEND}
21 x86? ( dev-lang/nasm )
22 sys-apps/gawk"
23
24 src_compile() {
25 use xmms || {
26 cp src/Makefile.in src/Makefile.in.orig
27 sed -e '/^@FLaC__HAS_XMMS_TRUE/d' \
28 src/Makefile.in.orig > src/Makefile.in
29 }
30
31 elibtoolize --reverse-deps
32
33 local myconf
34
35 use sse && myconf="--enable-sse"
36
37 #--use-3dnow is documented but apparently not yet enabled.
38 #use 3dnow && myconf="${myconf} --use-3dnow"
39
40 econf ${myconf} || die
41 cp Makefile Makefile.orig
42
43 #the man page ebuild requires docbook2man... yick!
44 sed -e 's:include man:include:g' Makefile.orig > Makefile
45
46 #emake seems to mess up the building of the xmms input plugin
47 make || die
48 }
49
50 src_install() {
51 make DESTDIR=${D} install || die
52 }

  ViewVC Help
Powered by ViewVC 1.1.20