# ChangeLog for games-action/trackballs
# Copyright 2000-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-action/trackballs/ChangeLog,v 1.15 2006/06/07 23:24:51 mr_bones_ Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-action/trackballs/ChangeLog,v 1.16 2006/08/07 03:51:02 mr_bones_ Exp $
+
+*trackballs-1.1.2 (07 Aug 2006)
+
+ 07 Aug 2006; Michael Sterrett <mr_bones_@gentoo.org>
+ -files/1.0.0-drift.patch, +trackballs-1.1.2.ebuild:
+ version bump
07 Jun 2006; Michael Sterrett <mr_bones_@gentoo.org>
trackballs-1.1.1.ebuild:
MD5 34c4389aebeab9444ceb887192964fa0 trackballs-1.1.1.tar.gz 6025272
MD5 68be5fe2ed2381e73863a9858d02064d trackballs-music-1.2.tar.bz2 16064336
+RMD160 5400f47dcf42fe074fce2b465359ace182b857e7 trackballs-music-1.2.tar.bz2 16064336
+SHA256 3266499f8441619dd9332494c8ab99d240544e2469fb045f14a9312136d4ad88 trackballs-music-1.2.tar.bz2 16064336
--- /dev/null
+MD5 9ea9ca93d87bb0f9ad8abca1b34af594 trackballs-1.1.2.tar.gz 7063832
+RMD160 5abba7f1642d1d47614a1dec36b2e298ed49e395 trackballs-1.1.2.tar.gz 7063832
+SHA256 38ab9273c80da80b1efce68ac1554d2eaf2191913d100a9cd4212d702c17b6ba trackballs-1.1.2.tar.gz 7063832
+MD5 68be5fe2ed2381e73863a9858d02064d trackballs-music-1.2.tar.bz2 16064336
+RMD160 5400f47dcf42fe074fce2b465359ace182b857e7 trackballs-music-1.2.tar.bz2 16064336
+SHA256 3266499f8441619dd9332494c8ab99d240544e2469fb045f14a9312136d4ad88 trackballs-music-1.2.tar.bz2 16064336
--- /dev/null
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-action/trackballs/trackballs-1.1.2.ebuild,v 1.1 2006/08/07 03:51:02 mr_bones_ Exp $
+
+inherit eutils games
+
+DESCRIPTION="simple game similar to the classical game Marble Madness"
+HOMEPAGE="http://trackballs.sourceforge.net/"
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz
+ mirror://gentoo/${PN}-music-1.2.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc x86"
+IUSE="nls"
+
+DEPEND="virtual/opengl
+ virtual/glu
+ media-libs/libsdl
+ >=dev-util/guile-1.6
+ media-libs/sdl-mixer
+ media-libs/sdl-image
+ media-libs/sdl-ttf
+ sys-libs/zlib
+ nls? ( sys-devel/gettext )"
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ sed -i \
+ -e 's/icons//' share/Makefile.in \
+ || die "sed failed"
+ sed -i \
+ -e '/^localedir/s:=.*:=/usr/share/locale:' \
+ src/Makefile.in \
+ po/Makefile.in.in \
+ || die "sed failed"
+}
+
+src_compile() {
+ egamesconf \
+ --disable-dependency-tracking \
+ --with-highscores="${GAMES_STATEDIR}/${PN}-highscores" \
+ $(use_enable nls) \
+ || die
+ emake || die "emake failed"
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die "emake install failed"
+ insinto "${GAMES_DATADIR}/${PN}/music"
+ doins "${WORKDIR}"/tb_*.ogg || die "doins failed"
+ dodoc AUTHORS ChangeLog README* NEWS
+ doicon share/icons/*png || die "doicon failed"
+ make_desktop_entry trackballs "Trackballs" trackballs-48x48.png
+ prepgamesdirs
+}