summaryrefslogtreecommitdiff
path: root/games-arcade/whichwayisup
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2018-07-14 21:03:06 +0100
committerV3n3RiX <venerix@redcorelinux.org>2018-07-14 21:03:06 +0100
commit8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 (patch)
tree7681bbd4e8b05407772df40a4bf04cbbc8afc3fa /games-arcade/whichwayisup
parent30a9caf154332f12ca60756e1b75d2f0e3e1822d (diff)
gentoo resync : 14.07.2018
Diffstat (limited to 'games-arcade/whichwayisup')
-rw-r--r--games-arcade/whichwayisup/Manifest4
-rw-r--r--games-arcade/whichwayisup/files/whichwayisup-32.xpm67
-rw-r--r--games-arcade/whichwayisup/metadata.xml11
-rw-r--r--games-arcade/whichwayisup/whichwayisup-0.7.9-r2.ebuild59
4 files changed, 141 insertions, 0 deletions
diff --git a/games-arcade/whichwayisup/Manifest b/games-arcade/whichwayisup/Manifest
new file mode 100644
index 000000000000..e27b41e2b46c
--- /dev/null
+++ b/games-arcade/whichwayisup/Manifest
@@ -0,0 +1,4 @@
+AUX whichwayisup-32.xpm 1694 BLAKE2B 079e9f6e3dde54c1d2bb7f576330663fa886bc112f3e20398c3e50521c19ccc4c68647b37e9d3ed4dc88a7f2c2ac60d11c171e3350e7ec84fee0b193e4eeb830 SHA512 e0329876d45aa575abe07024d7f154ff743f1899c4dbb58b8e317ae9173c2aadd63a511924e99115a9f56f42411507f542225e4980d9588e09f7765cf41bf95c
+DIST whichwayisup_b079.zip 1001890 BLAKE2B bfc8f15376ae7c93cc3921a7c0537d44bca44cbfd5e19533912c56151b8811a40e96271e0f3b8634a6fc4625bd32c9668fc3c321f1d2ea0306517067f3d31e24 SHA512 49ac6b8224f3cf7b0711b297c9dd96ff2a0969f7c16fa1da500bef1ea5d793bd900be124a9b9874239c98db6fd2db92917b8ce2ee09b685e184cfd87bf519809
+EBUILD whichwayisup-0.7.9-r2.ebuild 1238 BLAKE2B 9470470daf38683f8a2f0e25872564ffd7117cd80c4eae2191d87db21089879b07d13738c24be27e11b515221a0bcf557ce29d7e222b1f78c71cae17dd0594b3 SHA512 c27361684ecb16ed1ee09f85adf191bec985703a0d6012e318c98859359354e30bb00c249c37fab47741fde4c233ac9285f4b4e3e0657b6473ef28af1b743f6a
+MISC metadata.xml 491 BLAKE2B 7c632e2660757b2796dc732506e95b040890bc30941d152f4b650a2aad266e9aa3c013ce8054d02979c64610559ace6b4ac4b6d8ed9b5277a0dd9c92d9414b4c SHA512 a53511b1c0d5b69a34c5dfb0c302505cda98b9a54edb6b4f74868a48ee7870b1ec83dfedff7833e2997a97160182fb35f610a2f97c3577ca4b4cc297c98eeb1b
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..e60b4379f974
--- /dev/null
+++ b/games-arcade/whichwayisup/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>games@gentoo.org</email>
+ <name>Gentoo Games Project</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.9-r2.ebuild b/games-arcade/whichwayisup/whichwayisup-0.7.9-r2.ebuild
new file mode 100644
index 000000000000..84964d15a797
--- /dev/null
+++ b/games-arcade/whichwayisup/whichwayisup-0.7.9-r2.ebuild
@@ -0,0 +1,59 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+PYTHON_COMPAT=( python2_7 )
+
+inherit desktop python-single-r1
+
+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 ~x86"
+
+IUSE=""
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+RDEPEND="${PYTHON_DEPS}
+ dev-python/pygame[${PYTHON_USEDEP}]
+"
+DEPEND="${RDEPEND}
+ app-arch/unzip
+"
+
+S="${WORKDIR}/${PN}"
+
+src_prepare() {
+ default
+ sed -i \
+ -e "s:libdir\ =\ .*:libdir\ =\ \"/usr/$(get_libdir)/${PN}\":" \
+ run_game.py || die
+ sed -i \
+ -e "s:data_dir\ =\ .*:data_dir\ =\ \"/usr/share/${PN}\":" \
+ lib/data.py || die
+ rm data/pictures/Thumbs.db
+ python_fix_shebang .
+}
+
+src_install() {
+ newbin run_game.py ${PN}
+
+ insinto "/usr/$(get_libdir)/${PN}"
+ doins lib/*.py
+
+ python_optimize "${ED}/usr/$(get_libdir)/${PN}"
+
+ einstalldocs
+
+ insinto "/usr/share/${PN}"
+ doins -r data/*
+
+ newicon "${FILESDIR}"/${PN}-32.xpm ${PN}.xpm
+ make_desktop_entry ${PN} "Which Way Is Up?"
+}