diff options
author | Michael Sterrett <mr_bones_@gentoo.org> | 2003-11-21 20:41:13 +0000 |
---|---|---|
committer | Michael Sterrett <mr_bones_@gentoo.org> | 2003-11-21 20:41:13 +0000 |
commit | f5455763d273d45d8afeedbe2735835bc7bbb8c1 (patch) | |
tree | 066cee6862ba5a4a6cc0a889eca48e39cc517e02 /games-action/trackballs | |
parent | version bump (diff) | |
download | historical-f5455763d273d45d8afeedbe2735835bc7bbb8c1.tar.gz historical-f5455763d273d45d8afeedbe2735835bc7bbb8c1.tar.bz2 historical-f5455763d273d45d8afeedbe2735835bc7bbb8c1.zip |
version bump
Diffstat (limited to 'games-action/trackballs')
-rw-r--r-- | games-action/trackballs/Manifest | 6 | ||||
-rw-r--r-- | games-action/trackballs/files/0.9.2-destdir-icons.patch | 44 | ||||
-rw-r--r-- | games-action/trackballs/files/0.9.2-sparkle.patch | 11 | ||||
-rw-r--r-- | games-action/trackballs/files/digest-trackballs-0.9.2 | 2 | ||||
-rw-r--r-- | games-action/trackballs/trackballs-0.9.2.ebuild | 47 |
5 files changed, 108 insertions, 2 deletions
diff --git a/games-action/trackballs/Manifest b/games-action/trackballs/Manifest index de5539167c65..984a9bbfb233 100644 --- a/games-action/trackballs/Manifest +++ b/games-action/trackballs/Manifest @@ -1,8 +1,8 @@ -MD5 f66769699e3ae678c8e0952e6db8a121 ChangeLog 581 +MD5 b5e620a6a70209729d28e9adfa2b1c9e ChangeLog 777 MD5 ff1bf8f913d38f4fd93f8729aadf10c9 trackballs-0.9.0.ebuild 1060 MD5 c4ca028d185226ab93e97ea8352db391 trackballs-0.9.1.ebuild 1056 MD5 b244cf1c41a78cacb62296d573935c07 metadata.xml 245 -MD5 1b111acaa0c45b92b68b3212e44f00da trackballs-0.9.2.ebuild 1177 +MD5 ef271722a82cfe217496942ed2ececc7 trackballs-0.9.2.ebuild 1204 MD5 e4670c29b372122294828ca8be76f6f8 files/0.9.0-destdir-icons.patch 1343 MD5 a31aca7fa7d6a2acecd5140f6986361f files/0.9.0-sparkle.patch 299 MD5 9f2ed5f855d248e18a2fb6d93ef4671d files/digest-trackballs-0.9.0 142 @@ -10,3 +10,5 @@ MD5 fcf7f10beeaa8a2736651e005c08e21b files/0.9.1-destdir-icons.patch 1832 MD5 a31aca7fa7d6a2acecd5140f6986361f files/0.9.1-sparkle.patch 299 MD5 f4426a72f74eec1325be964525c33b7a files/digest-trackballs-0.9.1 142 MD5 4dcba68e2d9c9f02314e61e1cd9a4a7c files/digest-trackballs-0.9.2 142 +MD5 a31aca7fa7d6a2acecd5140f6986361f files/0.9.2-sparkle.patch 299 +MD5 fcf7f10beeaa8a2736651e005c08e21b files/0.9.2-destdir-icons.patch 1832 diff --git a/games-action/trackballs/files/0.9.2-destdir-icons.patch b/games-action/trackballs/files/0.9.2-destdir-icons.patch new file mode 100644 index 000000000000..aaaf11721031 --- /dev/null +++ b/games-action/trackballs/files/0.9.2-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.2-sparkle.patch b/games-action/trackballs/files/0.9.2-sparkle.patch new file mode 100644 index 000000000000..322a878abdbd --- /dev/null +++ b/games-action/trackballs/files/0.9.2-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.2 b/games-action/trackballs/files/digest-trackballs-0.9.2 new file mode 100644 index 000000000000..8045cf0c22a7 --- /dev/null +++ b/games-action/trackballs/files/digest-trackballs-0.9.2 @@ -0,0 +1,2 @@ +MD5 b51fb581a966fec1ff0bdee66871723f trackballs-0.9.2.tar.gz 4828477 +MD5 e58d1c7d046f4010a2b3c92383522459 trackballs-music-0.9.0.tbz2 7693212 diff --git a/games-action/trackballs/trackballs-0.9.2.ebuild b/games-action/trackballs/trackballs-0.9.2.ebuild new file mode 100644 index 000000000000..8d0e67b8f2f7 --- /dev/null +++ b/games-action/trackballs/trackballs-0.9.2.ebuild @@ -0,0 +1,47 @@ +# 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 "automake failed" +} + +src_compile() { + egamesconf \ + --with-highscores=${GAMES_STATEDIR}/${PN}-highscores || \ + die "egamesconf failed" + emake || die "emake failed" +} + +src_install() { + dodir /usr/share/applications + make DESTDIR="${D}" install || die "make install failed" + insinto "${GAMES_DATADIR}/${PN}/music" + doins "${WORKDIR}"/tb_*.ogg || die "doins failed" + dodoc AUTHORS ChangeLog README* NEWS || die "dodoc failed" + prepgamesdirs +} |