Portage is a package management system used by Gentoo Linux
# ChangeLog for media-libs/flac
# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2
# $Header: /var/cvsroot/gentoo-x86/media-libs/flac/ChangeLog,v 1.142 2008/07/03 21:47:46 aballier Exp $
03 Jul 2008; Alexis Ballier
Dont needlessly restrict tests, just disable them if running as root as
they are expected to fail in that case.
16 Jun 2008; Diego Pettenò
+files/flac-1.2.1-dontbuild-examples.patch,
+files/flac-1.2.1-dontbuild-tests.patch,
-files/flac-1.2.1-tests-optional.patch, flac-1.2.1-r3.ebuild:
Replace the patch to disable tests with two, one disable examples and one
makes the test build during 'make check'.
*flac-1.2.1-r3 (13 Jun 2008)
13 Jun 2008; Peter Alfredsen
+files/flac-1.2.1-tests-optional.patch, +flac-1.2.1-r3.ebuild:
Don't build tests and examples which aren't installed anyway wrt bug
226301.
15 May 2008; Samuli Suominen
Revert commit for bug 173464, it doesn't solve the entire problem. Stop
wasting time with this too long, and known to fail testsuite wrt #197122.
12 May 2008; Markus Rothe
Stable on ppc64
16 Mar 2008; Samuli Suominen
flac-1.2.1-r2.ebuild:
amd64 stable. remove old for repoman, has unstable mips deps.
21 Feb 2008; Samuli Suominen
Use copy of m4 directory from gettext-0.17 to provide AM_ICONV for
eautoreconf wrt #173464, thanks to Natanael Copa for reporting.
10 Jan 2008; Samuli Suominen
-flac-1.1.4.ebuild:
Remove vulnerable version but leave one ebuild behind for mips wrt #195700
18 Nov 2007; Alexis Ballier
+files/flac-1.2.1-gcc-4.3-includes.patch, flac-1.2.1-r2.ebuild:
fix building with gcc 4.3, thanks to Ryan Hill
#199579
*flac-1.2.1-r2 (18 Nov 2007)
18 Nov 2007; Alexis Ballier
Make FLAC++ optional, enabled by default thanks to EAPI=1
01 Nov 2007; Raúl Porcel
sparc stable, thanks to Alex Maclean for testing
24 Oct 2007; Tobias Scherbaum
flac-1.2.1-r1.ebuild:
ppc stable, bug #195700
23 Oct 2007; Markus Rothe
Stable on ppc64; bug #195700
22 Oct 2007; Raúl Porcel
alpha/ia64 stable wrt #195700
22 Oct 2007; Jeroen Roovers
Reverting sparc stabilisation due to reverse dependencies I cannot test.
22 Oct 2007; Jeroen Roovers
Stable for HPPA and SPARC (bug #195700).
21 Oct 2007; Steve Dibb
Add test restriction, amd64 stable
21 Oct 2007; Markus Meier
x86 stable, security bug #195700
13 Oct 2007; Markus Rothe
Stable on ppc64; bug #191280
29 Sep 2007; Christian Birchinger
Added sparc stable keyword
*flac-1.2.1-r1 (28 Sep 2007)
28 Sep 2007; Samuli Suominen
+files/flac-1.2.1-asm.patch, +flac-1.2.1-r1.ebuild:
Fix TEXTRELs using patch from PaX Team from bug 193222 and while at it,
attempt to clean up ebuild a bit. Revert last commit restoring elibtoolize
for fbsd since eautoreconf allready does libtoolize.
26 Sep 2007; Raúl Porcel
alpha/ia64 stable wrt #191280
20 Sep 2007; Samuli Suominen
Use elibtoolize for fbsd.
20 Sep 2007;
- fix improper use of hardened flag when pic should be used
*flac-1.2.1 (20 Sep 2007)
20 Sep 2007; Samuli Suominen
+files/flac-1.2.1-asneeded.patch, +files/flac-1.2.1-cflags.patch,
+flac-1.2.1.ebuild:
Version bump.
20 Sep 2007; Lars Weiler
Stable on ppc; bug #191280.
15 Sep 2007; Samuli Suominen
Changed SRC_URI to gentoo mirrors.
10 Sep 2007; Jeroen Roovers
Stable for HPPA (bug #191280).
09 Sep 2007; Christian Faulhammer
stable x86, bug 191280
06 Aug 2007; Samuli Suominen
Fix visibility patch.
06 Aug 2007; Samuli Suominen
Apply patch from upstream to fix bug 187882, thanks to Marty Rosenberg for
reporting.
06 Aug 2007; Joshua Kinard
Stable on mips, per #136490.
05 Aug 2007; Samuli Suominen
files/digest-flac-1.1.2-r8, Manifest:
Fix digests.
*flac-1.2.0 (05 Aug 2007)
05 Aug 2007; Samuli Suominen
Version bump for bug 187199, thanks to Matthew Matts for reporting.
21 May 2007; Raúl Porcel
alpha stable wrt #136490
24 Feb 2007; Alexis Ballier
flac-1.1.2-r8.ebuild, flac-1.1.3.ebuild, flac-1.1.4.ebuild:
Push libogg deps to 1.1.2, bug #167868
17 Feb 2007; Fabian Groffen
flac-1.1.2-r8.ebuild, flac-1.1.3.ebuild, flac-1.1.4.ebuild:
Dropped ppc-macos keyword, see you in prefix
*flac-1.1.4 (14 Feb 2007)
14 Feb 2007; Diego Pettenò
Version bump, hopefully this time API and ABI are the same as 1.1.3 at least.
05 Feb 2007; Alexis Ballier
Add gettext build depend, bug #159596
04 Feb 2007; Steve Dibb
amd64 stable, bug 136490
16 Jan 2007; Jeroen Roovers
Stable for HPPA (bug #136490).
12 Jan 2007; nixnut
Stable on ppc wrt bug 136490
11 Jan 2007; Christian Faulhammer
stable x86, bug #136490
11 Jan 2007; Markus Rothe
Stable on ppc64; bug #136490
10 Jan 2007; Gustavo Zacarias
Stable on sparc wrt #136490
*flac-1.1.3 (03 Dec 2006)
03 Dec 2006; Diego Pettenò
flac-1.1.2-r8.ebuild, -flac-1.1.3_beta2.ebuild, +flac-1.1.3.ebuild:
Bump to flac-1.1.3 final, fix AM_PATH_XMMS removal.
25 Nov 2006; Diego Pettenò
flac-1.1.2-r8.ebuild, flac-1.1.3_beta2.ebuild:
Force the XMMS plugin disabled, now that XMMS is removed, see bug #156187.
07 Nov 2006; Diego Pettenò
flac-1.1.2-r8.ebuild, flac-1.1.3_beta2.ebuild:
Remove xmms useflag in view of the removal of xmms later this month.
19 Oct 2006; Diego Pettenò
-files/flac-1.1.1-libtool.patch, -files/flac-1.1.1-m4.patch,
-flac-1.1.1.ebuild, -flac-1.1.2-r7.ebuild:
Remove old versions.
*flac-1.1.3_beta2 (19 Oct 2006)
19 Oct 2006; Diego Pettenò
+flac-1.1.3_beta2.ebuild:
Add latest beta, package.masked as almost every package breaks with it.
*flac-1.1.2-r8 (26 Sep 2006)
26 Sep 2006; Diego Pettenò
Add a new revision with an improved visibility patch.
24 Sep 2006; Diego Pettenò
-flac-1.1.2-r4.ebuild, -flac-1.1.2-r6.ebuild, flac-1.1.2-r7.ebuild:
Remove unneeded versions, fix autotools mess in -r3 and -r7. Thanks to
Seemant for reporting.
28 Aug 2006; Joshua Kinard
Marked stable on mips.
*flac-1.1.2-r7 (18 Jun 2006)
18 Jun 2006; Diego Pettenò
Add patch to fix strict-aliasing breakage.
*flac-1.1.2-r6 (29 May 2006)
29 May 2006; Diego Pettenò
+flac-1.1.2-r6.ebuild:
Bump patchset with patch to fix bug #134666. Thanks to cuicui for reporting.
28 May 2006; Diego Pettenò
Bump patchlevel to fix side problem, not much.
*flac-1.1.2-r5 (28 May 2006)
28 May 2006; Diego Pettenò
Add new revision that allows use of hidden visibility with GCC 4.1.
26 May 2006; Diego Pettenò
Don't force -j1 for every user, but only if xmms is enabled, so to minimise
the impact.
24 May 2006; Diego Pettenò
Add ~x86-fbsd keyword.
27 Apr 2006; Marien Zwart
files/digest-flac-1.1.2-r3, files/digest-flac-1.1.2-r4, Manifest:
Fixing SHA256 digest, pass four
07 Feb 2006; Aron Griffis
Mark 1.1.2-r3 stable on alpha
28 Jan 2006; Simon Stelling
-files/flac-1.1.1-altivec.patch.gz, flac-1.1.1.ebuild:
move compressed patches to the mirrors
24 Dec 2005; Michael Hanselmann
Stable on ppc.
09 Dec 2005; Diego Pettenò
Added patch to fix executable stack on x86 as per bug #114984, provided by
Kevin F. Quinn. Remove the -p1 trick, as now the m4 file uses -p0 that works
as a charm.
*flac-1.1.2-r4 (28 Nov 2005)
28 Nov 2005; Diego Pettenò
New version, that does not invalidate the configure cache (and adds a
--disable-doc configure option). Also installs the user documentation in the
right directory for Gentoo. Use eautoreconf to rebuild autotools support,
and add the m4 file via patch instead than copying it. Install man page
shipped with the package (and don't regenerate them).
26 Nov 2005; Mark Loeser
Stable on x86; bug #113519
25 Nov 2005; Markus Rothe
Stable on ppc64; bug #113519
25 Nov 2005; Gustavo Zacarias
Stable on sparc wrt #113519
25 Nov 2005; Diego Pettenò
Remove old revision.
22 Nov 2005; Diego Pettenò
flac-1.1.2-r3.ebuild:
Use mirror://gentoo/ for patchsets.
19 Oct 2005; Luis Medinas
Marked Stable on amd64.
*flac-1.1.2-r3 (25 Aug 2005)
25 Aug 2005; Diego Pettenò
Added largefile support to flac as per bug #103578.
25 Aug 2005; Diego Pettenò
-files/flac-1.1.2-gas.patch, -files/flac-1.1.2-libtool.patch,
-files/flac-1.1.2-m4.patch, -files/flac-1.1.2-makefile.patch,
-files/flac-1.1.2-noogg.patch, -files/flac-1.1.2-xmms-config.patch,
flac-1.1.2-r2.ebuild:
Cleanup of flac ebuild, using patchset tarball instead of $FILESDIR. Removed
XMMS hack (provided m4). Don't add extra flags that are not requested.
25 Aug 2005; Diego Pettenò
-files/flac-1.1.0-libtool.patch, -files/flac-1.1.0-m4.patch,
-flac-1.1.0.ebuild, -flac-1.1.0-r2.ebuild, -flac-1.1.2-r1.ebuild:
Removed 1.1.0 series and 1.1.2-r1 ebuild.
06 Aug 2005; Kito
change default as check to not drop an a.out and wait for stdin on Darwin
systems
12 Jul 2005; Stephen P. Becker
stable on mips
12 Jun 2005; Chris White
And now we add the pkg-config dep...
12 Jun 2005; Chris White
files/flac-1.1.2-noogg.patch:
Fixed the patch _again_ and made sure it worked 3 times over. This will
still fail I bet...
12 Jun 2005; Chris White
Patch reversion until compile error I just found gets fixed...
*flac-1.1.2-r2 (12 Jun 2005)
12 Jun 2005; Chris White
Fixed noogg patch to actually work when libogg is not installed.
23 May 2005; Aron Griffis
stable on alpha
15 May 2005; Guy Martin
Stable on hppa.
15 May 2005; Diego Pettenò
flac-1.1.1.ebuild, flac-1.1.2-r1.ebuild:
Moved to use toolchain-funcs and removed gcc inheritance on latest version.
08 May 2005; Aron Griffis
stable on ia64
07 May 2005; Diego Pettenò
+files/flac-1.1.2-noogg.patch, flac-1.1.2-r1.ebuild:
Remove XMMS requests, fixes #82721. Added configure param to disable ogg,
fixes #91513.
*flac-1.1.2-r1 (03 May 2005)
03 May 2005; Jeremy Huddleston
+files/flac-1.1.2-xmms-config.patch, -flac-1.1.0-r1.ebuild,
-flac-1.1.2.ebuild, +flac-1.1.2-r1.ebuild:
Revbump to fix xmms bug. Closes bug #82622.
30 Apr 2005; Michael Hanselmann
Stable on ppc.
25 Apr 2005; Jeremy Huddleston
Stable amd64, sparc, and x86.
15 Apr 2005; Jan Brinkmann
introduced more useflag to get more control over the resulting binaries.
enhancements suggested by Diego Pettenò
#82741
08 Apr 2005; Markus Rothe
Stable on ppc64
08 Apr 2005; Jan Brinkmann
marked ~arch
07 Apr 2005; Jan Brinkmann
stable on amd64 and x86
21 Feb 2005; Luca Barbato
Minor workaround
19 Feb 2005; Tony Vroon
Undo slotting, fails to work correctly.
19 Feb 2005; Luca Barbato
+files/flac-1.1.2-gas.patch, +files/flac-1.1.2-makefile.patch,
flac-1.1.2.ebuild:
ppc related fixes
*flac-1.1.2 (18 Feb 2005)
18 Feb 2005; Tony Vroon
+files/flac-1.1.2-libtool.patch, +files/flac-1.1.2-m4.patch,
+flac-1.1.2.ebuild:
Version bump to 1.1.2; slotted to avoid breakage. PPC keywords temporarily
dropped until the Altivec-on-non-Darwin patches are ported. Closes bug
#81291.
05 Feb 2005; Jan Brinkmann
flac-1.1.0-r2.ebuild, flac-1.1.0.ebuild, flac-1.1.1.ebuild:
added a dummy src_test to remove excessive testing. see #59482
29 Dec 2004; Ciaran McCreesh
Change encoding to UTF-8 for GLEP 31 compliance
06 Nov 2004; Luca Barbato
+files/flac-1.1.1-altivec.patch.gz, flac-1.1.1.ebuild:
Altivec related fixes by John Steele Scott
19 Oct 2004; Kito Danya
added ~ppc-macos
22 Oct 2004; Luca Barbato
+files/flac-1.1.1-altivec.patch, flac-1.1.1.ebuild:
Altivec related fixes by John Steele Scott
05 Oct 2004; Luca Barbato
The "ppc" improvement, just broke everything, -ppc till they are fixed"
03 Oct 2004; Jeremy Huddleston
Using preserve_old_lib to cut down on clutter.
02 Oct 2004; Jeremy Huddleston
Added in ${ROOT} and fixed up backwards compatibility...
02 Oct 2004; Jeremy Huddleston
Version bump.
08 Aug 2004; Bryan Østergaard
Stable on alpha.
08 Aug 2004; Guy Martin
Stable on hppa.
28 Jul 2004; Tom Gall
stable on ppc64, bug #55076
19 Jul 2004; Jeremy Huddleston
Stable sparc, x86, amd64.
14 Jul 2004; Bryan Østergaard
Stable on alpha.
*flac-1.1.0-r2 (14 Jun 2004)
14 Jun 2004; Jeremy Huddleston
+files/flac-1.1.0-libtool.patch, +files/flac-1.1.0-m4.patch,
+flac-1.1.0-r2.ebuild:
Added patches to fix bugs #41042 and #50137. XMMS plugin should now build
correctly and -fPIC is in the patch now instead of the ebuild.
26 May 2004; Guy Martin
Marked stable on hppa.
23 May 2004; Daniel Ostrow
Stable on ppc.
15 May 2004; Gustavo Zacarias
Sparc me up baby
14 May 2004; Stephen P. Becker
Stable on mips.
07 May 2004; Jeremy Huddleston
Stable x86.
18 Apr 2004; Jeremy Huddleston
-fPIC CFLAGS addition to all (not just hppa) CFLAGS. --with-pic isn't
enough... see bug #42732.
*flac-1.1.0-r1 (07 Apr 2004)
07 Apr 2004; Jeremy Huddleston
Enable PIC on all architectures. Added missing depend on id3lib.
15 Mar 2004; Stephen P. Becker
Added ~mips keyword.
28 Feb 2004; Jeremy Huddleston
metadata.xml:
Removing DEPEND on id3lib. Closes bug #42792.
28 Jan 2004; Aron Griffis
stable on ia64
29 Dec 2003; Martin Holzer
flac-1.0.4.ebuild, flac-1.1.0.ebuild:
adding RESTRICT=nomirror
29 Oct 2003; Guy Martin
Added -fPIC to CFLAGS when USE="+X +xmms" on hppa to fix a compilation error.
26 Sep 2003; Jason Wever
Added sparc keyword.
02 Jun 2003; Daniel Robbins
won't be considered if X USE isn't set (to help people who like to do -X and
be safe;) moved libtool eclass inherit line to later in the ebuild so it's
after the DEPEND/RDEPEND defs. Also unmasking on Alpha.
14 Mar 2003; Daniel Robbins
dependency on id3lib to (R)DEPEND.
10 Feb 2003; Aron Griffis
~alpha to KEYWORDS
*flac-1.1.0 (29 Jan 2003)
29 Jan 2003; Phil Bordelon
Version bump. Also removed the commented-out 3DNOW! stuff, since
3DNOW is now enabled by default if the processor supports it.
Masked for testing.
*flac-1.0.4 (31 Oct 2002)
12 Jan 2003; Seemant Kulleen
Added a fix if -xmms is in USE. The clever sed'ing thanks to:
thompson@pobox.com (Paul Thompson) in bug #12355.
06 Dec 2002; Rodney Rees
06 Dec 2002; Phil Bordelon
Marking stable for x86.
16 Nov 2002; Jon Nall
added --reverse-deps to the elibtoolize command. this fixes bug
#10808
31 Oct 2002; Seemant Kulleen
files/digest-flac-1.0.4 :
Version bump, from a request by: nisharfi@csupomona.edu (Nathan Sharfi) in
bug #8655. Note that: tagith1394@hotmail.com (Evan Cortens) had submitted
an ebuild for 1.0.3 in bug #6966
*flac-1.0.3 (08 Jul 2002)
16 Nov 2002; Jon Nall
added --reverse-deps to the elibtoolize command.
11 Sep 2002; Mark Guertin
set nasm as x86 only dependancy
18 Aug 2002; Daniel Ahlberg
Fixed installation of xmms plugin. Closes #5760.
08 Jul 2002; Daniel Robbins
better faster decoding and new C++ API.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
AUX flac-1.2.1-asm.patch 2844 RMD160 7e2f1dbdf1dbe7c019089f5359f794123cb388f9 SHA1 9cf5708bcc181b66632868e95e23a84b0a1644af SHA256 b9a6d2011b9902924372316f3544e94cb066fe202e256b9696bf6cd6ee8a490b
AUX flac-1.2.1-asneeded.patch 840 RMD160 42570f0d4c8bb6ff2f188e81952ac774fa9cfd0d SHA1 a87abf76cbc9db5cf65d6282cdfcf3b5cfcd329c SHA256 cb112fcc85fa57fb68e9fb0d1f735225132fb25b3cd41bb08febfc2d2154bb63
AUX flac-1.2.1-cflags.patch 435 RMD160 49cb14f8c107fada76252a67e6ef693dcc0f82b1 SHA1 5698376e901679398b6dac850d8015b1386f1983 SHA256 cc9397825c966839edcd4a30406ff3590a21c825d4e1cb043bd35145a608bc21
AUX flac-1.2.1-dontbuild-examples.patch 1014 RMD160 3d15c25b66c46815b2e3c72920de39616681fd90 SHA1 29c555097b6aa675ec93f8bbd26a7575cb1825ce SHA256 73e3ac8aa17bbe6d22f6c1b28993de35061e967a3a6c27d8e68261ba740d5e85
AUX flac-1.2.1-dontbuild-tests.patch 2721 RMD160 9a66b075f1cede2f4f535ed46623cadabe3d80a3 SHA1 caa022ad88e81e296ebeb46ebd825b1a0ed8a399 SHA256 1fa075309ed3e42391d767a6401511b76baf0782702ff39eef06e38ea3bc3ed7
AUX flac-1.2.1-gcc-4.3-includes.patch 423 RMD160 d7502f5185e8b9bcefbadfa30014b91cc0446267 SHA1 7e9f8c2ef4d9daf5ddd20df63b608fe19b8c1560 SHA256 b9826946fb8372cf7da1b68538bce9a6069c1be0e6e288cba5522ce977a1d8d4
DIST flac-1.2.1.tar.gz 2009217 RMD160 bd3223c848054f0a75d11200b30f903bdd375bfc SHA1 bd54354900181b59db3089347cc84ad81e410b38 SHA256 9635a44bceb478bbf2ee8a785cf6986fba525afb5fad1fd4bba73cf71f2d3edf
EBUILD flac-1.2.1-r1.ebuild 1438 RMD160 a2c6cc0c462990ebc66c208abd23dfe5c6918d2a SHA1 5d23ca787fc69d0b790de0133ff4f2ccd97e1313 SHA256 b928002d6e7e51e675a029f713d991f10af32e6c91081ebd44238c231e47da95
EBUILD flac-1.2.1-r2.ebuild 1543 RMD160 8fb0440a7f71cb599571aaa671ae1325c3de678b SHA1 99eea839011e1b36cf3e80684bce5f9bdf7a81ff SHA256 a1497678fbf7e7bb50d3a330986fc708511f691e8aa592c5b799efce2109eef5
EBUILD flac-1.2.1-r3.ebuild 1646 RMD160 1da8dc3a9809964ac362d582f0ce7a7a81167d8e SHA1 04d15bc0c1794169a1ce38f5248d05a1c0ed79bc SHA256 6454e2bbfac913dd3853012ff8199046fb919b12805e1eed7c38568388651cf2
MISC ChangeLog 20400 RMD160 b1cbdd9ce9d1c37ba08883eaa86b2e165d1fd20a SHA1 21bd1ad0d936cedf041e8af0ab7b24309faa3afd SHA256 7c36b88ed5448ae48a636ceac83d5ab9c36586f8fe8988be883ca26f93edbf8f
MISC metadata.xml 158 RMD160 6842e2189a50bd8a98e84802c38180ac1421c00e SHA1 703cea5a2109d41f7c87993c1f01d418a4c85174 SHA256 dfb5b47e6836db39fb187301dfcff1c2605e91d13d21db160806a563d8c75f9b
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.9 (GNU/Linux)
iEYEARECAAYFAkhtSQsACgkQvFcC4BYPU0pPdwCeMPRQZSRGJPiqGbcaddI5nEox
/VAAn2ed4JucJQ9eR5erHtO2JVf8tOec
=NezO
-----END PGP SIGNATURE-----
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-libs/flac/flac-1.2.1-r1.ebuild,v 1.11 2007/12/11 23:37:02 vapier Exp $
inherit autotools eutils
DESCRIPTION="free lossless audio encoder and decoder"
HOMEPAGE="http://flac.sourceforge.net"
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
LICENSE="GPL-2 LGPL-2"
SLOT="0"
KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 sh sparc x86 ~x86-fbsd"
IUSE="3dnow altivec debug doc ogg sse"
RDEPEND="ogg? ( >=media-libs/libogg-1.1.3 )"
DEPEND="${RDEPEND}
x86? ( dev-lang/nasm )
sys-apps/gawk
sys-devel/gettext
dev-util/pkgconfig"
src_unpack() {
unpack ${A}
cd "${S}"
# Stop using upstream CFLAGS. Fix building with
# ldflag asneeded on non glibc systems. Fix
# broken asm causing text relocations.
epatch "${FILESDIR}"/${P}-asneeded.patch
epatch "${FILESDIR}"/${P}-cflags.patch
epatch "${FILESDIR}"/${P}-asm.patch
AT_M4DIR="m4" eautoreconf
}
src_compile() {
econf $(use_enable ogg) \
$(use_enable sse) \
$(use_enable 3dnow) \
$(use_enable altivec) \
$(use_enable debug) \
--disable-doxygen-docs \
--disable-dependency-tracking \
--disable-xmms-plugin
emake || die "emake failed."
}
src_install() {
emake DESTDIR="${D}" install || die "emake install failed."
rm -rf "${D}"/usr/share/doc/flac-1.2.1
dodoc AUTHORS README
use doc && dohtml -r doc/html/*
}
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-libs/flac/flac-1.2.1-r2.ebuild,v 1.6 2008/05/15 20:39:51 drac Exp $
EAPI=1
inherit autotools eutils
DESCRIPTION="free lossless audio encoder and decoder"
HOMEPAGE="http://flac.sourceforge.net"
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
LICENSE="GPL-2 LGPL-2"
SLOT="0"
KEYWORDS="~alpha amd64 ~arm ~hppa ~ia64 ~mips ~ppc ppc64 ~sh ~sparc ~x86 ~x86-fbsd"
IUSE="3dnow altivec +cxx debug doc ogg sse"
RDEPEND="ogg? ( >=media-libs/libogg-1.1.3 )"
DEPEND="${RDEPEND}
x86? ( dev-lang/nasm )
!elibc_uclibc? ( sys-devel/gettext )
dev-util/pkgconfig"
RESTRICT="test"
src_unpack() {
unpack ${A}
cd "${S}"
# Fix building with asneeded on non-glibc systems.
# Fix text relocations. Fix {C,XX}FLAGS.
epatch "${FILESDIR}"/${P}-asneeded.patch \
"${FILESDIR}"/${P}-cflags.patch \
"${FILESDIR}"/${P}-asm.patch
# Fix build with gcc 4.3, bug #199579
epatch "${FILESDIR}/${P}-gcc-4.3-includes.patch"
AT_M4DIR="m4" eautoreconf
}
src_compile() {
econf $(use_enable ogg) \
$(use_enable sse) \
$(use_enable 3dnow) \
$(use_enable altivec) \
$(use_enable debug) \
$(use_enable cxx cpplibs) \
--disable-doxygen-docs \
--disable-dependency-tracking \
--disable-xmms-plugin
emake || die "emake failed."
}
src_install() {
emake DESTDIR="${D}" install || die "emake install failed."
rm -rf "${D}"/usr/share/doc/${P}
dodoc AUTHORS README
use doc && dohtml -r doc/html/*
}
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-libs/flac/flac-1.2.1-r3.ebuild,v 1.4 2008/07/03 21:47:46 aballier Exp $
EAPI=1
inherit autotools eutils base
DESCRIPTION="free lossless audio encoder and decoder"
HOMEPAGE="http://flac.sourceforge.net"
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
LICENSE="GPL-2 LGPL-2"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86 ~x86-fbsd"
IUSE="3dnow altivec +cxx debug doc ogg sse"
RDEPEND="ogg? ( >=media-libs/libogg-1.1.3 )"
DEPEND="${RDEPEND}
x86? ( dev-lang/nasm )
!elibc_uclibc? ( sys-devel/gettext )
dev-util/pkgconfig"
PATCHES=( "${FILESDIR}/${P}-asneeded.patch"
"${FILESDIR}/${P}-cflags.patch"
"${FILESDIR}/${P}-asm.patch"
"${FILESDIR}/${P}-dontbuild-tests.patch"
"${FILESDIR}/${P}-dontbuild-examples.patch"
"${FILESDIR}/${P}-gcc-4.3-includes.patch" )
src_unpack() {
base_src_unpack
cd "${S}"
AT_M4DIR="m4" eautoreconf
}
src_compile() {
econf $(use_enable ogg) \
$(use_enable sse) \
$(use_enable 3dnow) \
$(use_enable altivec) \
$(use_enable debug) \
$(use_enable cxx cpplibs) \
--disable-examples \
--disable-doxygen-docs \
--disable-dependency-tracking \
--disable-xmms-plugin
emake || die "emake failed."
}
src_test() {
if [ $UID != 0 ] ; then
emake check || die "tests failed"
else
ewarn "Tests will fail if ran as root, skipping."
fi
}
src_install() {
emake DESTDIR="${D}" install || die "emake install failed."
rm -rf "${D}"/usr/share/doc/${P}
dodoc AUTHORS README
use doc && dohtml -r doc/html/*
}