From: Michael Sterrett Date: Fri, 1 Oct 2004 06:32:09 +0000 (+0000) Subject: Removed hard-coded smpeg support and have sdl-sound use the internal X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=df284222011a7c5cff49fc959bb104e7ab4a5f50;p=gentoo.git 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. --- diff --git a/media-libs/sdl-sound/ChangeLog b/media-libs/sdl-sound/ChangeLog index 09b4f112c1ae..a068d0cba6f8 100644 --- a/media-libs/sdl-sound/ChangeLog +++ b/media-libs/sdl-sound/ChangeLog @@ -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 + +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 sdl-sound-1.0.1.ebuild: inherit eutils for epatch diff --git a/media-libs/sdl-sound/Manifest b/media-libs/sdl-sound/Manifest index c64e1b57ac16..ea60d0099b72 100644 --- a/media-libs/sdl-sound/Manifest +++ b/media-libs/sdl-sound/Manifest @@ -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 index 000000000000..3bda76f3e513 --- /dev/null +++ b/media-libs/sdl-sound/files/digest-sdl-sound-1.0.1-r1 @@ -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 index 000000000000..d5008f578f1c --- /dev/null +++ b/media-libs/sdl-sound/sdl-sound-1.0.1-r1.ebuild @@ -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 +}