Removed hard-coded smpeg support and have sdl-sound use the internal
authorMichael Sterrett <mr_bones_@gentoo.org>
Fri, 1 Oct 2004 06:32:09 +0000 (06:32 +0000)
committerMichael Sterrett <mr_bones_@gentoo.org>
Fri, 1 Oct 2004 06:32:09 +0000 (06:32 +0000)
decoder for mp3 instead.  smpeg is far too buggy to be used at this time.
As a result the unpack routine was cleaned up since the buggy test that
failed with gcc33 wasn't used anymore.  General cleaning of the ebuild
as well.

media-libs/sdl-sound/ChangeLog
media-libs/sdl-sound/Manifest
media-libs/sdl-sound/files/digest-sdl-sound-1.0.1-r1 [new file with mode: 0644]
media-libs/sdl-sound/sdl-sound-1.0.1-r1.ebuild [new file with mode: 0644]

index 09b4f112c1ae5958ef548ff156199db325ecea38..a068d0cba6f805615218ab2ef0773fec233a68c8 100644 (file)
@@ -1,6 +1,16 @@
 # ChangeLog for media-libs/sdl-sound
 # Copyright 2002-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/sdl-sound/ChangeLog,v 1.15 2004/06/24 23:22:14 agriffis Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-libs/sdl-sound/ChangeLog,v 1.16 2004/10/01 06:32:09 mr_bones_ Exp $
+
+*sdl-sound-1.0.1-r1 (30 Sep 2004)
+
+  30 Sep 2004; Michael Sterrett <mr_bones_@gentoo.org>
+  +sdl-sound-1.0.1-r1.ebuild:
+  Removed hard-coded smpeg support and have sdl-sound use the internal
+  decoder for mp3 instead.  smpeg is far too buggy to be used at this time.
+  As a result the unpack routine was cleaned up since the buggy test that
+  failed with gcc33 wasn't used anymore.  General cleaning of the ebuild
+  as well.
 
   27 Mar 2004; Michael Sterrett <mr_bones_@gentoo.org> sdl-sound-1.0.1.ebuild:
   inherit eutils for epatch
index c64e1b57ac1638d46570781b32a4706a00d4279c..ea60d0099b726ca77b512e8cd27e06f4c17864ee 100644 (file)
@@ -1,9 +1,11 @@
-MD5 a6ee23c685487fb1f05f2fdfade7451d sdl-sound-1.0.0.ebuild 844
+MD5 f2d81cad2863a9ca6a9e681bde63ecc6 ChangeLog 2531
 MD5 224c697c07bc402c0b0548e07bc7be73 sdl-sound-0.1.5.ebuild 840
-MD5 f4e0068027ad344f589fc19b04e8ae6a sdl-sound-1.0.1.ebuild 1582
-MD5 fcf7336c5142a72c1992a402d28ccbe0 ChangeLog 2105
+MD5 a6ee23c685487fb1f05f2fdfade7451d sdl-sound-1.0.0.ebuild 844
 MD5 a30c9d4ce8f9629d6d7323eaab258343 metadata.xml 241
-MD5 8bbc02320ecd20c8a7ed18a63f317ca1 files/gcc331.patch 1235
+MD5 d025ee63da4048bd6a7933f670d1b010 sdl-sound-1.0.1-r1.ebuild 1173
+MD5 f4e0068027ad344f589fc19b04e8ae6a sdl-sound-1.0.1.ebuild 1582
 MD5 82a479faa5dc89a39459aedfc2a50f4d files/digest-sdl-sound-0.1.5 67
 MD5 0c12512e023bf03f6deaf00e8985b830 files/digest-sdl-sound-1.0.0 67
 MD5 ac57f8a9a3aceed84463057baf569ddf files/digest-sdl-sound-1.0.1 68
+MD5 8bbc02320ecd20c8a7ed18a63f317ca1 files/gcc331.patch 1235
+MD5 ac57f8a9a3aceed84463057baf569ddf files/digest-sdl-sound-1.0.1-r1 68
diff --git a/media-libs/sdl-sound/files/digest-sdl-sound-1.0.1-r1 b/media-libs/sdl-sound/files/digest-sdl-sound-1.0.1-r1
new file mode 100644 (file)
index 0000000..3bda76f
--- /dev/null
@@ -0,0 +1 @@
+MD5 49e197ef7c8ab623d0640dc74be43160 SDL_sound-1.0.1.tar.gz 1019056
diff --git a/media-libs/sdl-sound/sdl-sound-1.0.1-r1.ebuild b/media-libs/sdl-sound/sdl-sound-1.0.1-r1.ebuild
new file mode 100644 (file)
index 0000000..d5008f5
--- /dev/null
@@ -0,0 +1,42 @@
+# Copyright 1999-2004 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-libs/sdl-sound/sdl-sound-1.0.1-r1.ebuild,v 1.1 2004/10/01 06:32:09 mr_bones_ Exp $
+
+MY_P="${P/sdl-/SDL_}"
+DESCRIPTION="A library that handles the decoding of sound file formats"
+HOMEPAGE="http://icculus.org/SDL_sound/"
+SRC_URI="http://icculus.org/SDL_sound/downloads/${MY_P}.tar.gz"
+
+LICENSE="LGPL-2.1"
+SLOT="0"
+KEYWORDS="x86 ppc sparc amd64"
+IUSE="flac mikmod oggvorbis speex physfs"
+
+DEPEND=">=media-libs/libsdl-1.2
+       flac? ( media-libs/flac )
+       mikmod? ( >=media-libs/libmikmod-3.1.9 )
+       oggvorbis? ( >=media-libs/libvorbis-1.0_beta4 )
+       speex? ( media-libs/speex
+               media-libs/libogg )
+       physfs? ( dev-games/physfs )"
+
+S="${WORKDIR}/${MY_P}"
+
+src_compile() {
+       econf \
+               --disable-dependency-tracking \
+               --enable-midi \
+               --disable-smpeg \
+               $(use_enable flac) \
+               $(use_enable speex) \
+               $(use_enable mikmod) \
+               $(use_enable physfs) \
+               $(use_enable oggvorbis ogg) \
+               || die
+       emake || die "emake failed"
+}
+
+src_install() {
+       make DESTDIR="${D}" install || die "make install failed"
+       dodoc CHANGELOG CREDITS INSTALL README TODO
+}