summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiego Elio Pettenò <flameeyes@gentoo.org>2006-10-19 17:16:54 +0000
committerDiego Elio Pettenò <flameeyes@gentoo.org>2006-10-19 17:16:54 +0000
commit1e551567b86a973ec4796f14fd730748e6dde5cf (patch)
tree71e0bc315966a0e8fed48a267abc6c05c94dbc6d /media-libs
parentMask new flac version. (diff)
downloadgentoo-2-1e551567b86a973ec4796f14fd730748e6dde5cf.tar.gz
gentoo-2-1e551567b86a973ec4796f14fd730748e6dde5cf.tar.bz2
gentoo-2-1e551567b86a973ec4796f14fd730748e6dde5cf.zip
Add latest beta, package.masked as almost every package breaks with it.
(Portage version: 2.1.2_pre3-r5)
Diffstat (limited to 'media-libs')
-rw-r--r--media-libs/flac/ChangeLog8
-rw-r--r--media-libs/flac/files/digest-flac-1.1.3_beta26
-rw-r--r--media-libs/flac/flac-1.1.3_beta2.ebuild81
3 files changed, 94 insertions, 1 deletions
diff --git a/media-libs/flac/ChangeLog b/media-libs/flac/ChangeLog
index 670cc9a7d2df..69403de4a334 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.92 2006/09/26 06:39:45 flameeyes Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-libs/flac/ChangeLog,v 1.93 2006/10/19 17:16:54 flameeyes Exp $
+
+*flac-1.1.3_beta2 (19 Oct 2006)
+
+ 19 Oct 2006; Diego Pettenò <flameeyes@gentoo.org>
+ +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)
diff --git a/media-libs/flac/files/digest-flac-1.1.3_beta2 b/media-libs/flac/files/digest-flac-1.1.3_beta2
new file mode 100644
index 000000000000..00b4ff393a2d
--- /dev/null
+++ b/media-libs/flac/files/digest-flac-1.1.3_beta2
@@ -0,0 +1,6 @@
+MD5 a0aca23b1f9276d31ee36d2a615f37d2 flac-1.1.3-beta2.tar.gz 1581598
+RMD160 2e94405383d3f6e47fa2800ded6a5314b677b2bf flac-1.1.3-beta2.tar.gz 1581598
+SHA256 37d64d8da9fd0fcbf2503d950c9f7db24aaf931e4afec0b0b5c9c3495f9d514c flac-1.1.3-beta2.tar.gz 1581598
+MD5 daecb721bdbfe2063ae14e0e51fffef9 flac-patches-9.tar.bz2 6743
+RMD160 01225a32bb4acc21d4b7e12ef368b14db1142b65 flac-patches-9.tar.bz2 6743
+SHA256 2dd6ce556b0bcaa774189b9d77b240e779e0d1a08af865b1f38dd5c468d6da83 flac-patches-9.tar.bz2 6743
diff --git a/media-libs/flac/flac-1.1.3_beta2.ebuild b/media-libs/flac/flac-1.1.3_beta2.ebuild
new file mode 100644
index 000000000000..71345a456682
--- /dev/null
+++ b/media-libs/flac/flac-1.1.3_beta2.ebuild
@@ -0,0 +1,81 @@
+# 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.3_beta2.ebuild,v 1.1 2006/10/19 17:16:54 flameeyes Exp $
+
+WANT_AUTOCONF="latest"
+WANT_AUTOMAKE="latest"
+
+inherit libtool eutils toolchain-funcs autotools
+
+MY_P="${P/_beta/-beta}"
+
+PATCHLEVEL="9"
+DESCRIPTION="free lossless audio encoder which includes an XMMS plugin"
+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 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"
+
+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
+
+ # 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() {
+ 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() {
+ elog "If you've upgraded from a previous version of flac, you may need to re-emerge"
+ elog "packages that linked against flac by running revdep-rebuild"
+}