summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrandon Low <lostlogic@gentoo.org>2003-11-22 19:13:26 +0000
committerBrandon Low <lostlogic@gentoo.org>2003-11-22 19:13:26 +0000
commit34b51ea79d62db7bc26d5314ee4c25de03112961 (patch)
treed318bd9edb7313decf1189aece5b58555e1284f6 /media-libs
parentBump libogg and libvorbis (diff)
downloadhistorical-34b51ea79d62db7bc26d5314ee4c25de03112961.tar.gz
historical-34b51ea79d62db7bc26d5314ee4c25de03112961.tar.bz2
historical-34b51ea79d62db7bc26d5314ee4c25de03112961.zip
Bump libogg and libvorbis
Diffstat (limited to 'media-libs')
-rw-r--r--media-libs/libogg/Manifest4
-rw-r--r--media-libs/libvorbis/Manifest4
-rw-r--r--media-libs/libvorbis/files/digest-libvorbis-1.0.11
-rw-r--r--media-libs/libvorbis/libvorbis-1.0.1.ebuild73
4 files changed, 78 insertions, 4 deletions
diff --git a/media-libs/libogg/Manifest b/media-libs/libogg/Manifest
index 0deab16f4527..0d186e67cbb4 100644
--- a/media-libs/libogg/Manifest
+++ b/media-libs/libogg/Manifest
@@ -1,7 +1,7 @@
MD5 a2fda34368b661063dae136c5696c405 libogg-1.0.ebuild 1267
MD5 695c1490f1fe1c5e80bbf2c5c4c495d9 libogg-1.0_rc3-r1.ebuild 892
-MD5 f24c675b70c467bf63474c12bda3b242 libogg-1.1.ebuild 1265
-MD5 36b7d71c6762d24baeac227ebafec0ab ChangeLog 1528
+MD5 6f7371a96ffaf8108e957586e03e2d25 libogg-1.1.ebuild 905
+MD5 7a9c4f740310752d17ff64946c6bf0ea ChangeLog 1633
MD5 cbb43595399aa585c5246a9fa024dfc6 files/digest-libogg-1.0 62
MD5 12db5904065ddca9ba537a41acabe033 files/digest-libogg-1.1 62
MD5 f5049ac22380344fd664130e9ffa8a4a files/digest-libogg-1.0_rc3-r1 65
diff --git a/media-libs/libvorbis/Manifest b/media-libs/libvorbis/Manifest
index 7e37bbac4d2b..cf0cc4cf2c03 100644
--- a/media-libs/libvorbis/Manifest
+++ b/media-libs/libvorbis/Manifest
@@ -1,8 +1,8 @@
MD5 6d22b16809393142dba7b108e6c9b19e libvorbis-1.0-r3.ebuild 1776
-MD5 3dafab79974c7dab8f12e6193c520271 libvorbis-1.0.1.ebuild 2160
+MD5 fd004d231f26ad3a701ec6ad3cedc9ca libvorbis-1.0.1.ebuild 1990
MD5 355c2703c2ff4a442975de8554e1856b libvorbis-1.0-r2.ebuild 1715
MD5 94b5d35a78e2a4f0c40053521793e43b libvorbis-1.0-r4.ebuild 2162
-MD5 701c906d080497557a769010edf3af08 ChangeLog 3148
+MD5 635d3c9ecfac3327a7a6e32489f41440 ChangeLog 3426
MD5 a1eaeb2ae801daeb712c90c060e922dc metadata.xml 158
MD5 fa4a831d30804a9840476e2e65c42241 files/digest-libvorbis-1.0.1 68
MD5 0a0d3872bdf2c6da4e3fe5471fd3eb16 files/digest-libvorbis-1.0-r2 65
diff --git a/media-libs/libvorbis/files/digest-libvorbis-1.0.1 b/media-libs/libvorbis/files/digest-libvorbis-1.0.1
new file mode 100644
index 000000000000..e4c8aa7dd85d
--- /dev/null
+++ b/media-libs/libvorbis/files/digest-libvorbis-1.0.1
@@ -0,0 +1 @@
+MD5 4d6726fd02ce02f6e24824e594b0949a libvorbis-1.0.1.tar.gz 1218076
diff --git a/media-libs/libvorbis/libvorbis-1.0.1.ebuild b/media-libs/libvorbis/libvorbis-1.0.1.ebuild
new file mode 100644
index 000000000000..ddadba2549c4
--- /dev/null
+++ b/media-libs/libvorbis/libvorbis-1.0.1.ebuild
@@ -0,0 +1,73 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-libs/libvorbis/libvorbis-1.0.1.ebuild,v 1.1 2003/11/22 19:13:23 lostlogic Exp $
+
+inherit libtool eutils flag-o-matic
+
+S=${WORKDIR}/${P}
+DESCRIPTION="the Ogg Vorbis sound file format library"
+SRC_URI="http://www.vorbis.com/files/${PV}/unix/${P}.tar.gz"
+HOMEPAGE="http://www.xiph.org/ogg/vorbis/index.html"
+
+IUSE=""
+#IUSE="sse 3dnow"
+DEPEND=">=media-libs/libogg-1.0"
+
+SLOT="0"
+LICENSE="as-is"
+KEYWORDS="~x86 ~amd64 ~mips"
+
+src_unpack() {
+ unpack ${A}
+
+ cd ${S}
+# This patch is not yet compatable with 1.0.1, hopefully a new version will
+# be made available sometime in the near future.
+# if [ `use x86` ] ; then
+# if [ `use sse` ]; then
+# epatch ${FILESDIR}/${PN}-simd.patch
+# # patch doesn't support sse2. See #28439
+# filter-flags "-msse2"
+# fi
+# use 3dnow && append-flags -Dsimd_3dn
+# fi
+
+# This patch does not appear to be necessary any more...
+# epatch ${FILESDIR}/${PN}-m4.patch || die "Patching failed"
+ # Fix a gcc crash. With the new atexit patch to gcc, it
+ # seems it do not handle -mno-ieee-fp too well.
+ sed -i -e "s:-mno-ieee-fp::g" configure
+}
+
+src_compile() {
+ elibtoolize
+
+ # take out -fomit-frame-pointer from CFLAGS if k6-2
+ is-flag "-march=k6-3" && filter-flags "-fomit-frame-pointer"
+ is-flag "-march=k6-2" && filter-flags "-fomit-frame-pointer"
+ is-flag "-march=k6" && filter-flags "-fomit-frame-pointer"
+
+ # filter march, see bug #26463 for details
+ filter-flags "-march=pentium?"
+
+ ./configure --prefix=/usr \
+ --host=${CHOST} || die
+
+ emake || die
+}
+
+src_install () {
+ make DESTDIR=${D} install || die
+
+ dosym /usr/lib/libvorbisfile.so.3.0.0 /usr/lib/libvorbisfile.so.0
+ dosym /usr/lib/libvorbisenc.so.2.0.0 /usr/lib/libvorbisenc.so.0
+
+ echo "Removing docs installed by make install"
+ rm -rf ${D}/usr/share/doc
+
+ dodoc AUTHORS COPYING README todo.txt
+ docinto txt
+ dodoc doc/*.txt
+ dohtml -r doc
+}
+