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

Contents of /media-libs/flac/flac-1.1.0-r2.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.13 - (show annotations) (download)
Thu Aug 25 10:39:17 2005 UTC (14 years, 1 month ago) by flameeyes
Branch: MAIN
CVS Tags: HEAD
Changes since 1.12: +1 -1 lines
FILE REMOVED
Removed 1.1.0 series and 1.1.2-r1 ebuild.
(Portage version: 2.0.51.22)

1 # Copyright 1999-2005 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/media-libs/flac/flac-1.1.0-r2.ebuild,v 1.12 2005/05/15 02:22:05 flameeyes Exp $
4
5 inherit libtool eutils flag-o-matic toolchain-funcs
6
7 DESCRIPTION="free lossless audio encoder which includes an XMMS plugin"
8 HOMEPAGE="http://flac.sourceforge.net/"
9 SRC_URI="mirror://sourceforge/flac/${P}.tar.gz"
10
11 LICENSE="GPL-2 LGPL-2"
12 SLOT="0"
13 KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 sparc x86"
14 IUSE="sse xmms"
15
16 RDEPEND=">=media-libs/libogg-1.0_rc2
17 xmms? ( media-sound/xmms )"
18 DEPEND="${RDEPEND}
19 x86? ( dev-lang/nasm )
20 sys-apps/gawk"
21
22 src_unpack() {
23 unpack ${A}
24 cd ${S}
25 if ! use xmms
26 then
27 cp src/Makefile.in src/Makefile.in.orig
28 sed -e '/^@FLaC__HAS_XMMS_TRUE/d' src/Makefile.in.orig > src/Makefile.in || die
29 fi
30
31 epatch ${FILESDIR}/${P}-m4.patch
32 epatch ${FILESDIR}/${P}-libtool.patch
33
34 elibtoolize --reverse-deps
35 }
36
37 src_compile() {
38 use hppa && [ "`gcc-fullversion`" == "3.4.0" ] && replace-cpu-flags 2.0 1.0
39
40 econf \
41 --with-pic \
42 `use_enable sse` \
43 || die
44
45 # the man page ebuild requires docbook2man... yick!
46 sed -i -e 's:include man:include:g' Makefile
47
48 # emake seems to mess up the building of the xmms input plugin
49 make || die
50 }
51
52 src_install() {
53 make DESTDIR=${D} install || die
54 }
55
56 # see #59482
57 src_test() { :; }

  ViewVC Help
Powered by ViewVC 1.1.20