diff options
author | Diego Elio Pettenò <flameeyes@gentoo.org> | 2007-02-14 11:08:16 +0000 |
---|---|---|
committer | Diego Elio Pettenò <flameeyes@gentoo.org> | 2007-02-14 11:08:16 +0000 |
commit | b78bbfcd154df9119704e9c8c33e80b1623249f4 (patch) | |
tree | fcdce743c663c2479188cb923e998db592c6bce6 /media-libs/flac | |
parent | add patch to make bsd systems happy #166794 (diff) | |
download | gentoo-2-b78bbfcd154df9119704e9c8c33e80b1623249f4.tar.gz gentoo-2-b78bbfcd154df9119704e9c8c33e80b1623249f4.tar.bz2 gentoo-2-b78bbfcd154df9119704e9c8c33e80b1623249f4.zip |
Version bump, hopefully this time API and ABI are the same as 1.1.3 at least.
(Portage version: 2.1.2-r9)
Diffstat (limited to 'media-libs/flac')
-rw-r--r-- | media-libs/flac/ChangeLog | 7 | ||||
-rw-r--r-- | media-libs/flac/files/digest-flac-1.1.4 | 6 | ||||
-rw-r--r-- | media-libs/flac/flac-1.1.4.ebuild | 77 |
3 files changed, 89 insertions, 1 deletions
diff --git a/media-libs/flac/ChangeLog b/media-libs/flac/ChangeLog index 625c11809936..1852097d1e90 100644 --- a/media-libs/flac/ChangeLog +++ b/media-libs/flac/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for media-libs/flac # Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-libs/flac/ChangeLog,v 1.104 2007/02/05 22:05:55 aballier Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-libs/flac/ChangeLog,v 1.105 2007/02/14 11:08:16 flameeyes Exp $ + +*flac-1.1.4 (14 Feb 2007) + + 14 Feb 2007; Diego Pettenò <flameeyes@gentoo.org> +flac-1.1.4.ebuild: + Version bump, hopefully this time API and ABI are the same as 1.1.3 at least. 05 Feb 2007; Alexis Ballier <aballier@gentoo.org> flac-1.1.3.ebuild: Add gettext build depend, bug #159596 diff --git a/media-libs/flac/files/digest-flac-1.1.4 b/media-libs/flac/files/digest-flac-1.1.4 new file mode 100644 index 000000000000..cc24ca5185c5 --- /dev/null +++ b/media-libs/flac/files/digest-flac-1.1.4 @@ -0,0 +1,6 @@ +MD5 3958cbd5b6ed8c14966792538e44223b flac-1.1.4.tar.gz 1866308 +RMD160 7e323ccebbbe453b1dee056d0223f56db0818188 flac-1.1.4.tar.gz 1866308 +SHA256 b774d573b971f71f84386d34b96d388dd2dae3f15735acf91dbd4adff0ce4114 flac-1.1.4.tar.gz 1866308 +MD5 cff2846c4a6e45a18cab0145866b6ef7 flac-patches-11.tar.bz2 4125 +RMD160 42a939adfb0278f4096e7a1155f632960baf62f1 flac-patches-11.tar.bz2 4125 +SHA256 71bb657fb21f3d6ed5f1aafae96715160e6c3d11bb8733a6ad218f0987913807 flac-patches-11.tar.bz2 4125 diff --git a/media-libs/flac/flac-1.1.4.ebuild b/media-libs/flac/flac-1.1.4.ebuild new file mode 100644 index 000000000000..da3ad35f236f --- /dev/null +++ b/media-libs/flac/flac-1.1.4.ebuild @@ -0,0 +1,77 @@ +# 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.1.4.ebuild,v 1.1 2007/02/14 11:08:16 flameeyes Exp $ + +WANT_AUTOCONF="latest" +WANT_AUTOMAKE="latest" + +inherit libtool eutils toolchain-funcs autotools + +MY_P="${P/_beta/-beta}" + +PATCHLEVEL="11" +DESCRIPTION="free lossless audio encoder and decoder" +HOMEPAGE="http://flac.sourceforge.net/" +SRC_URI="mirror://sourceforge/flac/${MY_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" + +RDEPEND="ogg? ( >=media-libs/libogg-1.0_rc2 )" +DEPEND="${RDEPEND} + x86? ( dev-lang/nasm ) + sys-apps/gawk + sys-devel/gettext + doc? ( app-doc/doxygen ) + dev-util/pkgconfig" + +RESTRICT="test" + +S="${WORKDIR}/${MY_P}" + +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 160_all_protected.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 doxygen-docs) \ + --disable-dependency-tracking || die + + # the man page ebuild requires docbook2man... yick! + sed -i -e 's:include man:include:g' Makefile + + emake || die "make failed" +} + +src_install() { + emake DESTDIR="${D}" docdir="/usr/share/doc/${PF}" \ + install || die "make install failed" + dodoc AUTHORS README + + use doc || rm -rf "${D}/usr/share/doc/${PF}/api" + + 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 revdep-rebuild" +} |