summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sterrett <mr_bones_@gentoo.org>2005-11-15 06:04:54 +0000
committerMichael Sterrett <mr_bones_@gentoo.org>2005-11-15 06:04:54 +0000
commit83599a6adb3a38e14b7dc8a83bfbde311cd63bf6 (patch)
treebd13ba620c612aaef748c7219ebde90dcd5955f0 /games-action
parentRemove obsolete versions. Mark version 0.6.8 stable on x86. Version bump (#11... (diff)
downloadhistorical-83599a6adb3a38e14b7dc8a83bfbde311cd63bf6.tar.gz
historical-83599a6adb3a38e14b7dc8a83bfbde311cd63bf6.tar.bz2
historical-83599a6adb3a38e14b7dc8a83bfbde311cd63bf6.zip
version bump
Package-Manager: portage-2.0.51.22-r3
Diffstat (limited to 'games-action')
-rw-r--r--games-action/trackballs/ChangeLog8
-rw-r--r--games-action/trackballs/Manifest21
-rw-r--r--games-action/trackballs/files/digest-trackballs-1.1.12
-rw-r--r--games-action/trackballs/files/trackballs-1.1.1-localedir.patch22
-rw-r--r--games-action/trackballs/trackballs-1.1.1.ebuild58
5 files changed, 96 insertions, 15 deletions
diff --git a/games-action/trackballs/ChangeLog b/games-action/trackballs/ChangeLog
index 79907a02b70e..bcc1063bd95d 100644
--- a/games-action/trackballs/ChangeLog
+++ b/games-action/trackballs/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for games-action/trackballs
# Copyright 2000-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-action/trackballs/ChangeLog,v 1.12 2005/09/16 22:04:52 ciaranm Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-action/trackballs/ChangeLog,v 1.13 2005/11/15 06:04:54 mr_bones_ Exp $
+
+*trackballs-1.1.1 (15 Nov 2005)
+
+ 15 Nov 2005; Michael Sterrett <mr_bones_@gentoo.org>
+ +files/trackballs-1.1.1-localedir.patch, +trackballs-1.1.1.ebuild:
+ version bump
16 Sep 2005; Ciaran McCreesh <ciaranm@gentoo.org> ChangeLog:
Converted to UTF-8, fixed encoding screwups
diff --git a/games-action/trackballs/Manifest b/games-action/trackballs/Manifest
index 05d8e90ad9b3..03eac138fb5f 100644
--- a/games-action/trackballs/Manifest
+++ b/games-action/trackballs/Manifest
@@ -1,17 +1,10 @@
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
-
-MD5 1e2d784b544fe54409e2cc863b0d55f4 trackballs-1.0.0-r1.ebuild 1386
-MD5 da6c4ec29f89a969f609f1aa31dda6c5 trackballs-1.0.0.ebuild 1382
MD5 f17b9b8fa07a38914fe1c03268f51678 metadata.xml 158
-MD5 2939bebea6e5e9b276cc695a5bec6949 ChangeLog 1817
+MD5 da6c4ec29f89a969f609f1aa31dda6c5 trackballs-1.0.0.ebuild 1382
+MD5 dffc55171bd8a6295107bf084cec3bdf trackballs-1.1.1.ebuild 1515
+MD5 8b567ad24ea28c66a45f57f4a6c1d1f6 ChangeLog 1992
+MD5 1e2d784b544fe54409e2cc863b0d55f4 trackballs-1.0.0-r1.ebuild 1386
MD5 0b573a1444721dee7dc128fb20c380e4 files/digest-trackballs-1.0.0 142
-MD5 9ec7bc9f5765e2ae6726f9ccb75d9443 files/1.0.0-drift.patch 292
MD5 0b573a1444721dee7dc128fb20c380e4 files/digest-trackballs-1.0.0-r1 142
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v1.4.1 (GNU/Linux)
-
-iD8DBQFDK0G2LLFUmVNQ7rkRAq0BAJ9fA5cG8uoPVCm6R6wOGyk4AUvIogCdFTMb
-GKQyqnIpxn6NfJYxFVDJV00=
-=J8s3
------END PGP SIGNATURE-----
+MD5 5cbf3b63a60bf470b6a79f843af8dabd files/digest-trackballs-1.1.1 144
+MD5 198352038eeeb9ff7cc1754c7b0edf95 files/trackballs-1.1.1-localedir.patch 1048
+MD5 9ec7bc9f5765e2ae6726f9ccb75d9443 files/1.0.0-drift.patch 292
diff --git a/games-action/trackballs/files/digest-trackballs-1.1.1 b/games-action/trackballs/files/digest-trackballs-1.1.1
new file mode 100644
index 000000000000..c9c1fb601f4f
--- /dev/null
+++ b/games-action/trackballs/files/digest-trackballs-1.1.1
@@ -0,0 +1,2 @@
+MD5 34c4389aebeab9444ceb887192964fa0 trackballs-1.1.1.tar.gz 6025272
+MD5 68be5fe2ed2381e73863a9858d02064d trackballs-music-1.2.tar.bz2 16064336
diff --git a/games-action/trackballs/files/trackballs-1.1.1-localedir.patch b/games-action/trackballs/files/trackballs-1.1.1-localedir.patch
new file mode 100644
index 000000000000..3785458f8147
--- /dev/null
+++ b/games-action/trackballs/files/trackballs-1.1.1-localedir.patch
@@ -0,0 +1,22 @@
+--- src/mmad.cc.orig 2005-11-15 00:18:08.000000000 -0500
++++ src/mmad.cc 2005-11-15 00:18:45.000000000 -0500
+@@ -517,7 +517,7 @@
+ /* Initialialize i18n with system defaults, before anything else (eg. settings) have been loaded */
+ setlocale(LC_ALL, "");
+ char localedir[256];
+- snprintf(localedir,255,"%s/locale",effectiveShareDir);
++ snprintf(localedir,255,"%s",LOCALEDIR);
+ bindtextdomain(PACKAGE,localedir);
+ textdomain(PACKAGE);
+
+--- src/settings.cc.orig 2005-11-15 00:17:02.000000000 -0500
++++ src/settings.cc 2005-11-15 00:17:28.000000000 -0500
+@@ -291,7 +291,7 @@
+ /* check if the correct language directory exists, otherwise use default */
+ if(language != 0) {
+ char localedir[256];
+- snprintf(localedir,255,"%s/locale/%c%c",effectiveShareDir,languageCodes[language][0],languageCodes[language][1]);
++ snprintf(localedir,255,"%s/%c%c",LOCALEDIR,languageCodes[language][0],languageCodes[language][1]);
+ if(!dirExists(localedir)) {
+ fprintf(stderr,"Warning: locale directory %s missing.\n",localedir);
+ //language=0;
diff --git a/games-action/trackballs/trackballs-1.1.1.ebuild b/games-action/trackballs/trackballs-1.1.1.ebuild
new file mode 100644
index 000000000000..a2f2c7d9d65d
--- /dev/null
+++ b/games-action/trackballs/trackballs-1.1.1.ebuild
@@ -0,0 +1,58 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-action/trackballs/trackballs-1.1.1.ebuild,v 1.1 2005/11/15 06:04:54 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="~ppc x86"
+IUSE=""
+
+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"
+ epatch "${FILESDIR}/${P}-localedir.patch"
+}
+
+src_compile() {
+ egamesconf \
+ --disable-dependency-tracking \
+ --with-highscores=${GAMES_STATEDIR}/${PN}-highscores \
+ $(use_enable nls) \
+ || die "egamesconf failed"
+ emake || die "emake failed"
+}
+
+src_install() {
+ 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
+ doicon share/icons/*png || die "doicon failed"
+ make_desktop_entry trackballs "Trackballs" trackballs-48x48.png
+ prepgamesdirs
+}