summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sterrett <mr_bones_@gentoo.org>2011-01-10 20:33:00 +0000
committerMichael Sterrett <mr_bones_@gentoo.org>2011-01-10 20:33:00 +0000
commit32d671377ac5450c01a679470ffe686cb0c502a9 (patch)
tree904dfca19fc561dc83be6783a38bc8dc80e80573 /games-puzzle
parentVersion bump. Remove old. (diff)
downloadhistorical-32d671377ac5450c01a679470ffe686cb0c502a9.tar.gz
historical-32d671377ac5450c01a679470ffe686cb0c502a9.tar.bz2
historical-32d671377ac5450c01a679470ffe686cb0c502a9.zip
initial commit - ebuild submissions by Cyp via bug #248393
Package-Manager: portage-2.1.9.25/cvs/Linux i686
Diffstat (limited to 'games-puzzle')
-rw-r--r--games-puzzle/brainworkshop/ChangeLog11
-rw-r--r--games-puzzle/brainworkshop/Manifest5
-rw-r--r--games-puzzle/brainworkshop/brainworkshop-4.8.1.ebuild41
-rw-r--r--games-puzzle/brainworkshop/files/brainworkshop-4.8.1-fix-paths.patch15
-rw-r--r--games-puzzle/brainworkshop/metadata.xml5
-rw-r--r--games-puzzle/kmagnet/Manifest14
6 files changed, 79 insertions, 12 deletions
diff --git a/games-puzzle/brainworkshop/ChangeLog b/games-puzzle/brainworkshop/ChangeLog
new file mode 100644
index 000000000000..183db0fdf426
--- /dev/null
+++ b/games-puzzle/brainworkshop/ChangeLog
@@ -0,0 +1,11 @@
+# ChangeLog for games-puzzle/brainworkshop
+# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-puzzle/brainworkshop/ChangeLog,v 1.1 2011/01/10 20:33:00 mr_bones_ Exp $
+
+*brainworkshop-4.8.1 (10 Jan 2011)
+
+ 10 Jan 2011; Michael Sterrett <mr_bones_@gentoo.org>
+ +brainworkshop-4.8.1.ebuild, +files/brainworkshop-4.8.1-fix-paths.patch,
+ +metadata.xml:
+ initial commit - ebuild submissions by Cyp via bug #248393
+
diff --git a/games-puzzle/brainworkshop/Manifest b/games-puzzle/brainworkshop/Manifest
new file mode 100644
index 000000000000..9a702489f218
--- /dev/null
+++ b/games-puzzle/brainworkshop/Manifest
@@ -0,0 +1,5 @@
+AUX brainworkshop-4.8.1-fix-paths.patch 476 RMD160 18538b82b50e3c29c1ecba5ccc06c172299cb682 SHA1 8a0ad99d31d58317a51b72d3a10bdd78e92d1290 SHA256 455648638f47f7b428f1bf0aea85fb7167d9aa959fcd4c119dc9fa27bc8752fd
+DIST brainworkshop-4.8.1.zip 8921750 RMD160 3cc08fac3aa1d18ddd494cab095870d389385bdc SHA1 dee3fce1c82306696072464038d47a0cb33adaab SHA256 6413a71c02b435c52f799b3fbb73bb6fdc6669dd680c3f9418ce7d8ab1e55f40
+EBUILD brainworkshop-4.8.1.ebuild 1074 RMD160 a8b45b20fb16c8df7d327586f812d5c8c3d63ab7 SHA1 10be35e7c27c2a5f012567d3b96e746754a7575d SHA256 0bb3e1ddbffc7fd3bd05d9203e40d11ceb9eae2621b83d50e8f232d5d6757ea1
+MISC ChangeLog 473 RMD160 e9391b4b83c24a073ca570229f96fb8457484074 SHA1 f06718c4b9012e7bb92ac2da825990e3112276f1 SHA256 3ebbb1d80c0766f700b43f14c0d8bd0d1793a0a7e904a51c3a2461539a94c4e0
+MISC metadata.xml 158 RMD160 cbd9984bb6b426c8c9cee5022fe0a26261612fea SHA1 be5251fa1dacef5c41b74761bb1c8c54fb633b9e SHA256 1423a4fdd4a79b1728a2056d9e300f7e1074253095d82726218d9e9b953888a3
diff --git a/games-puzzle/brainworkshop/brainworkshop-4.8.1.ebuild b/games-puzzle/brainworkshop/brainworkshop-4.8.1.ebuild
new file mode 100644
index 000000000000..c7c530fed65d
--- /dev/null
+++ b/games-puzzle/brainworkshop/brainworkshop-4.8.1.ebuild
@@ -0,0 +1,41 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-puzzle/brainworkshop/brainworkshop-4.8.1.ebuild,v 1.1 2011/01/10 20:33:00 mr_bones_ Exp $
+
+EAPI=2
+inherit eutils games
+
+DESCRIPTION="Short-term-memory training N-Back game"
+HOMEPAGE="http://brainworkshop.sourceforge.net/"
+SRC_URI="mirror://sourceforge/brainworkshop/${P}.zip"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+RDEPEND="dev-python/pyopenal
+ || ( >=dev-python/pyglet-1.1.4[openal]
+ >=dev-python/pyglet-1.1.4[alsa] )
+ dev-python/pyopenal"
+DEPEND="app-arch/unzip"
+
+src_unpack() {
+ unzip -q "${DISTDIR}"/${P}.zip
+ mv ${PN} ${P}
+}
+
+src_prepare() {
+ epatch "${FILESDIR}"/${P}-fix-paths.patch || die "epatch failed"
+ edos2unix ${PN}.pyw
+}
+
+src_install() {
+ newgamesbin ${PN}.pyw ${PN} || die
+ insinto "${GAMES_DATADIR}"/${PN}
+ doins -r res/* || die "doins failed"
+ dodoc Readme.txt data/Readme-stats.txt
+ newicon res/misc/brain/brain.png ${PN}.png
+ make_desktop_entry ${PN} "Brain Workshop"
+ prepgamesdirs
+}
diff --git a/games-puzzle/brainworkshop/files/brainworkshop-4.8.1-fix-paths.patch b/games-puzzle/brainworkshop/files/brainworkshop-4.8.1-fix-paths.patch
new file mode 100644
index 000000000000..9897fe0b9612
--- /dev/null
+++ b/games-puzzle/brainworkshop/files/brainworkshop-4.8.1-fix-paths.patch
@@ -0,0 +1,15 @@
+--- a/brainworkshop.pyw 2010-10-15 19:06:16.529006906 +0200
++++ b/brainworkshop.pyw 2010-10-15 19:08:17.095632136 +0200
+@@ -35,8 +35,10 @@
+ NOVBO = True
+ VSYNC = False
+ DEBUG = False
+-FOLDER_RES = 'res'
+-FOLDER_DATA = 'data'
++FOLDER_RES = '/usr/share/games/brainworkshop'
++FOLDER_DATA = os.path.expanduser('~/.brainworkshop')
++if not os.path.isdir(FOLDER_DATA):
++ os.mkdir(FOLDER_DATA)
+ CONFIGFILE = 'config.ini'
+ STATS_BINARY = 'logfile.dat'
+ USER = 'default'
diff --git a/games-puzzle/brainworkshop/metadata.xml b/games-puzzle/brainworkshop/metadata.xml
new file mode 100644
index 000000000000..d3c2cc926f0b
--- /dev/null
+++ b/games-puzzle/brainworkshop/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>games</herd>
+</pkgmetadata>
diff --git a/games-puzzle/kmagnet/Manifest b/games-puzzle/kmagnet/Manifest
index 6574dff4c2de..5d54f68efe83 100644
--- a/games-puzzle/kmagnet/Manifest
+++ b/games-puzzle/kmagnet/Manifest
@@ -1,16 +1,6 @@
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
-
DIST 109111-kmagnet-0.08.tar.bz2 281681 RMD160 bdc94f34caa7bef5ef9614bf16079e847808bf4a SHA1 eb947bc8ec61ce29d205f49d7e581b8ef89521bb SHA256 9bf825a2293cb9fd922d7e8d152add4040fdca58238ff23ce4f0509bb32866b1
DIST 109111-kmagnet-0.09.tar.bz2 281797 RMD160 f3ce99ec2090da2e9a48562be324c525c5cefaba SHA1 f6c1439d852b66ef5fde13e4fefe0b5e39bbb26d SHA256 cc8a2fb39dd1cfeda2fe2fd1f631b34d605cf172028893c0a8060b1bcdd843c5
EBUILD kmagnet-0.08.ebuild 610 RMD160 2e53db01f0e49d33fc3b6374cadf87c123ac5793 SHA1 12a66c66d46c39860cfc8e12bfbed3cd39789503 SHA256 35d1759fa8220220dc90f66b478727a5a10a78e0353c1da24418b39d259f2050
-EBUILD kmagnet-0.09.ebuild 614 RMD160 37f9f93ac51b19f014e0df97246644508083bc22 SHA1 a79d5a880193c1885577150035f55a604ade8cf7 SHA256 88b783495b8710357b9b6f642030282528ba1b94cad72aa5e2d3485acb82356b
-MISC ChangeLog 905 RMD160 9b67207757bd9f424698b6dd7ccc10d1475e2088 SHA1 67ca5f94d60fb86f4a05e7688847cd679e45972e SHA256 877c3045a226a1e145e3e54196830f8634f1b884db0a181fa900fa81754acf44
+EBUILD kmagnet-0.09.ebuild 615 RMD160 31584b11c76f8bcd6ba2792b7ca59254333b0b9a SHA1 00144562ad8e6d466055fb19f9c2201eaccad4ba SHA256 341ad065e57f9e5d3b4716efb2b3c48bdf725e2813ef8727a248373d4b6183e9
+MISC ChangeLog 1013 RMD160 ef74facc4d1e3c19f415f829e4e6b03178f9bace SHA1 693fd307cd4c62df007a2064f7af2b4c1de21275 SHA256 e9fc8d76b1e3fc6d8608003c6b2eab6a08ae4feec531c483ce4bcf0cf332dada
MISC metadata.xml 175 RMD160 95619d0a2c99b495157a2cf824e9a95371476128 SHA1 f35dd6e8c834b70c7c6edadd9bf343b75f4ffa92 SHA256 206440b9e5ceb13a519ea89be410c33480c2ffef073ae4145bc7084d50a691f8
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0.16 (GNU/Linux)
-
-iEYEARECAAYFAk0q45UACgkQ9/cejkQaxBBd4ACeI++LkDnYSalCEi19Lo5y1XJG
-hK0AnjRptE1Y98w6AbACD/qqyIweVFzE
-=mdOp
------END PGP SIGNATURE-----