diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /games-arcade/whichwayisup |
reinit the tree, so we can have metadata
Diffstat (limited to 'games-arcade/whichwayisup')
-rw-r--r-- | games-arcade/whichwayisup/Manifest | 6 | ||||
-rw-r--r-- | games-arcade/whichwayisup/files/whichwayisup-32.xpm | 67 | ||||
-rw-r--r-- | games-arcade/whichwayisup/metadata.xml | 11 | ||||
-rw-r--r-- | games-arcade/whichwayisup/whichwayisup-0.7.9-r1.ebuild | 59 |
4 files changed, 143 insertions, 0 deletions
diff --git a/games-arcade/whichwayisup/Manifest b/games-arcade/whichwayisup/Manifest new file mode 100644 index 000000000000..32e7f0ce70f4 --- /dev/null +++ b/games-arcade/whichwayisup/Manifest @@ -0,0 +1,6 @@ +AUX whichwayisup-32.xpm 1694 SHA256 594a81af3ba37986f3afb3f7ba65d83e894539312fb9ba5c98d6f79ee66c16d4 SHA512 e0329876d45aa575abe07024d7f154ff743f1899c4dbb58b8e317ae9173c2aadd63a511924e99115a9f56f42411507f542225e4980d9588e09f7765cf41bf95c WHIRLPOOL cbfa9a07ec230eeb30bbc207b44a414f17de4ce5f234d845fe26ebfa817f7c606ad889f311478d21042f8d18546f22702c5d8345c89b127f22363c7edb6b9653 +DIST whichwayisup_b079.zip 1001890 SHA256 bcc2b7fc8719a8e055969c8eac099b7c40b9d68f36ba1f83d690216bdcdd51f6 SHA512 49ac6b8224f3cf7b0711b297c9dd96ff2a0969f7c16fa1da500bef1ea5d793bd900be124a9b9874239c98db6fd2db92917b8ce2ee09b685e184cfd87bf519809 WHIRLPOOL 4558b17429c6680b39212bc584a18a78847e3845d3eea53889c1c24af09d43d9cfe4301151b89dec40d65e834f546e397466190e6dd0f6c62eb65ba7f33ce56f +EBUILD whichwayisup-0.7.9-r1.ebuild 1333 SHA256 fde25e90dc2b26523fdca45bb3e7bc99759f07560ed20efa988df99fa7f086a5 SHA512 ee9a8c57b07b126eaab3dacca6ff0ceaeb5e3188123b57d04704e0164e692e4632adf6c29715908ebc312b396df474a7c30b477ff51520dd9e4d7f8117a7877b WHIRLPOOL 9bc7b5165aab33c10373c2ea97a0d6921475910b17d206caf06e3650fa197ace8751653d098c3bc1bec6961ff96628d93c4d6978159c8ab0cfe819991f3545f6 +MISC ChangeLog 2480 SHA256 4c994c7341f2924b65acc263473d9374335b8a3546680ae604ccb892dbcbd6d7 SHA512 aab8414eae22241f0f6bded83e403666441e78b1f94240face1d6f8de3294661b00430fd42630808e22b72390e78f3ba394bde558c718fbf8869042d7f686cae WHIRLPOOL 37a7e429a9941688740eaee8c38078b76fdcad307cb2010c28b5fb72dcbddc6f4095b0296fcdc8cbec420f9de63283426e44ef5dde5e18cbd22bddca6ce941b9 +MISC ChangeLog-2015 3244 SHA256 4fdb06ee797cbcc3192e7bc34a3d1fa6872723255f9080a181ad5fc0a7a64ca7 SHA512 22f3879a54e7dafafede24af504b006a00fde871aa1141978b6d35f8c257e3c2134e4bcf0560ecdf002e731f92f0f256e60da40d876f8fd596bc6e0061640ce1 WHIRLPOOL 8ae60f13abf0aa84d0d9db3f3f573337e13b13189031520878e2de25d2bb8fcb7abf72978f19eccc97cbb8472ebdf13839e3378c1e88a011bee23eb0869cbcf8 +MISC metadata.xml 491 SHA256 2630aea11511239cf18daed67f8e09c251f86f1390114734e79ec1a656aa24b8 SHA512 a53511b1c0d5b69a34c5dfb0c302505cda98b9a54edb6b4f74868a48ee7870b1ec83dfedff7833e2997a97160182fb35f610a2f97c3577ca4b4cc297c98eeb1b WHIRLPOOL 446510dcadc7a31a9d1cab4f1091ed53e4565bd9b6dcf957f225c35114a0d5c7978144ac5c9287c2bdfa45d37177691fed0136efecad08b7a005f320077f2d4d 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-r1.ebuild b/games-arcade/whichwayisup/whichwayisup-0.7.9-r1.ebuild new file mode 100644 index 000000000000..f4ce149bc76f --- /dev/null +++ b/games-arcade/whichwayisup/whichwayisup-0.7.9-r1.ebuild @@ -0,0 +1,59 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +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 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 +} |