summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--media-libs/libmad/ChangeLog7
-rw-r--r--media-libs/libmad/Manifest4
-rw-r--r--media-libs/libmad/files/digest-libmad-0.15.0b-r12
-rw-r--r--media-libs/libmad/libmad-0.15.0b-r1.ebuild50
4 files changed, 60 insertions, 3 deletions
diff --git a/media-libs/libmad/ChangeLog b/media-libs/libmad/ChangeLog
index 63e90fcd568d..8dcc8d89b27f 100644
--- a/media-libs/libmad/ChangeLog
+++ b/media-libs/libmad/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for media-libs/libmad
# Copyright 2000-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/libmad/ChangeLog,v 1.5 2003/07/19 06:10:02 raker Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-libs/libmad/ChangeLog,v 1.6 2003/09/03 20:56:35 lostlogic Exp $
+
+*libmad-0.15.0b-r1 (03 Sep 2003)
+
+ 03 Sep 2003; Brandon Low <lostlogic@gentoo.org> libmad-0.15.0b-r1.ebuild:
+ Add a speedup patgch this is experimental, see how it goes for you
19 Jul 2003; Nick Hadaway <raker@gentoo.org> libmad-0.15.0b.ebuild:
Added lotsa arch's, changed so mad is not conflicting and some other
diff --git a/media-libs/libmad/Manifest b/media-libs/libmad/Manifest
index 4fb5b312124a..fd52e3dceaab 100644
--- a/media-libs/libmad/Manifest
+++ b/media-libs/libmad/Manifest
@@ -1,6 +1,6 @@
-MD5 cc3192cde2b0596fd3912fd9ffc7b2f2 libmad-0.15.0b-r1.ebuild 1336
+MD5 dd866edde4d7e1152021c0ebec17c152 libmad-0.15.0b-r1.ebuild 1343
MD5 2215b0ed9e5d1ded903b7da64ceda73c libmad-0.15.0b.ebuild 1193
-MD5 f21ddf16c4ac6a5153525b642ad04b55 ChangeLog 1019
+MD5 2d0ad9c7dea31b41adc7f055f68d0a81 ChangeLog 1023
MD5 905a86a6acbc90a60d520e923afcdc07 files/digest-libmad-0.15.0b-r1 138
MD5 89806934195402446d21d1a83f523b11 files/mad.pc 211
MD5 92125e295ca016ce5cda529054eb5353 files/digest-libmad-0.15.0b 66
diff --git a/media-libs/libmad/files/digest-libmad-0.15.0b-r1 b/media-libs/libmad/files/digest-libmad-0.15.0b-r1
new file mode 100644
index 000000000000..51cd9ed73f25
--- /dev/null
+++ b/media-libs/libmad/files/digest-libmad-0.15.0b-r1
@@ -0,0 +1,2 @@
+MD5 2e4487cdf922a6da2546bad74f643205 libmad-0.15.0b.tar.gz 401829
+MD5 0898346770461a4de5e56867993fb26b libmad-0.15.0b-speedup.diff.gz 378
diff --git a/media-libs/libmad/libmad-0.15.0b-r1.ebuild b/media-libs/libmad/libmad-0.15.0b-r1.ebuild
new file mode 100644
index 000000000000..b00320441e47
--- /dev/null
+++ b/media-libs/libmad/libmad-0.15.0b-r1.ebuild
@@ -0,0 +1,50 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-libs/libmad/libmad-0.15.0b-r1.ebuild,v 1.1 2003/09/03 20:56:35 lostlogic Exp $
+
+IUSE="debug"
+
+S=${WORKDIR}/${P}
+
+DESCRIPTION="\"M\"peg \"A\"udio \"D\"ecoder library"
+HOMEPAGE="http://mad.sourceforge.net"
+SRC_URI="mirror://sourceforge/mad/${P}.tar.gz
+ http://www.fefe.de/diffs/${P}-speedup.diff.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~x86 ~ppc ~alpha ~sparc ~hppa"
+
+DEPEND="virtual/glibc"
+
+src_unpack() {
+ unpack ${P}.tar.gz
+ epatch ${DISTDIR}/${P}-speedup.diff.gz
+}
+
+src_compile() {
+ local myconf
+
+ myconf="--with-gnu-ld --enable-accuracy"
+ # --enable-speed optimize for speed over accuracy
+ # --enable-accuracy optimize for accuracy over speed
+ # --enable-experimental enable code using the EXPERIMENTAL
+ # preprocessor define
+
+ use debug && myconf="${myconf} --enable-debugging" \
+ || myconf="${myconf} --disable-debugging"
+
+ econf ${myconf} || die "configure failed"
+ emake || die "make failed"
+}
+
+src_install() {
+ einstall || die "make install failed"
+
+ dodoc CHANGES COPYRIGHT CREDITS README TODO VERSION
+
+ # This file must be updated with each version update
+ dodir /usr/lib/pkgconfig
+ insinto /usr/lib/pkgconfig
+ doins ${FILESDIR}/mad.pc
+}