Bump, see changelog for details
authorBrandon Low <lostlogic@gentoo.org>
Fri, 16 Sep 2005 01:29:59 +0000 (01:29 +0000)
committerBrandon Low <lostlogic@gentoo.org>
Fri, 16 Sep 2005 01:29:59 +0000 (01:29 +0000)
Package-Manager: portage-1.589-cvs

media-libs/libvorbis/ChangeLog
media-libs/libvorbis/Manifest
media-libs/libvorbis/files/digest-libvorbis-1.1.1 [new file with mode: 0644]
media-libs/libvorbis/libvorbis-1.1.1.ebuild [new file with mode: 0644]

index 9b6b4ce9cedf4a534bfe2df69dbc34de0f325260..668439f195b39782d38462e1bb3da67ad988555f 100644 (file)
@@ -1,6 +1,14 @@
 # ChangeLog for media-libs/libvorbis
 # Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/libvorbis/ChangeLog,v 1.56 2005/08/24 16:05:06 flameeyes Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-libs/libvorbis/ChangeLog,v 1.57 2005/09/16 01:29:59 lostlogic Exp $
+
+*libvorbis-1.1.1 (16 Sep 2005)
+
+  16 Sep 2005; Brandon Low <lostlogic@gentoo.org> +libvorbis-1.1.1.ebuild:
+  Bump up to the latest release from xiph.org, this includes the latest of
+  aotuv's patches, so there is no need for patching (yay). Unstable in all
+  arches, especially needs testing in ppc-macos, because I dunno if I did the
+  symlink stuff right.
 
   24 Aug 2005; Diego Pettenò <flameeyes@gentoo.org> libvorbis-1.1.0.ebuild:
   epatch does not need die.
index 1f80d4afc32e2bf47274e5f2292a7303f4e95fc1..77185d0f626aea68d666793e5c63e859f2c0382c 100644 (file)
@@ -1,16 +1,8 @@
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
-
-MD5 6f7a361a781836cac4667a5866d9a5d3 ChangeLog 7734
+MD5 35db7845f220843d0167117f573fea2d libvorbis-1.1.1.ebuild 2582
 MD5 25a931049bc6c2f70e638da6aee48f35 libvorbis-1.0.1-r2.ebuild 2379
 MD5 caa94fab7d88717f5238096a57ac4696 libvorbis-1.1.0.ebuild 2689
+MD5 d9226523cfbb28b6412ef9fc1e508987 ChangeLog 8093
 MD5 527dcfe3ce0f0b53c6b6aa8b82eb930c metadata.xml 252
-MD5 fa4a831d30804a9840476e2e65c42241 files/digest-libvorbis-1.0.1-r2 68
 MD5 55835dd2e7b0020ab52064c9f7dc4ff8 files/digest-libvorbis-1.1.0 136
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v1.4.2 (GNU/Linux)
-
-iD8DBQFDDJrNj5H05b2HAEkRAtuCAJ96Hv7GrsYr867hVV+qqt1ptBzijgCghxUu
-zZFfWiUcVCOvZXsaVviSLBQ=
-=KY8l
------END PGP SIGNATURE-----
+MD5 52caf7763a1d3f220948d9135c53f5e5 files/digest-libvorbis-1.1.1 68
+MD5 fa4a831d30804a9840476e2e65c42241 files/digest-libvorbis-1.0.1-r2 68
diff --git a/media-libs/libvorbis/files/digest-libvorbis-1.1.1 b/media-libs/libvorbis/files/digest-libvorbis-1.1.1
new file mode 100644 (file)
index 0000000..fb13bd4
--- /dev/null
@@ -0,0 +1 @@
+MD5 b77270c24840af4de54bea5ad1c0b252 libvorbis-1.1.1.tar.gz 1307726
diff --git a/media-libs/libvorbis/libvorbis-1.1.1.ebuild b/media-libs/libvorbis/libvorbis-1.1.1.ebuild
new file mode 100644 (file)
index 0000000..5f6df5c
--- /dev/null
@@ -0,0 +1,88 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-libs/libvorbis/libvorbis-1.1.1.ebuild,v 1.1 2005/09/16 01:29:59 lostlogic Exp $
+
+inherit libtool flag-o-matic eutils toolchain-funcs
+
+DESCRIPTION="the Ogg Vorbis sound file format library"
+HOMEPAGE="http://www.xiph.org/ogg/vorbis/index.html"
+SRC_URI="http://downloads.xiph.org/releases/vorbis/${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc-macos ~ppc64 ~sparc ~x86"
+IUSE=""
+
+RDEPEND=">=media-libs/libogg-1.0"
+DEPEND="${RDEPEND}
+       sys-apps/sed"
+
+S=${WORKDIR}/${P/_*/}
+
+src_unpack() {
+       unpack ${P}.tar.gz
+       cd ${S}
+
+       # Fix a gcc crash.  With the new atexit patch to gcc, it
+       # seems it does not handle -mno-ieee-fp very well.
+       sed -i -e "s:-mno-ieee-fp::g" configure
+
+       # Fixes some strange sed-, libtool- and ranlib-errors on
+       # Mac OS X
+       if use ppc-macos; then
+               glibtoolize
+       else
+               elibtoolize
+       fi
+
+       epunt_cxx #74493
+}
+
+src_compile() {
+       # Cannot compile with sse2 support it would seem #36104
+       use x86 && [ $(gcc-major-version) -eq 3 ] && append-flags -mno-sse2
+       [ "`gcc-version`" == "3.4" ] && replace-flags -Os -O2
+
+       # 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
+
+       # over optimization causes horrible audio artifacts #26463
+       filter-flags -march=pentium?
+
+       # gcc-3.4 and k6 with -ftracer causes code generation problems #49472
+       if [ $(gcc-major-version) -eq 3 -a $(gcc-minor-version) -eq 4 ];
+       then
+               is-flag -march=k6* && filter-flags -ftracer
+               is-flag -mtune=k6* && filter-flags -ftracer
+       fi
+
+       # gcc on hppa causes issues when assembling
+       use hppa && replace-flags -march=2.0 -march=1.0
+
+       # Make prelink work properly
+       append-flags -fPIC
+       append-ldflags -fPIC
+
+       econf || die
+       use ppc-macos && cd ${S} && sed -i -e 's/examples//' Makefile
+       emake || die
+}
+
+src_install() {
+       make DESTDIR="${D}" install || die
+       if use ppc-macos; then
+               dosym /usr/$(get_libdir)/libvorbisfile.3.1.0.dylib /usr/$(get_libdir)/libvorbisfile.3.dylib
+               dosym /usr/$(get_libdir)/libvorbisenc.2.0.1.dylib /usr/$(get_libdir)/libvorbisenc.2.dylib
+       else
+               dosym /usr/$(get_libdir)/libvorbisfile.so.3.1.0 /usr/$(get_libdir)/libvorbisfile.so.3
+               dosym /usr/$(get_libdir)/libvorbisenc.so.2.0.1 /usr/$(get_libdir)/libvorbisenc.so.2
+       fi
+
+       rm -rf ${D}/usr/share/doc
+       dodoc AUTHORS README todo.txt
+       docinto txt
+       dodoc doc/*.txt
+       dohtml -r doc
+}