diff options
author | Diego Elio Pettenò <flameeyes@gentoo.org> | 2006-05-29 00:14:30 +0000 |
---|---|---|
committer | Diego Elio Pettenò <flameeyes@gentoo.org> | 2006-05-29 00:14:30 +0000 |
commit | e3aef573eee274927a109cc56730e3936a432cc6 (patch) | |
tree | c75fa175b159803dd601531df6030f476695143e /media-libs | |
parent | Really fix objc-gc this time; bug #114359. Also add MIPS patches that Kumba ... (diff) | |
download | historical-e3aef573eee274927a109cc56730e3936a432cc6.tar.gz historical-e3aef573eee274927a109cc56730e3936a432cc6.tar.bz2 historical-e3aef573eee274927a109cc56730e3936a432cc6.zip |
Bump patchset with patch to fix bug #134666. Thanks to cuicui for reporting.
Package-Manager: portage-2.1_rc3
Diffstat (limited to 'media-libs')
-rw-r--r-- | media-libs/flac/ChangeLog | 8 | ||||
-rw-r--r-- | media-libs/flac/files/digest-flac-1.1.2-r6 | 6 | ||||
-rw-r--r-- | media-libs/flac/flac-1.1.2-r6.ebuild | 74 |
3 files changed, 87 insertions, 1 deletions
diff --git a/media-libs/flac/ChangeLog b/media-libs/flac/ChangeLog index e6d306ba1741..9d65b7ecdb07 100644 --- a/media-libs/flac/ChangeLog +++ b/media-libs/flac/ChangeLog @@ -1,6 +1,12 @@ # 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.87 2006/05/28 02:16:10 flameeyes Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-libs/flac/ChangeLog,v 1.88 2006/05/29 00:14:30 flameeyes Exp $ + +*flac-1.1.2-r6 (29 May 2006) + + 29 May 2006; Diego Pettenò <flameeyes@gentoo.org> -flac-1.1.2-r5.ebuild, + +flac-1.1.2-r6.ebuild: + Bump patchset with patch to fix bug #134666. Thanks to cuicui for reporting. 28 May 2006; Diego Pettenò <flameeyes@gentoo.org> flac-1.1.2-r5.ebuild: Bump patchlevel to fix side problem, not much. diff --git a/media-libs/flac/files/digest-flac-1.1.2-r6 b/media-libs/flac/files/digest-flac-1.1.2-r6 new file mode 100644 index 000000000000..1945bb5a0f85 --- /dev/null +++ b/media-libs/flac/files/digest-flac-1.1.2-r6 @@ -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 6aacde3b8444b503c9ad97b52aa3ecef flac-patches-6.tar.bz2 6902 +RMD160 bdceb952a30a28729cf0400516c209d0b99e03fb flac-patches-6.tar.bz2 6902 +SHA256 65c71e294ac521c5f1b6cb7dfc9df7a69e716711d79ea3a58bbbeaa43862b419 flac-patches-6.tar.bz2 6902 diff --git a/media-libs/flac/flac-1.1.2-r6.ebuild b/media-libs/flac/flac-1.1.2-r6.ebuild new file mode 100644 index 000000000000..4b70f31ebbbb --- /dev/null +++ b/media-libs/flac/flac-1.1.2-r6.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-r6.ebuild,v 1.1 2006/05/29 00:14:30 flameeyes Exp $ + +inherit libtool eutils flag-o-matic autotools + +PATCHLEVEL="6" +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() { :; } |