summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSantiago M. Mola <coldwind@gentoo.org>2007-08-13 18:52:08 +0000
committerSantiago M. Mola <coldwind@gentoo.org>2007-08-13 18:52:08 +0000
commit18dd7d889ab6de14fff501a3c8c06eed4fd99a0e (patch)
tree0974ac56dc4e78f8d2300711abd052b77eba8c99 /games-arcade/whichwayisup
parentamd64 stable (diff)
downloadgentoo-2-18dd7d889ab6de14fff501a3c8c06eed4fd99a0e.tar.gz
gentoo-2-18dd7d889ab6de14fff501a3c8c06eed4fd99a0e.tar.bz2
gentoo-2-18dd7d889ab6de14fff501a3c8c06eed4fd99a0e.zip
Initial ebuild. Thanks to Denilson.
(Portage version: 2.1.2.11)
Diffstat (limited to 'games-arcade/whichwayisup')
-rw-r--r--games-arcade/whichwayisup/ChangeLog10
-rw-r--r--games-arcade/whichwayisup/Manifest20
-rw-r--r--games-arcade/whichwayisup/files/digest-whichwayisup-0.7.03
-rw-r--r--games-arcade/whichwayisup/files/whichwayisup-32.xpm67
-rw-r--r--games-arcade/whichwayisup/metadata.xml12
-rw-r--r--games-arcade/whichwayisup/whichwayisup-0.7.0.ebuild57
6 files changed, 169 insertions, 0 deletions
diff --git a/games-arcade/whichwayisup/ChangeLog b/games-arcade/whichwayisup/ChangeLog
new file mode 100644
index 000000000000..7f426587d004
--- /dev/null
+++ b/games-arcade/whichwayisup/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for games-arcade/whichwayisup
+# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-arcade/whichwayisup/ChangeLog,v 1.1 2007/08/13 18:52:07 coldwind Exp $
+
+*whichwayisup-0.7.0 (13 Aug 2007)
+
+ 13 Aug 2007; Santiago M. Mola <coldwind@gentoo.org>
+ +files/whichwayisup-32.xpm, +metadata.xml, +whichwayisup-0.7.0.ebuild:
+ Initial ebuild. Thanks to Denilson.
+
diff --git a/games-arcade/whichwayisup/Manifest b/games-arcade/whichwayisup/Manifest
new file mode 100644
index 000000000000..b421a08f8676
--- /dev/null
+++ b/games-arcade/whichwayisup/Manifest
@@ -0,0 +1,20 @@
+AUX whichwayisup-32.xpm 1694 RMD160 e026cf914945232efe0f12ff69650a87da05d72e SHA1 b07502c1e16b0431be6e973ecb676232e38f4d66 SHA256 594a81af3ba37986f3afb3f7ba65d83e894539312fb9ba5c98d6f79ee66c16d4
+MD5 e5f2614ccf9f233acb538c6bef551817 files/whichwayisup-32.xpm 1694
+RMD160 e026cf914945232efe0f12ff69650a87da05d72e files/whichwayisup-32.xpm 1694
+SHA256 594a81af3ba37986f3afb3f7ba65d83e894539312fb9ba5c98d6f79ee66c16d4 files/whichwayisup-32.xpm 1694
+DIST whichwayisup_b070.zip 743307 RMD160 6b72edc8df5aa7beaf701c8a3792ebd409adb305 SHA1 e018daf4f37e4498939582915df8ae421978ee63 SHA256 a84553081db91400debfff50079cadea1281af5cb18ca6148a355e5abbe69aab
+EBUILD whichwayisup-0.7.0.ebuild 1374 RMD160 a05f81c2b51c018278a69bfbf37567f83afef10a SHA1 4e6406bd56774d3d29fa72918159d0e5de3441e6 SHA256 618fd40ce5e33f0fada000f2ccd32dac1ddb5376b696d07078564274181d307b
+MD5 64ccbe2ff286ef4c4e7e1e9f2ae78b90 whichwayisup-0.7.0.ebuild 1374
+RMD160 a05f81c2b51c018278a69bfbf37567f83afef10a whichwayisup-0.7.0.ebuild 1374
+SHA256 618fd40ce5e33f0fada000f2ccd32dac1ddb5376b696d07078564274181d307b whichwayisup-0.7.0.ebuild 1374
+MISC ChangeLog 327 RMD160 133f68cd3d0251da65c91c69c223102c70c61f24 SHA1 56f6e8a5a85ab10be32f56439976c795df39c719 SHA256 6426219cce70c49908124f51d94b80041ce767914dc16c1cdb18bdbfbf358ebc
+MD5 8698dcf5830986ebd642c71eb9f54607 ChangeLog 327
+RMD160 133f68cd3d0251da65c91c69c223102c70c61f24 ChangeLog 327
+SHA256 6426219cce70c49908124f51d94b80041ce767914dc16c1cdb18bdbfbf358ebc ChangeLog 327
+MISC metadata.xml 486 RMD160 b45613bfa0d7e97da18f1ed02f88340358deb677 SHA1 daaa9cbcf8c965875aca76487ddf76e54c095ba1 SHA256 41a932450b3928feebb6bad145ab3c110fe8ce2edd38a4bd6ee69beb38e35f86
+MD5 918bb4c8522eba1ff4a1579ca8196c26 metadata.xml 486
+RMD160 b45613bfa0d7e97da18f1ed02f88340358deb677 metadata.xml 486
+SHA256 41a932450b3928feebb6bad145ab3c110fe8ce2edd38a4bd6ee69beb38e35f86 metadata.xml 486
+MD5 f8e0ac7bfb7af36f38d8d93736315177 files/digest-whichwayisup-0.7.0 244
+RMD160 505fe85f6938bd115354d19994e3e8d9079f82dc files/digest-whichwayisup-0.7.0 244
+SHA256 121e4204344f0bc2a29a4be8836f1fcf596676a3298e9a6a7349d6e07744d13f files/digest-whichwayisup-0.7.0 244
diff --git a/games-arcade/whichwayisup/files/digest-whichwayisup-0.7.0 b/games-arcade/whichwayisup/files/digest-whichwayisup-0.7.0
new file mode 100644
index 000000000000..1046a67a9ec7
--- /dev/null
+++ b/games-arcade/whichwayisup/files/digest-whichwayisup-0.7.0
@@ -0,0 +1,3 @@
+MD5 9de95ed296856f86375b6aa4120c854e whichwayisup_b070.zip 743307
+RMD160 6b72edc8df5aa7beaf701c8a3792ebd409adb305 whichwayisup_b070.zip 743307
+SHA256 a84553081db91400debfff50079cadea1281af5cb18ca6148a355e5abbe69aab whichwayisup_b070.zip 743307
diff --git a/games-arcade/whichwayisup/files/whichwayisup-32.xpm b/games-arcade/whichwayisup/files/whichwayisup-32.xpm
new file mode 100644
index 000000000000..f5a6ff33c0dc
--- /dev/null
+++ b/games-arcade/whichwayisup/files/whichwayisup-32.xpm
@@ -0,0 +1,67 @@
+/* XPM */
+static char * whichwayisup_32_xpm[] = {
+"32 32 32 1",
+" c None",
+". c #03151B",
+"+ c #016C87",
+"@ c #225361",
+"# c #363636",
+"$ c #387D9A",
+"% c #0A2B35",
+"& c #4E4F50",
+"* c #ECEBEB",
+"= c #9D866F",
+"- c #E3D9D3",
+"; c #A8947C",
+"> c #CDCDCD",
+", c #C5BDA7",
+"' c #B2A38C",
+") c #D0C9B4",
+"! c #AEACAB",
+"~ c #FDFDFD",
+"{ c #020202",
+"] c #856B5D",
+"^ c #262524",
+"/ c #6E6E6E",
+"( c #888987",
+"_ c #121111",
+": c #9E9D9D",
+"< c #4F6871",
+"[ c #BCBDBD",
+"} c #023B4A",
+"| c #6E4C3B",
+"1 c #7D5945",
+"2 c #4F2C21",
+"3 c #401D14",
+" .+@@# ",
+" ++++$ ",
+" #%&@&@@@. ",
+" *=-;>,'- ",
+" )*=!~ ",
+" {{#]]]#{{ ",
+" {{^^%+@/(%_/#_ ",
+" {{&:*>@+<&<<%[~[&{ ",
+" _#:~~~~<+@/@&&(-~~/_ ",
+" _#>~~[<^{}%%@{_&{<>~:{ ",
+" _#-~>&{{ }}.+{ {^:~({ ",
+" ^>~>_^(;>,:((((--,) {(~& ",
+" {(~*#{ ,),))))))),,; _>[{ ",
+" #^*~({ ;',,,,,),,,=| {&*# ",
+" _/~~&{ ;;',)),)),=1] ^*/{ ",
+" _(~*^_ =;;'),,))=|11 {>[_ ",
+" _!~*_{ ====',,,=|1|2 {:-^ ",
+" _:~*^{ ;;;';')=|]1## {:*^ ",
+" {(~*^{ ;=;=;=]||12&2 {:~^ ",
+" _&~~&{ ==;==|321^:/^ {[~^ ",
+" _>~/{ =';;13222&~#3 {#~>_ ",
+" {/~!{ =;=|3333_[~^# {:~(^ ",
+" ^_>~^{ ''|3222_#~*^| {#~*^ ",
+" {#~:{&'123232{/~*^^{_>~/{ ",
+" {&*&^|323333{(~*&{#>~:{ ",
+" {&!# {(~~[!*~:{{ ",
+" {^#_ {/~*~~~:{{ ",
+" __{{ {#~~~~~:^{ ",
+" _>~~~~~-/_{ ",
+" {#([*~~~~[&_{ ",
+" {{^&(:[**!&{ ",
+" {{_^&&#{"};
diff --git a/games-arcade/whichwayisup/metadata.xml b/games-arcade/whichwayisup/metadata.xml
new file mode 100644
index 000000000000..89b369b6615f
--- /dev/null
+++ b/games-arcade/whichwayisup/metadata.xml
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>games</herd>
+<maintainer>
+ <email>coldwind@gentoo.org</email>
+ <name>Santiago M. Mola</name>
+</maintainer>
+ <longdescription>A traditional and challenging 2D platformer game with a
+ slight rotational twist. Help a mysterious big-eared salaryman named Guy
+ find his keys in a labyrinth of dangers and bad dialogue.</longdescription>
+</pkgmetadata>
diff --git a/games-arcade/whichwayisup/whichwayisup-0.7.0.ebuild b/games-arcade/whichwayisup/whichwayisup-0.7.0.ebuild
new file mode 100644
index 000000000000..6e36bfaca64e
--- /dev/null
+++ b/games-arcade/whichwayisup/whichwayisup-0.7.0.ebuild
@@ -0,0 +1,57 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-arcade/whichwayisup/whichwayisup-0.7.0.ebuild,v 1.1 2007/08/13 18:52:07 coldwind Exp $
+
+NEED_PYTHON="2.4"
+
+inherit games python
+
+MY_PV=${PV//./}
+MY_P=${PN}_b${MY_PV}
+DESCRIPTION="A traditional and challenging 2D platformer game with a slight rotational twist"
+HOMEPAGE="http://hectigo.net/puskutraktori/whichwayisup/"
+SRC_URI="http://hectigo.net/puskutraktori/whichwayisup/${MY_P}.zip"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~x86"
+IUSE=""
+
+DEPEND="app-arch/unzip"
+RDEPEND=">=dev-python/pygame-1.6"
+
+S=${WORKDIR}/${MY_P}
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ sed -i -e "s:libdir\ =\ .*:libdir\ =\ \"$(games_get_libdir)/${PN}\":" \
+ run_game.py || die "Changing library path failed"
+ sed -i -e "s:data_dir\ =\ .*:data_dir\ =\ \"${GAMES_DATADIR}/${PN}\":" \
+ lib/data.py || die "Changing data path failed"
+}
+
+src_install() {
+ newgamesbin run_game.py ${PN} || die "newgamesbin failed"
+
+ insinto "$(games_get_libdir)/${PN}"
+ doins lib/*.py || die "doins lib failed"
+
+ dodoc README.txt changelog.txt
+
+ insinto "${GAMES_DATADIR}/${PN}"
+ doins -r data/* || die "doins data failed"
+
+ doicon "${FILESDIR}"/${PN}-32.xpm
+ make_desktop_entry ${PN} "Which Way Is Up?" ${PN}-32.xpm
+ prepgamesdirs
+}
+
+pkg_postinst() {
+ python_mod_optimize "$(games_get_libdir)/${PN}"
+ games_pkg_postinst
+}
+
+pkg_postrm() {
+ python_mod_cleanup "$(games_get_libdir)/${PN}"
+}