summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'games-arcade/whichwayisup')
-rw-r--r--games-arcade/whichwayisup/Manifest1
-rw-r--r--games-arcade/whichwayisup/files/whichwayisup-32.xpm67
-rw-r--r--games-arcade/whichwayisup/metadata.xml8
-rw-r--r--games-arcade/whichwayisup/whichwayisup-0.7.9-r1.ebuild60
4 files changed, 136 insertions, 0 deletions
diff --git a/games-arcade/whichwayisup/Manifest b/games-arcade/whichwayisup/Manifest
new file mode 100644
index 000000000000..03c5b3b29299
--- /dev/null
+++ b/games-arcade/whichwayisup/Manifest
@@ -0,0 +1 @@
+DIST whichwayisup_b079.zip 1001890 SHA256 bcc2b7fc8719a8e055969c8eac099b7c40b9d68f36ba1f83d690216bdcdd51f6 SHA512 49ac6b8224f3cf7b0711b297c9dd96ff2a0969f7c16fa1da500bef1ea5d793bd900be124a9b9874239c98db6fd2db92917b8ce2ee09b685e184cfd87bf519809 WHIRLPOOL 4558b17429c6680b39212bc584a18a78847e3845d3eea53889c1c24af09d43d9cfe4301151b89dec40d65e834f546e397466190e6dd0f6c62eb65ba7f33ce56f
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..d0b9efb23429
--- /dev/null
+++ b/games-arcade/whichwayisup/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>games</herd>
+ <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.9-r1.ebuild b/games-arcade/whichwayisup/whichwayisup-0.7.9-r1.ebuild
new file mode 100644
index 000000000000..50d541b356ce
--- /dev/null
+++ b/games-arcade/whichwayisup/whichwayisup-0.7.9-r1.ebuild
@@ -0,0 +1,60 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+PYTHON_COMPAT=( python2_7 )
+inherit eutils python-single-r1 games
+
+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 CC-BY-3.0"
+SLOT="0"
+KEYWORDS="amd64 ppc x86"
+IUSE=""
+
+RDEPEND="dev-python/pygame[${PYTHON_USEDEP}]
+ ${PYTHON_DEPS}"
+DEPEND="${RDEPEND}
+ app-arch/unzip"
+REQUIRED_USE=${PYTHON_REQUIRED_USE}
+
+S=${WORKDIR}/${PN}
+
+pkg_setup() {
+ python-single-r1_pkg_setup
+ games_pkg_setup
+}
+
+src_prepare() {
+ sed -i \
+ -e "s:libdir\ =\ .*:libdir\ =\ \"$(games_get_libdir)/${PN}\":" \
+ run_game.py || die
+ sed -i \
+ -e "s:data_dir\ =\ .*:data_dir\ =\ \"${GAMES_DATADIR}/${PN}\":" \
+ lib/data.py || die
+ rm data/pictures/Thumbs.db
+ python_fix_shebang .
+}
+
+src_install() {
+ newgamesbin run_game.py ${PN}
+
+ insinto "$(games_get_libdir)/${PN}"
+ doins lib/*.py
+
+ python_optimize "${D}$(games_get_libdir)/${PN}"
+
+ dodoc README.txt changelog.txt
+
+ insinto "${GAMES_DATADIR}/${PN}"
+ doins -r data/*
+
+ newicon "${FILESDIR}"/${PN}-32.xpm ${PN}.xpm
+ make_desktop_entry ${PN} "Which Way Is Up?"
+ prepgamesdirs
+}