summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiego Elio Pettenò <flameeyes@gentoo.org>2006-06-17 16:26:47 +0000
committerDiego Elio Pettenò <flameeyes@gentoo.org>2006-06-17 16:26:47 +0000
commit2cc8feb937ec5a4be9d990e79cb9e405c2e83468 (patch)
tree712ee563b6fd40af99cbe80574fdcc02961a37a0 /media-libs/faad2
parentVersion bumped. Thanks to Mohamed M. Hagag <mohamedhagag1981@gmail.com> and A... (diff)
downloadgentoo-2-2cc8feb937ec5a4be9d990e79cb9e405c2e83468.tar.gz
gentoo-2-2cc8feb937ec5a4be9d990e79cb9e405c2e83468.tar.bz2
gentoo-2-2cc8feb937ec5a4be9d990e79cb9e405c2e83468.zip
Add new revision that passes -fno-strict-aliasing on the library to avoid strict aliasing rules.
(Portage version: 2.1.1_pre1)
Diffstat (limited to 'media-libs/faad2')
-rw-r--r--media-libs/faad2/ChangeLog8
-rw-r--r--media-libs/faad2/faad2-2.0-r13.ebuild65
-rw-r--r--media-libs/faad2/files/digest-faad2-2.0-r136
3 files changed, 78 insertions, 1 deletions
diff --git a/media-libs/faad2/ChangeLog b/media-libs/faad2/ChangeLog
index 57236a8af324..c79341d15311 100644
--- a/media-libs/faad2/ChangeLog
+++ b/media-libs/faad2/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for media-libs/faad2
# Copyright 2000-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/faad2/ChangeLog,v 1.74 2006/06/11 10:27:14 gmsoft Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-libs/faad2/ChangeLog,v 1.75 2006/06/17 16:26:47 flameeyes Exp $
+
+*faad2-2.0-r13 (17 Jun 2006)
+
+ 17 Jun 2006; Diego Pettenò <flameeyes@gentoo.org> +faad2-2.0-r13.ebuild:
+ Add new revision that passes -fno-strict-aliasing on the library to avoid
+ strict aliasing rules.
11 Jun 2006; Guy Martin <gmsoft@gentoo.org> faad2-2.0-r11.ebuild:
Stable on hppa.
diff --git a/media-libs/faad2/faad2-2.0-r13.ebuild b/media-libs/faad2/faad2-2.0-r13.ebuild
new file mode 100644
index 000000000000..64f30e4528cd
--- /dev/null
+++ b/media-libs/faad2/faad2-2.0-r13.ebuild
@@ -0,0 +1,65 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-libs/faad2/faad2-2.0-r13.ebuild,v 1.1 2006/06/17 16:26:47 flameeyes Exp $
+
+inherit eutils libtool flag-o-matic autotools
+
+PATCHLEVEL="5"
+
+DESCRIPTION="AAC audio decoding library"
+HOMEPAGE="http://www.audiocoding.com/"
+SRC_URI="mirror://sourceforge/faac/${PN}-${PV/_/-}.tar.gz
+ mirror://gentoo/${PN}-patches-${PATCHLEVEL}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
+IUSE="xmms"
+
+RDEPEND="xmms? ( >=media-sound/xmms-1.2.7
+ media-libs/id3lib )
+ media-libs/libmp4v2"
+
+DEPEND="${RDEPEND}"
+
+S="${WORKDIR}/${PN}"
+
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+
+ EPATCH_SUFFIX="patch" epatch "${WORKDIR}/patches"
+ epatch "${FILESDIR}/faad-2.0-xmms.patch"
+ eautoreconf
+}
+
+src_compile() {
+ # see #34392
+ filter-flags -mfpmath=sse
+
+ append-flags -fno-strict-aliasing
+
+ # mp4v2 needed for rhythmbox
+ # drm needed for nothing but doesn't hurt
+ econf \
+ --with-drm \
+ $(use_with xmms) \
+
+ emake || die
+}
+
+src_install() {
+ make DESTDIR=${D} install || die
+
+ dodoc AUTHORS ChangeLog NEWS README README.linux TODO
+
+ # unneeded include, <systems.h> breaks building of apps, but
+ # it is necessary because includes <sys/types.h>,
+ # which is needed by /usr/include/mp4.h... so we just
+ # include <sys/types.h> instead. See bug #55767
+ sed -i -e "s:#include <systems.h>:#include <sys/types.h>:" \
+ ${D}/usr/include/mpeg4ip.h
+ sed -i -e "s:\"mp4ff_int_types.h\":<stdint.h>:" \
+ ${D}/usr/include/mp4ff.h
+
+}
diff --git a/media-libs/faad2/files/digest-faad2-2.0-r13 b/media-libs/faad2/files/digest-faad2-2.0-r13
new file mode 100644
index 000000000000..cb21f92dfbf2
--- /dev/null
+++ b/media-libs/faad2/files/digest-faad2-2.0-r13
@@ -0,0 +1,6 @@
+MD5 1a6f79365f2934a4888b210ef47a3a07 faad2-2.0.tar.gz 766660
+RMD160 e1e4d7c96cbc3db2b9e67385062ccf5decb61f90 faad2-2.0.tar.gz 766660
+SHA256 a62a4622862252e53e0dd58c3b0307a138f5100304e07bf50c8aee31a68ab861 faad2-2.0.tar.gz 766660
+MD5 51a371fb21fcbf77e27ed82d63273a95 faad2-patches-5.tar.bz2 8667
+RMD160 daf1faab7af84cd6991ee34cfc0492faf07055fa faad2-patches-5.tar.bz2 8667
+SHA256 1aec9612878dae292b8152f79bcf8fedfefbd7aadaac89f4e6c00f942d4fc1f4 faad2-patches-5.tar.bz2 8667