summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Schlemmer <azarah@gentoo.org>2002-06-30 13:23:04 +0000
committerMartin Schlemmer <azarah@gentoo.org>2002-06-30 13:23:04 +0000
commitef83bfb566ef6c69896c4d7bed07529a03419818 (patch)
treeb14a60d155b12fab822c56573c5fc239874d29b6 /media-libs/libvorbis
parentcomment updates (diff)
downloadgentoo-2-ef83bfb566ef6c69896c4d7bed07529a03419818.tar.gz
gentoo-2-ef83bfb566ef6c69896c4d7bed07529a03419818.tar.bz2
gentoo-2-ef83bfb566ef6c69896c4d7bed07529a03419818.zip
fix build problem
Diffstat (limited to 'media-libs/libvorbis')
-rw-r--r--media-libs/libvorbis/ChangeLog7
-rw-r--r--media-libs/libvorbis/files/digest-libvorbis-1.0_rc3-r21
-rw-r--r--media-libs/libvorbis/libvorbis-1.0_rc3-r2.ebuild47
3 files changed, 54 insertions, 1 deletions
diff --git a/media-libs/libvorbis/ChangeLog b/media-libs/libvorbis/ChangeLog
index bc7949264593..e0ac9f648c49 100644
--- a/media-libs/libvorbis/ChangeLog
+++ b/media-libs/libvorbis/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for media-libs/libvorbis
# Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL
-# $Header: /var/cvsroot/gentoo-x86/media-libs/libvorbis/ChangeLog,v 1.2 2002/03/21 12:14:08 seemant Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-libs/libvorbis/ChangeLog,v 1.3 2002/06/30 13:23:04 azarah Exp $
+
+*libvorbis-1.0_rc3-r2 (30 Mar 2002)
+
+ 30 Jun 2002; Martin Schlemmer <azarah@gentoo.org> libvorbis-1.0_rc3-r2.ebuild :
+ The new patched gcc-2.95.3-r7 dont handle the "-mno-ieee-fp" flag gracefully.
*libvorbis-1.0_rc3-r1 (21 Mar 2002)
diff --git a/media-libs/libvorbis/files/digest-libvorbis-1.0_rc3-r2 b/media-libs/libvorbis/files/digest-libvorbis-1.0_rc3-r2
new file mode 100644
index 000000000000..fb3214b1f79c
--- /dev/null
+++ b/media-libs/libvorbis/files/digest-libvorbis-1.0_rc3-r2
@@ -0,0 +1 @@
+MD5 e3a0ce7718f698326504c76562315df2 libvorbis-1.0rc3.tar.gz 563834
diff --git a/media-libs/libvorbis/libvorbis-1.0_rc3-r2.ebuild b/media-libs/libvorbis/libvorbis-1.0_rc3-r2.ebuild
new file mode 100644
index 000000000000..107f855c884c
--- /dev/null
+++ b/media-libs/libvorbis/libvorbis-1.0_rc3-r2.ebuild
@@ -0,0 +1,47 @@
+# Copyright 1999-2002 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License, v2 or later
+# Author Peter Gavin <pbg1854@garnet.acns.fsu.edu>
+# $Header: /var/cvsroot/gentoo-x86/media-libs/libvorbis/libvorbis-1.0_rc3-r2.ebuild,v 1.1 2002/06/30 13:23:04 azarah Exp $
+
+inherit libtool
+
+S=${WORKDIR}/${PN}-1.0rc3
+DESCRIPTION="the Ogg Vorbis sound file format library"
+SRC_URI="http://www.vorbis.com/files/rc3/unix/${PN}-1.0rc3.tar.gz"
+HOMEPAGE="http://www.xiph.org/ogg/vorbis/index.html"
+
+DEPEND=">=media-libs/libogg-1.0_rc2"
+
+src_unpack() {
+ unpack ${A}
+
+ cd ${S}
+ # Fix a gcc crash. With the new atexit patch to gcc, it
+ # seems it do not handle -mno-ieee-fp too well.
+ cp configure configure.orig
+ sed -e "s:-mno-ieee-fp::g" \
+ configure.orig >configure
+}
+
+src_compile() {
+ elibtoolize
+
+ export CFLAGS="${CFLAGS/-march=*/}"
+
+ ./configure --prefix=/usr \
+ --host=${CHOST} || die
+
+ emake || die
+}
+
+src_install () {
+ make DESTDIR=${D} install || die
+
+ 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
+}