diff options
author | Mike Frysinger <vapier@gentoo.org> | 2003-10-11 05:09:44 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2003-10-11 05:09:44 +0000 |
commit | ffd5100e2a69d3f11e1384ef57808ceac9763bc3 (patch) | |
tree | 1e07a796aaad9d8392d054b53db6608dedaa74c0 /games-action | |
parent | metadata (diff) | |
download | gentoo-2-ffd5100e2a69d3f11e1384ef57808ceac9763bc3.tar.gz gentoo-2-ffd5100e2a69d3f11e1384ef57808ceac9763bc3.tar.bz2 gentoo-2-ffd5100e2a69d3f11e1384ef57808ceac9763bc3.zip |
version bump
Diffstat (limited to 'games-action')
-rw-r--r-- | games-action/trackballs/ChangeLog | 7 | ||||
-rw-r--r-- | games-action/trackballs/files/0.9.1-destdir-icons.patch | 44 | ||||
-rw-r--r-- | games-action/trackballs/files/0.9.1-sparkle.patch | 11 | ||||
-rw-r--r-- | games-action/trackballs/files/digest-trackballs-0.9.1 | 2 | ||||
-rw-r--r-- | games-action/trackballs/trackballs-0.9.1.ebuild | 46 |
5 files changed, 109 insertions, 1 deletions
diff --git a/games-action/trackballs/ChangeLog b/games-action/trackballs/ChangeLog index b4fe86cd06ba..c324e227dbe4 100644 --- a/games-action/trackballs/ChangeLog +++ b/games-action/trackballs/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for games-action/trackballs # Copyright 2000-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/games-action/trackballs/ChangeLog,v 1.2 2003/09/10 20:28:38 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/games-action/trackballs/ChangeLog,v 1.3 2003/10/11 05:09:44 vapier Exp $ + +*trackballs-0.9.1 (11 Oct 2003) + + 11 Oct 2003; Mike Frysinger <vapier@gentoo.org> : + Version bumpage. *trackballs-0.9.0 (20 Jun 2003) diff --git a/games-action/trackballs/files/0.9.1-destdir-icons.patch b/games-action/trackballs/files/0.9.1-destdir-icons.patch new file mode 100644 index 000000000000..aaaf11721031 --- /dev/null +++ b/games-action/trackballs/files/0.9.1-destdir-icons.patch @@ -0,0 +1,44 @@ +--- Makefile.am.orig 2003-06-20 11:33:42.000000000 -0400 ++++ Makefile.am 2003-06-20 11:33:47.000000000 -0400 +@@ -3,4 +3,4 @@ + EXTRA_DIST = $(pkgdata_DATA) + + install-pkgdataDATA: +- ./installIcons $(bindir) ++ ./installIcons $(bindir) $(DESTDIR) +--- installIcons.orig 2003-10-11 00:55:29.864701376 -0400 ++++ installIcons 2003-10-11 00:56:10.453530936 -0400 +@@ -9,13 +9,13 @@ + if [ -d /usr/share/applications ]; then + + # Install the desktop file in appropriate place +- install trackballs.desktop /usr/share/applications ++ install trackballs.desktop $2/usr/share/applications + else + + # Attempt to install the desktop file in the old way + for path in /usr/share /usr/local/share /opt/share /opt/kde/share /opt/kde3/share /opt/kde3.1/share ; do + if [ -d $path/applnk/Games/Arcade ]; then +- install trackballs.desktop $path/applnk/Games/Arcade ++ install trackballs.desktop $2/$path/applnk/Games/Arcade + fi + done + fi +@@ -23,14 +23,14 @@ + # Now install the icons everywhere they might be needed + for path in /usr/share /usr/local/share /opt/share /opt/kde/share /opt/kde3/share /opt/kde3.1/share ; do + if [ -d $path/icons/default.kde/32x32/apps ]; then +- install trackballs-32x32.png $path/icons/default.kde/32x32/apps/trackballs.png ++ install trackballs-32x32.png $2/$path/icons/default.kde/32x32/apps/trackballs.png + fi + + if [ -d $path/icons/default.kde/48x48/apps ]; then +- install trackballs-48x48.png $path/icons/default.kde/48x48/apps/trackballs.png ++ install trackballs-48x48.png $2/$path/icons/default.kde/48x48/apps/trackballs.png + fi + + if [ -d $path/icons/default.kde/64x64/apps ]; then +- install trackballs-64x64.png $path/icons/default.kde/64x64/apps/trackballs.png ++ install trackballs-64x64.png $2/$path/icons/default.kde/64x64/apps/trackballs.png + fi + done diff --git a/games-action/trackballs/files/0.9.1-sparkle.patch b/games-action/trackballs/files/0.9.1-sparkle.patch new file mode 100644 index 000000000000..322a878abdbd --- /dev/null +++ b/games-action/trackballs/files/0.9.1-sparkle.patch @@ -0,0 +1,11 @@ +--- sparkle2d.cc.orig 2003-06-20 00:53:04.000000000 -0400 ++++ sparkle2d.cc 2003-06-20 00:53:14.000000000 -0400 +@@ -174,7 +174,7 @@ + speed[1] = 2.*frandom()-1.; + return add(pos, speed, 0.5+frandom()*2., 1., col); + } +-int Sparkle2D::add(float pos[2]); ++//int Sparkle2D::add(float pos[2]); + + + /* diff --git a/games-action/trackballs/files/digest-trackballs-0.9.1 b/games-action/trackballs/files/digest-trackballs-0.9.1 new file mode 100644 index 000000000000..8982dfe51b84 --- /dev/null +++ b/games-action/trackballs/files/digest-trackballs-0.9.1 @@ -0,0 +1,2 @@ +MD5 1015a31c953a484d91e20e738cc5159a trackballs-0.9.1.tar.gz 4439177 +MD5 e58d1c7d046f4010a2b3c92383522459 trackballs-music-0.9.0.tbz2 7693212 diff --git a/games-action/trackballs/trackballs-0.9.1.ebuild b/games-action/trackballs/trackballs-0.9.1.ebuild new file mode 100644 index 000000000000..652b857038b3 --- /dev/null +++ b/games-action/trackballs/trackballs-0.9.1.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2003 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /home/cvsroot/gentoo-x86/app-games + +inherit games eutils + +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-0.9.0.tbz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="x86" + +DEPEND="virtual/opengl + media-libs/libsdl + >=dev-util/guile-1.6* + media-libs/sdl-mixer + media-libs/sdl-image + media-libs/sdl-ttf" + +src_unpack() { + unpack ${A} + cd ${S}/src + epatch ${FILESDIR}/${PV}-sparkle.patch + cd ${S}/share/icons + epatch ${FILESDIR}/${PV}-destdir-icons.patch + cd ${S} + automake || die +} + +src_compile() { + egamesconf \ + --with-highscores=${GAMES_STATEDIR}/${PN}-highscores \ + || die "configure failed" + emake || die "make failed" +} + +src_install() { + make install DESTDIR=${D} || die + insinto ${GAMES_DATADIR}/${PN}/music + doins ${WORKDIR}/tb_*.ogg + dodoc AUTHORS ChangeLog README* NEWS + prepgamesdirs +} |