# ChangeLog for media-libs/sdl-mixer
# Copyright 2002-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/sdl-mixer/ChangeLog,v 1.23 2004/08/11 23:24:48 mr_bones_ Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-libs/sdl-mixer/ChangeLog,v 1.24 2004/12/16 09:40:49 mr_bones_ Exp $
+
+*sdl-mixer-1.2.6 (16 Dec 2004)
+
+ 16 Dec 2004; Michael Sterrett <mr_bones_@gentoo.org>
+ +sdl-mixer-1.2.6.ebuild:
+ version bump
11 Aug 2004; Michael Sterrett <mr_bones_@gentoo.org>
sdl-mixer-1.2.5-r1.ebuild:
-MD5 c57c7335beae6ebf60c4f3d32f4f87a5 ChangeLog 3509
+MD5 3906732f2b4394cd152f201be19ddc60 ChangeLog 3639
MD5 aae8bb49c35dca337e97e029be2ec020 sdl-mixer-1.2.5-r1.ebuild 1355
MD5 f17b9b8fa07a38914fe1c03268f51678 metadata.xml 158
+MD5 355495a2b780fa93aa5dfd13592d99a3 sdl-mixer-1.2.6.ebuild 1258
MD5 f026901e029ec31037b0bca6dc7f07d8 files/1.2.5-gcc3.patch 1235
MD5 53b2015dae19981548f34d124a734f8e files/digest-sdl-mixer-1.2.5-r1 67
+MD5 1ca1975170b01d4da4056cc84635b608 files/digest-sdl-mixer-1.2.6 68
MD5 b20854212133319dd5b400f71a372bcb files/sdl-mixer-1.2.5-amd64-mikmod.patch 929
--- /dev/null
+# Copyright 1999-2004 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-libs/sdl-mixer/sdl-mixer-1.2.6.ebuild,v 1.1 2004/12/16 09:40:49 mr_bones_ Exp $
+
+inherit gnuconfig
+
+MY_P="${P/sdl-/SDL_}"
+DESCRIPTION="Simple Direct Media Layer Mixer Library"
+HOMEPAGE="http://www.libsdl.org/projects/SDL_mixer/index.html"
+SRC_URI="http://www.libsdl.org/projects/SDL_mixer/release/${MY_P}.tar.gz"
+
+LICENSE="LGPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~hppa ~mips ~ppc ~ppc64 ~sparc ~x86"
+IUSE="mpeg mikmod oggvorbis"
+
+DEPEND=">=media-libs/libsdl-1.2.5
+ >=media-libs/smpeg-0.4.4-r1
+ oggvorbis? ( >=media-libs/libvorbis-1.0_beta4 )
+ mikmod? ( >=media-libs/libmikmod-3.1.10 )"
+
+S="${WORKDIR}/${MY_P}"
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ sed -i \
+ -e 's:/usr/local/lib/timidity:/usr/share/timidity:' \
+ timidity/config.h \
+ || die "sed timidity/config.h failed"
+ gnuconfig_update
+}
+
+src_compile() {
+ econf \
+ --disable-dependency-tracking \
+ $(use_enable mikmod music-libmikmod) \
+ $(use_enable mpeg music-mp3) \
+ $(use_enable oggvorbis music-ogg) \
+ || die
+ emake || die "emake failed"
+}
+
+src_install() {
+ make DESTDIR="${D}" install || die "make install failed"
+ dodoc CHANGES README
+}