diff options
author | Mike Frysinger <vapier@gentoo.org> | 2005-06-21 04:37:21 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2005-06-21 04:37:21 +0000 |
commit | 14d17ced509656b3d58fcea09037c38614c559f0 (patch) | |
tree | d302c8ac65bcd5e522ca4962b03e551f2d63316e /media-libs/sdl-sound | |
parent | touchups (diff) | |
download | historical-14d17ced509656b3d58fcea09037c38614c559f0.tar.gz historical-14d17ced509656b3d58fcea09037c38614c559f0.tar.bz2 historical-14d17ced509656b3d58fcea09037c38614c559f0.zip |
Add libmodplug support by Tyler Montbriand #89241.
Package-Manager: portage-2.0.51.22-r1
Diffstat (limited to 'media-libs/sdl-sound')
-rw-r--r-- | media-libs/sdl-sound/ChangeLog | 10 | ||||
-rw-r--r-- | media-libs/sdl-sound/Manifest | 14 | ||||
-rw-r--r-- | media-libs/sdl-sound/files/digest-sdl-sound-1.0.1-r2 | 1 | ||||
-rw-r--r-- | media-libs/sdl-sound/sdl-sound-1.0.1-r2.ebuild | 51 |
4 files changed, 68 insertions, 8 deletions
diff --git a/media-libs/sdl-sound/ChangeLog b/media-libs/sdl-sound/ChangeLog index a068d0cba6f8..cef3801d46ad 100644 --- a/media-libs/sdl-sound/ChangeLog +++ b/media-libs/sdl-sound/ChangeLog @@ -1,6 +1,12 @@ # 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.16 2004/10/01 06:32:09 mr_bones_ Exp $ +# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/media-libs/sdl-sound/ChangeLog,v 1.17 2005/06/21 04:37:21 vapier Exp $ + +*sdl-sound-1.0.1-r2 (21 Jun 2005) + + 21 Jun 2005; Mike Frysinger <vapier@gentoo.org> + +sdl-sound-1.0.1-r2.ebuild: + Add libmodplug support by Tyler Montbriand #89241. *sdl-sound-1.0.1-r1 (30 Sep 2004) diff --git a/media-libs/sdl-sound/Manifest b/media-libs/sdl-sound/Manifest index 52770ad5e6b1..c12fa5a41530 100644 --- a/media-libs/sdl-sound/Manifest +++ b/media-libs/sdl-sound/Manifest @@ -1,17 +1,19 @@ -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 -MD5 07217f21965ed9b239dd38add70cbc0f ChangeLog 2532 -MD5 f4e0068027ad344f589fc19b04e8ae6a sdl-sound-1.0.1.ebuild 1582 +MD5 f3015a168eb2c0b7ad3024e42aee38f9 ChangeLog 2698 +MD5 89480361945b4ee1fe3626101bc1a3e5 sdl-sound-1.0.1-r2.ebuild 1438 +MD5 766c571b88d75cbe216f66fef1061778 sdl-sound-1.0.1.ebuild 1590 MD5 a30c9d4ce8f9629d6d7323eaab258343 metadata.xml 241 -MD5 587d4d9877e436bdcfc5d8d3e92c08f0 sdl-sound-1.0.1-r1.ebuild 1177 +MD5 7fcf099dded0d42691503886fe0b8d89 sdl-sound-1.0.1-r1.ebuild 1172 +MD5 ac57f8a9a3aceed84463057baf569ddf files/digest-sdl-sound-1.0.1-r2 68 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 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (GNU/Linux) -iD8DBQFCt5SsgIKl8Uu19MoRAm8AAJ0Z78tYnYFVCkj/DGa8S6wp9gY64wCcCG6N -JmDv9uDH1SOiKMVQqfFuFZI= -=zbQ2 +iD8DBQFCt5mRgIKl8Uu19MoRAlozAJ4omYwdR3t6Cm6SgWgIygY+sil9ZwCeNlW3 +HLhsAdAw5tCBeaMCwxoZjLo= +=+BY+ -----END PGP SIGNATURE----- diff --git a/media-libs/sdl-sound/files/digest-sdl-sound-1.0.1-r2 b/media-libs/sdl-sound/files/digest-sdl-sound-1.0.1-r2 new file mode 100644 index 000000000000..3bda76f3e513 --- /dev/null +++ b/media-libs/sdl-sound/files/digest-sdl-sound-1.0.1-r2 @@ -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-r2.ebuild b/media-libs/sdl-sound/sdl-sound-1.0.1-r2.ebuild new file mode 100644 index 000000000000..62498d90fb0f --- /dev/null +++ b/media-libs/sdl-sound/sdl-sound-1.0.1-r2.ebuild @@ -0,0 +1,51 @@ +# Copyright 1999-2005 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-r2.ebuild,v 1.1 2005/06/21 04:37:21 vapier Exp $ + +inherit flag-o-matic + +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="~amd64 ~ppc ~x86" +IUSE="flac mikmod vorbis speex physfs mp3" + +RDEPEND=">=media-libs/libsdl-1.2 + flac? ( media-libs/flac ) + mikmod? ( >=media-libs/libmikmod-3.1.9 media-libs/libmodplug ) + vorbis? ( >=media-libs/libvorbis-1.0_beta4 ) + speex? ( media-libs/speex + media-libs/libogg ) + physfs? ( dev-games/physfs )" +DEPEND="${RDEPEND} + dev-util/pkgconfig" + +S=${WORKDIR}/${MY_P} + +src_compile() { + use mikmod \ + && append-flags $(pkg-config libmodplug --cflags) \ + && sed -i 's:modplug\.h:libmodplug/modplug.h:' configure + econf \ + --disable-dependency-tracking \ + --enable-midi \ + --disable-smpeg \ + $(use_enable mp3 mpglib) \ + $(use_enable flac) \ + $(use_enable speex) \ + $(use_enable mikmod) \ + $(use_enable mikmod modplug) \ + $(use_enable physfs) \ + $(use_enable vorbis ogg) \ + || die + emake || die "emake failed" +} + +src_install() { + make DESTDIR="${D}" install || die "make install failed" + dodoc CHANGELOG CREDITS INSTALL README TODO +} |