From b49088575eb777ced2551f484da86317332d6087 Mon Sep 17 00:00:00 2001 From: V3n3RiX <venerix@redcorelinux.org> Date: Sat, 24 Jul 2021 02:11:45 +0100 Subject: gentoo resync : 24.07.2021 --- games-arcade/Manifest.gz | Bin 20907 -> 20895 bytes games-arcade/funnyboat/Manifest | 2 +- games-arcade/funnyboat/funnyboat-1.5_p11-r2.ebuild | 2 +- games-arcade/solarwolf/Manifest | 4 +- games-arcade/solarwolf/solarwolf-1.5-r2.ebuild | 50 --------------- games-arcade/solarwolf/solarwolf-1.5_p3.ebuild | 60 ++++++++++++++++++ games-arcade/whichwayisup/Manifest | 4 +- .../whichwayisup/files/whichwayisup-32.xpm | 67 --------------------- .../whichwayisup/whichwayisup-0.7.9-r3.ebuild | 62 ------------------- .../whichwayisup/whichwayisup-0.7.9-r4.ebuild | 55 +++++++++++++++++ 10 files changed, 121 insertions(+), 185 deletions(-) delete mode 100644 games-arcade/solarwolf/solarwolf-1.5-r2.ebuild create mode 100644 games-arcade/solarwolf/solarwolf-1.5_p3.ebuild delete mode 100644 games-arcade/whichwayisup/files/whichwayisup-32.xpm delete mode 100644 games-arcade/whichwayisup/whichwayisup-0.7.9-r3.ebuild create mode 100644 games-arcade/whichwayisup/whichwayisup-0.7.9-r4.ebuild (limited to 'games-arcade') diff --git a/games-arcade/Manifest.gz b/games-arcade/Manifest.gz index 806a4fd7c920..9a3975599916 100644 Binary files a/games-arcade/Manifest.gz and b/games-arcade/Manifest.gz differ diff --git a/games-arcade/funnyboat/Manifest b/games-arcade/funnyboat/Manifest index 7a4c7bc4250b..14ee747ea686 100644 --- a/games-arcade/funnyboat/Manifest +++ b/games-arcade/funnyboat/Manifest @@ -1,4 +1,4 @@ DIST funnyboat-1.5-src.zip 3839990 BLAKE2B 30576f2bb20a236d518a5aca1b173d0e6f876a8411eef87d85950059536b3c6f1801b6f5a498d854ce6f390911ecc3a604f3c9bd438692943721b064f9c6d708 SHA512 7d38070e73825602d6f0a82e810fe8937fe919ce12f6e802ee25147ca1a2333c2b90821d92e20b8e071070505099bf9ec562e8c7b8cd8d241c3021b840e707cc DIST funnyboat_1.5-11.debian.tar.xz 12572 BLAKE2B 691a547cdc2ad07515268fe3e5c828d557f691746e9a9f136dc2634b9130210330ebd68b89fdc783373e5b660ddfe1caf2b74465e6d473b8e7c66a602b3a3f10 SHA512 9dd117e71715ec0a421061c1b71447ac9413b0d80f0337ab4cecc941324f6b9b2466981ed39a9670fa0c56075e60499eeb619ec0bfd8c7c010469d56d3ed66ec -EBUILD funnyboat-1.5_p11-r2.ebuild 1206 BLAKE2B 4336fa7e9d2b134cc3f82e4c22d3572af49f576a1c62bf40c651e9f7a15f9db6f6c060460644458ed1222b548b7b098f55120ee0d179e85146cc5a914c43997c SHA512 7443c5d068930b54a2f2ed21a2c9197334fdc38083a0d433bf602a201d09963ccdc156dfb869d8585fdaa83c7319b39b10fcf8a5c57718e02796be6c73f8339b +EBUILD funnyboat-1.5_p11-r2.ebuild 1200 BLAKE2B 0f0d5fdf7448493f3153d2fe24463ce53bfbac908e19f01c6b1c0f3b9002b7b25533712601b1df0bd77203aaa5caa8e3f3ffb81046a7b612887c16072a0c2325 SHA512 d8f1b1d834032d332ccf7e08241e5daa98e1e85d9be4c4c912a1ba2d840f75ace72d64b2b0ec2d0ba5d4901ec66d938234df73b1e16aabc6cd3785f8b0d3c2e0 MISC metadata.xml 332 BLAKE2B 0f043d28ad918706a08b16364c276af4e7cb3c7f686d799ccf40e54a673d87eceb011a1c72bff3332ce2ca2a9ea62268365f00c26b5bbc5d1f0f4a367522441f SHA512 840d32294f544c648307a82c390a64aea38a6f2931734e377d576ceff26047d9dbff9486d60b0164570a4826fbd148a5af14528c336aa41c4ad6dd51790095b7 diff --git a/games-arcade/funnyboat/funnyboat-1.5_p11-r2.ebuild b/games-arcade/funnyboat/funnyboat-1.5_p11-r2.ebuild index 4f5dae983289..a0c6232d07c0 100644 --- a/games-arcade/funnyboat/funnyboat-1.5_p11-r2.ebuild +++ b/games-arcade/funnyboat/funnyboat-1.5_p11-r2.ebuild @@ -20,7 +20,7 @@ REQUIRED_USE="${PYTHON_REQUIRED_USE}" RDEPEND=" ${PYTHON_DEPS} - $(python_gen_cond_dep 'dev-python/pygame[${PYTHON_MULTI_USEDEP}]') + $(python_gen_cond_dep 'dev-python/pygame[${PYTHON_USEDEP}]') media-libs/sdl2-image[png] media-libs/sdl2-mixer[vorbis]" BDEPEND=" diff --git a/games-arcade/solarwolf/Manifest b/games-arcade/solarwolf/Manifest index 9060fca754e4..df4eb6bf7c8d 100644 --- a/games-arcade/solarwolf/Manifest +++ b/games-arcade/solarwolf/Manifest @@ -1,4 +1,4 @@ DIST solarwolf-1.5.tar.gz 2045888 BLAKE2B 66498b1d9b202b45ff87ea9d4b1ab14dcb6e343e8b0761576cfbf1c84ee9575cbf665e4b94552eb764f5e4fbaa02739f62c9eb20217085a6d18483d3ca7eb587 SHA512 44d84976f7797e3b859f1e5e50f9f964e5c6d6d4437ad25cf04720035e8697cc0c86490fdbbf8d923320a5c15c6e3afd1fbcfb9f17e7e31ce6f7264004e991f2 -DIST solarwolf_1.5+dfsg1-1.debian.tar.xz 8392 BLAKE2B 099543a22e93775756a90867dfeb7926ab9131b8367fa356a6d74efb682d17c5426f5f5372079052967a752a0c75e1d2db36b2ce0b43d00010c65468da968817 SHA512 b4d8ad1a0e83e4cf97185b075a53b7f66fbc20f865e490f714295f678fc675a111d2318e7c0b543028b5d948677140070acb9c04b07fdab1165e37606f34d87a -EBUILD solarwolf-1.5-r2.ebuild 1085 BLAKE2B 4c6452ed6a4105fab33fcf176dc4bc38f7c056b0d556cd3706e3c4767bd5dac5aeaffb31bba36db1ae6cd3fd193fff379e05393ea87fff7b6c864737443858c6 SHA512 7bcf0bdf0047f2b0f3a320fe0682fc4d045702827da46f2aa1867c0208afda5a618afe663bc8a4bcbe4b45de487bf8f63e4b57288f724659a5d36f68e58ff456 +DIST solarwolf_1.5+dfsg1-3.debian.tar.xz 8944 BLAKE2B 7d83da34338e069d5076e7852f87f233043bfd3f3b2fe93a03fc3fcc631545ff666922d776d25689dec0723b077a373b30aed70ff713e27fad2c0f77bcf3b40e SHA512 e443c6096d7fae2ead3a4d6cacd21590dbdd89ae3293bbd3a219a5337647088b417d6712cef0839c394bc18570d0255d2c3af12a0fc1aae718955ddc64dced95 +EBUILD solarwolf-1.5_p3.ebuild 1434 BLAKE2B c84ceb67a5e48dd23abc088e8b97b578e31d19d940772addb4f18ab9538c28a8d24f5eb7cb615570628b8d84df6795327834cdfa67ea903d851d2fe931abc8ee SHA512 a4d6d0a00cd7a920f6f5929a30e66701daec848b4da097690e16f31a24cbf3221b61aba2402a9b351071453e5b12a5942068c23f7e666d23c31dbbd24af0e0d5 MISC metadata.xml 249 BLAKE2B 7113a758d7abc93accec998a8843d8ef51ca8b72d72e659e224d5cec2a1a6a63e6c0605958091532ac6e51fa0d501ca4fd9f3f4a9e55baeb31519a02971b465f SHA512 895577c3a805c40581da03057b94e3f28f05f23012bf350c1e3575847d1a0fe40bb044a46f909012a200d991a400f6389358a60e9c2b5bef0da01fb26f846118 diff --git a/games-arcade/solarwolf/solarwolf-1.5-r2.ebuild b/games-arcade/solarwolf/solarwolf-1.5-r2.ebuild deleted file mode 100644 index 2ec0e6da2f73..000000000000 --- a/games-arcade/solarwolf/solarwolf-1.5-r2.ebuild +++ /dev/null @@ -1,50 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -PYTHON_COMPAT=( python3_{7,8,9} ) -inherit desktop python-r1 wrapper - -DESCRIPTION="Action/arcade recreation of SolarFox" -HOMEPAGE="http://www.pygame.org/shredwheat/solarwolf/" -SRC_URI=" - http://www.pygame.org/shredwheat/solarwolf/${P}.tar.gz - mirror://debian/pool/main/${PN:0:1}/${PN}/${PN}_${PV}+dfsg1-1.debian.tar.xz -" - -LICENSE="LGPL-2.1" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~hppa ~x86" - -REQUIRED_USE="${PYTHON_REQUIRED_USE}" - -RDEPEND=" - ${PYTHON_DEPS} - >=dev-python/pygame-1.5.6[${PYTHON_USEDEP}] - media-libs/sdl-mixer[mod,vorbis] -" -DEPEND="${RDEPEND}" - -src_prepare() { - default - - eapply -p1 "${WORKDIR}"/debian/patches/*.patch - - find . -name .xvpics -print0 | xargs -0 rm -fr || die - # bug #619948 - gunzip dist/${PN}.6.gz || die -} - -src_install() { - insinto /usr/share/${PN} - doins -r code data *py - - make_wrapper ${PN} "python3 ./solarwolf.py" /usr/share/${PN} - - newicon data/ship-big.png ${PN}.png - make_desktop_entry ${PN} SolarWolf - - einstalldocs - doman dist/${PN}.6 -} diff --git a/games-arcade/solarwolf/solarwolf-1.5_p3.ebuild b/games-arcade/solarwolf/solarwolf-1.5_p3.ebuild new file mode 100644 index 000000000000..93c392620e1a --- /dev/null +++ b/games-arcade/solarwolf/solarwolf-1.5_p3.ebuild @@ -0,0 +1,60 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{8..9} ) +inherit desktop python-single-r1 + +MY_P="${PN}-$(ver_cut 1-2)" + +DESCRIPTION="Action/arcade recreation of SolarFox" +HOMEPAGE="https://www.pygame.org/shredwheat/solarwolf/index.shtml" +SRC_URI=" + http://www.pygame.org/shredwheat/solarwolf/${MY_P}.tar.gz + mirror://debian/pool/main/s/solarwolf/${MY_P/-/_}+dfsg1-${PV/*_p}.debian.tar.xz" +S="${WORKDIR}/${MY_P}" + +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~hppa ~x86" +REQUIRED_USE="${PYTHON_REQUIRED_USE}" + +RDEPEND=" + ${PYTHON_DEPS} + $(python_gen_cond_dep 'dev-python/pygame[${PYTHON_USEDEP}]') + media-libs/sdl2-image[gif,png] + media-libs/sdl2-mixer[mod,vorbis]" +BDEPEND="${PYTHON_DEPS}" + +PATCHES=( + "${WORKDIR}"/debian/patches +) + +src_prepare() { + default + + sed -e "/CODEDIR = \"/s|= .*|= \"${EPREFIX}/usr/share/${PN}/code\"|" \ + -e "/DATADIR = \"/s|= .*|= \"${EPREFIX}/usr/share/${PN}\"|" \ + -i ${PN}.py || die + python_fix_shebang ${PN}.py + + # default to windowed given it forces resolution and menus can be invisible + sed -i '/^display = 1/s/1/0/' code/game.py || die + + rm -r data/.xvpics || die + gzip -d dist/${PN}.6.gz || die +} + +src_install() { + newbin ${PN}.py ${PN} + doman dist/${PN}.6 + + insinto /usr/share/${PN} + doins -r code data + + dodoc readme.txt + + newicon data/ship-big.png ${PN}.png + make_desktop_entry ${PN} SolarWolf +} diff --git a/games-arcade/whichwayisup/Manifest b/games-arcade/whichwayisup/Manifest index 11f7035f8c62..99e43df31d3e 100644 --- a/games-arcade/whichwayisup/Manifest +++ b/games-arcade/whichwayisup/Manifest @@ -1,7 +1,7 @@ AUX whichwayisup-0.7.9-check_for_joystick_axes_not_null.patch 582 BLAKE2B 6d5c35fe35fe08df884c69b54c8a0ca18bfa2f22706274cf7a8589391fc0f25d77ae7619c8ec44fe075e31020af19b0350bbac7f9e2866838629e24df6e7468f SHA512 506560bb48348b37034a6f7851e1d4ff4e56374df7fed9cc5ac405aadfd4e63cf947fdfa837f45b51eaa08f5bd0f5deeb805a02afb67eae9a03c8b24aff53c74 AUX whichwayisup-0.7.9-initialize_only_required_pygame_modules.patch 631 BLAKE2B 09c7b64e45ec239905043b1d1a8abf965d92a54405f98ee5db4f3c6e494dc509ca99ee00f42c2c125320975e8e8e7bd17436a05b1066218b70ba27c16af65643 SHA512 2fb39740ed5ee4814f496e799d27f4d9377771861799e907bab5d3454aca2b3d6d25616d254977f7bf3504b4874774bc9984ddcfca58660fd63cb5bc6938663d AUX whichwayisup-0.7.9-python3.patch 18559 BLAKE2B 96cb66f5092e1a0ee29e82b12ec5c6cdde3f92cdc3cb6a0db5b768e0eb51e6a8eaf5e4ca85889966d5155f9197fff8431408ac5a3a63b58cb65d38db15e04c64 SHA512 cefabb3deee25bf6fb008d648257dfd5fbe30a87e7aa9fc3cb0d80ce544db6e7c52193a3aad68761a8d7258b9474066eba6c5723b7da3ad1ac5c27f579184f28 -AUX whichwayisup-32.xpm 1694 BLAKE2B 079e9f6e3dde54c1d2bb7f576330663fa886bc112f3e20398c3e50521c19ccc4c68647b37e9d3ed4dc88a7f2c2ac60d11c171e3350e7ec84fee0b193e4eeb830 SHA512 e0329876d45aa575abe07024d7f154ff743f1899c4dbb58b8e317ae9173c2aadd63a511924e99115a9f56f42411507f542225e4980d9588e09f7765cf41bf95c +DIST whichwayisup.png 6720 BLAKE2B 26514e025341ce7d5145d69295a24477ea3575afcfb0a11bbbddb1dd716feadef9a030ec9dc4171b75842fafc78670ed1fc7656dac8dbd6695b9592b73bb1383 SHA512 469b847955a745177c7629dd13f1975191766863bfe263e3818105356d71aaaeb66cbe34846d0bd908bf494e2d7d42b7f33499868da2fa346f96f8080bccc0b2 DIST whichwayisup_b079.zip 1001890 BLAKE2B bfc8f15376ae7c93cc3921a7c0537d44bca44cbfd5e19533912c56151b8811a40e96271e0f3b8634a6fc4625bd32c9668fc3c321f1d2ea0306517067f3d31e24 SHA512 49ac6b8224f3cf7b0711b297c9dd96ff2a0969f7c16fa1da500bef1ea5d793bd900be124a9b9874239c98db6fd2db92917b8ce2ee09b685e184cfd87bf519809 -EBUILD whichwayisup-0.7.9-r3.ebuild 1370 BLAKE2B 351e7169dfd7edccced27db3f5f3193b08555017a66f5803cd7271a0670b7a92d2ed2646a8f76c96ebcce1b65f1038fd79750470118cc9ca1a43d7b7118e81ed SHA512 dc95b2776b8c533e7468afd9db8e4054052d78542833d8f64fe15d822faee0b5cbfc87cfa141998b06f931927e34e2357816c3da2dd17b7318dba75bd5fdc3f9 +EBUILD whichwayisup-0.7.9-r4.ebuild 1308 BLAKE2B 836ee81070c329f198af378100a0dfa628af0c44c1265dbb2dec45b160bccf0596ea941232a79cfdb2969b1ccf43c844f59161174ccc897d510a87e848370ad6 SHA512 1ac00033d22e0f3e51c785336c9b4898f01d38e55960d51f6ca27c3ece458722606e33c48139efa1bab0f79d8ed76003a510e7d936a112e391bc540985e34013 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 deleted file mode 100644 index f5a6ff33c0dc..000000000000 --- a/games-arcade/whichwayisup/files/whichwayisup-32.xpm +++ /dev/null @@ -1,67 +0,0 @@ -/* 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/whichwayisup-0.7.9-r3.ebuild b/games-arcade/whichwayisup/whichwayisup-0.7.9-r3.ebuild deleted file mode 100644 index 8c6d76376e9e..000000000000 --- a/games-arcade/whichwayisup/whichwayisup-0.7.9-r3.ebuild +++ /dev/null @@ -1,62 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 -PYTHON_COMPAT=( python3_{7,8,9} ) - -inherit desktop python-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}" -BDEPEND="app-arch/unzip" - -S="${WORKDIR}/${PN}" - -PATCHES=( - # Fixes from Fedora - "${FILESDIR}"/${P}-check_for_joystick_axes_not_null.patch - "${FILESDIR}"/${P}-initialize_only_required_pygame_modules.patch - "${FILESDIR}"/${P}-python3.patch -) - -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 || die -} - -src_install() { - newbin run_game.py ${PN} - - insinto "/usr/$(get_libdir)/${PN}" - doins lib/*.py - - einstalldocs - - insinto "/usr/share/${PN}" - doins -r data/* - - newicon "${FILESDIR}"/${PN}-32.xpm ${PN}.xpm - make_desktop_entry ${PN} "Which Way Is Up?" -} diff --git a/games-arcade/whichwayisup/whichwayisup-0.7.9-r4.ebuild b/games-arcade/whichwayisup/whichwayisup-0.7.9-r4.ebuild new file mode 100644 index 000000000000..f37eff3578bc --- /dev/null +++ b/games-arcade/whichwayisup/whichwayisup-0.7.9-r4.ebuild @@ -0,0 +1,55 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{8..9} ) +inherit desktop python-single-r1 + +DESCRIPTION="Traditional and challenging 2D platformer game with a slight rotational twist" +HOMEPAGE="https://wiki.gentoo.org/wiki/No_homepage" +SRC_URI=" + mirror://gentoo/${PN}_b$(ver_rs 1- '').zip + https://dev.gentoo.org/~ionen/distfiles/${PN}.png" +S="${WORKDIR}/${PN}" + +LICENSE="BitstreamVera CC-BY-3.0 GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +REQUIRED_USE="${PYTHON_REQUIRED_USE}" + +RDEPEND=" + ${PYTHON_DEPS} + $(python_gen_cond_dep 'dev-python/pygame[${PYTHON_USEDEP}]') + media-libs/sdl2-image[png] + media-libs/sdl2-mixer[vorbis]" +BDEPEND=" + ${PYTHON_DEPS} + app-arch/unzip" + +PATCHES=( + "${FILESDIR}"/${P}-check_for_joystick_axes_not_null.patch + "${FILESDIR}"/${P}-initialize_only_required_pygame_modules.patch + "${FILESDIR}"/${P}-python3.patch +) + +src_prepare() { + default + + sed -i "/libdir =/s|= .*|= \"${EPREFIX}/usr/share/${PN}/lib\"|" run_game.py || die + python_fix_shebang run_game.py + + rm data/pictures/Thumbs.db || die +} + +src_install() { + newbin run_game.py ${PN} + + insinto /usr/share/${PN} + doins -r data lib + + dodoc README.txt changelog.txt + + doicon "${DISTDIR}"/${PN}.png + make_desktop_entry ${PN} "Which Way Is Up?" +} -- cgit v1.2.3