summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiego Elio Pettenò <flameeyes@gentoo.org>2006-05-28 02:00:40 +0000
committerDiego Elio Pettenò <flameeyes@gentoo.org>2006-05-28 02:00:40 +0000
commitf51ccc6667cfb0bd512965ee8487a972cf92198b (patch)
treed37a15cc1f369d6d91a3b1a02be3177194af317c /media-libs/flac
parentfixes and updates for bugs 123279, 120012, 132165, and 132689 (diff)
downloadgentoo-2-f51ccc6667cfb0bd512965ee8487a972cf92198b.tar.gz
gentoo-2-f51ccc6667cfb0bd512965ee8487a972cf92198b.tar.bz2
gentoo-2-f51ccc6667cfb0bd512965ee8487a972cf92198b.zip
Add new revision that allows use of hidden visibility with GCC 4.1.
(Portage version: 2.1_rc2-r3)
Diffstat (limited to 'media-libs/flac')
-rw-r--r--media-libs/flac/ChangeLog7
-rw-r--r--media-libs/flac/files/digest-flac-1.1.2-r56
-rw-r--r--media-libs/flac/flac-1.1.2-r5.ebuild74
3 files changed, 86 insertions, 1 deletions
diff --git a/media-libs/flac/ChangeLog b/media-libs/flac/ChangeLog
index f5d4a6200df9..2ed67d53b01d 100644
--- a/media-libs/flac/ChangeLog
+++ b/media-libs/flac/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for media-libs/flac
# Copyright 2002-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/flac/ChangeLog,v 1.85 2006/05/26 17:21:14 flameeyes Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-libs/flac/ChangeLog,v 1.86 2006/05/28 02:00:40 flameeyes Exp $
+
+*flac-1.1.2-r5 (28 May 2006)
+
+ 28 May 2006; Diego Pettenò <flameeyes@gentoo.org> +flac-1.1.2-r5.ebuild:
+ Add new revision that allows use of hidden visibility with GCC 4.1.
26 May 2006; Diego Pettenò <flameeyes@gentoo.org> flac-1.1.2-r4.ebuild:
Don't force -j1 for every user, but only if xmms is enabled, so to minimise
diff --git a/media-libs/flac/files/digest-flac-1.1.2-r5 b/media-libs/flac/files/digest-flac-1.1.2-r5
new file mode 100644
index 000000000000..f9d53a23c991
--- /dev/null
+++ b/media-libs/flac/files/digest-flac-1.1.2-r5
@@ -0,0 +1,6 @@
+MD5 2bfc127cdda02834d0491ab531a20960 flac-1.1.2.tar.gz 1516235
+RMD160 58656837b02e211eaed5010d84c4ed59841c82d3 flac-1.1.2.tar.gz 1516235
+SHA256 ce4f7d11b3c04a7368c916ca4abc284dd0c0256f461dfb7f07df1ab445e7a5c0 flac-1.1.2.tar.gz 1516235
+MD5 5e56495907016ba022c9bf44d4cc897b flac-patches-4.tar.bz2 6638
+RMD160 deee60f495e068ac60a2f01326b7b13090393d73 flac-patches-4.tar.bz2 6638
+SHA256 57e17093ed1b1c5752cb9fd4a145700eab8768947df831be7e0f94130b59d195 flac-patches-4.tar.bz2 6638
diff --git a/media-libs/flac/flac-1.1.2-r5.ebuild b/media-libs/flac/flac-1.1.2-r5.ebuild
new file mode 100644
index 000000000000..535bf5f810cc
--- /dev/null
+++ b/media-libs/flac/flac-1.1.2-r5.ebuild
@@ -0,0 +1,74 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-libs/flac/flac-1.1.2-r5.ebuild,v 1.1 2006/05/28 02:00:40 flameeyes Exp $
+
+inherit libtool eutils flag-o-matic autotools
+
+PATCHLEVEL="4"
+DESCRIPTION="free lossless audio encoder which includes an XMMS plugin"
+HOMEPAGE="http://flac.sourceforge.net/"
+SRC_URI="mirror://sourceforge/flac/${P}.tar.gz
+ mirror://gentoo/${PN}-patches-${PATCHLEVEL}.tar.bz2"
+
+LICENSE="GPL-2 LGPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc-macos ~ppc64 ~sh ~sparc ~x86 ~x86-fbsd"
+IUSE="3dnow debug doc ogg sse xmms"
+
+RDEPEND="ogg? ( >=media-libs/libogg-1.0_rc2 )
+ xmms? ( media-sound/xmms )"
+DEPEND="${RDEPEND}
+ x86? ( dev-lang/nasm )
+ sys-apps/gawk
+ doc? ( app-doc/doxygen )
+ dev-util/pkgconfig"
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+
+ # Enable only for GCC 4.1 and later
+ [[ $(gcc-major-version)$(gcc-minor-version) -ge 41 ]] || \
+ export EPATCH_EXCLUDE="130_all_visibility.patch"
+
+ EPATCH_SUFFIX="patch" \
+ epatch "${WORKDIR}/patches"
+ AT_M4DIR="m4" eautoreconf
+ elibtoolize
+}
+
+src_compile() {
+ econf \
+ $(use_enable ogg) \
+ $(use_enable sse) \
+ $(use_enable 3dnow) \
+ $(use_enable debug) \
+ $(use_enable doc) \
+ --disable-dependency-tracking || die
+
+ # the man page ebuild requires docbook2man... yick!
+ sed -i -e 's:include man:include:g' Makefile
+
+ # FIXME parallel make seems to mess up the building of the xmms input plugin
+ local makeopts
+ use xmms && makeopts="-j1"
+
+ emake ${makeopts} || die "make failed"
+}
+
+src_install() {
+ make DESTDIR="${D}" docdir="/usr/share/doc/${PF}" \
+ install || die "make install failed"
+ dodoc AUTHORS README
+
+ doman man/{flac,metaflac}.1
+}
+
+pkg_postinst() {
+ ewarn "If you've upgraded from a previous version of flac, you may need to re-emerge"
+ ewarn "packages that linked against flac by running:"
+ ewarn "revdep-rebuild"
+}
+
+# see #59482
+src_test() { :; }