diff options
author | 2017-10-15 21:17:42 -0400 | |
---|---|---|
committer | 2017-10-15 21:17:42 -0400 | |
commit | 1dd966f70c2d27939b5e9869fa2cb9e01471be1c (patch) | |
tree | d46e2d507cfd788563d9835576a8d9d84737391a /games-action | |
parent | droid assault (diff) | |
download | superposition-1dd966f70c2d27939b5e9869fa2cb9e01471be1c.tar.gz superposition-1dd966f70c2d27939b5e9869fa2cb9e01471be1c.tar.bz2 superposition-1dd966f70c2d27939b5e9869fa2cb9e01471be1c.zip |
spell assault correctly
Diffstat (limited to 'games-action')
-rw-r--r-- | games-action/droidassault/Manifest | 4 | ||||
-rw-r--r-- | games-action/droidassault/droidassault-20151219.ebuild | 65 | ||||
-rw-r--r-- | games-action/droidassault/files/20151219-launcher.patch | 54 | ||||
-rw-r--r-- | games-action/droidassault/metadata.xml | 11 |
4 files changed, 134 insertions, 0 deletions
diff --git a/games-action/droidassault/Manifest b/games-action/droidassault/Manifest new file mode 100644 index 0000000..97747b6 --- /dev/null +++ b/games-action/droidassault/Manifest @@ -0,0 +1,4 @@ +AUX 20151219-launcher.patch 1425 SHA256 850ebb56f1aa91e971559c1fa5907056cb065a3562134f20776a3de21b27650c SHA512 953ba831da10277c53c0279080d360977b5995dc1fd70a55417958fbce8d8c7dd5843078d5be13a99cb29125c7dd8b2f2d03c9fb4607e2d8dcb82dd86ff77e29 WHIRLPOOL 80850af82f3c1659efb37efbe4c0e50f36d40981b1a8003f2e7af965a9c29b52bfb183766dccecaad6ce1c82c80278af096cc1adc7c0d4f8617dd7079f24fe65 +DIST DroidAssault-HIB-20151219.tar.gz 75913394 SHA256 d7677483f2020af003f124093d22a73f1a449e14e7b2aef1a31417fb2ef3fd8a SHA512 aa0a959946627b2454060cb59d5475531aa7053a4a71b92fe4fbc946b3bf2bcb5e2f501018ae709813500a43e59ef0da505e4b8fc13ca2ff815f9b3686d4de14 WHIRLPOOL 0aae5656302a3bf1c3516558881578336986fbdeb2531f30e950514df62232b37540234ae1b7f6d8c92799af56142aed336fcfa24eef73ab3059a04536d8714f +EBUILD droidassault-20151219.ebuild 1323 SHA256 ee38ed25637d4247c2464e77bb6532c653dd1040d0421e21392392f7a45e1cf6 SHA512 3071cea14c1c794c090bb56593eddcdd972e396aa39c566ed87ebbcbfaa4324daf3ddaa63aac6a1490cea7219b36976eb112570c8736868b9fda037526d39ac9 WHIRLPOOL df97763b9811e2fdf992aea68e3e5cf7ad8c91e8a3efa11d72a1dbf9046dd0d98d3f57e256a2abc7d8f08bb5ece0f47b0d7b0cff0fe09b90beb04b44bc12119a +MISC metadata.xml 520 SHA256 79b6b1d4bc457aaddb883a2934c30c086e8828246a7ed8dc444b12a7decc26a9 SHA512 770004b0a8ef3163a544c72a67d4335542b5f67b41de9f1d68749069290b85f0f7ef735e90caf5e5841272de2400cb0111174dc1f1aaccd826546cf721007b3f WHIRLPOOL 37cff0640778bb03603cebe6d3eccdafc83d90e2142469c6958a838b68c52498d3d87a2b72478b718da084e5b24c02a56fe2734991d6f88f73c1f2be6e25144d diff --git a/games-action/droidassault/droidassault-20151219.ebuild b/games-action/droidassault/droidassault-20151219.ebuild new file mode 100644 index 0000000..e1ab915 --- /dev/null +++ b/games-action/droidassault/droidassault-20151219.ebuild @@ -0,0 +1,65 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit eutils java-pkg-2 + +DESCRIPTION="Blaster battles with hordes of rampaging killer robots!" +HOMEPAGE="http://www.puppygames.net/droid-assault" +SRC_URI="DroidAssault-HIB-20151219.tar.gz" + +LICENSE="all-rights-reserved" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +DEPEND=">=virtual/jre-1.7:* + virtual/opengl + media-libs/openal + dev-java/gson + dev-java/lwjgl:2.2.2" +RDEPEND="${DEPEND}" + +RESTRICT="bindist fetch mirror strip" +S="${WORKDIR}/droidassault" + +pkg_nofetch() { + einfo "Please download ${SRC_URI}" + einfo "from your personal page in Humble Bundle site" + einfo "(http://www.humblebundle.com) and place it in ${DISTDIR}" +} + +JAVA_RM_FILES=( + gson.jar + lwjgl.jar + lwjgl_util.jar + libjinput-linux.so + libjinput-linux64.so + liblwjgl.so + liblwjgl64.so + 7za_amd64 + 7za_i386 + jvm.7z +) +src_prepare() { + epatch "${FILESDIR}/${PV}-launcher.patch" + default +} + +src_install() { + local dir="/opt/${P}" + + java-pkg_jarinto "${dir}" + java-pkg_dojar *.jar + + java-pkg_sointo "${dir}" + java-pkg_doso libgdx.so libgdx64.so + + exeinto "${dir}" + doexe droidassault.sh || die "doexe" + + make_wrapper ${PN} ./droidassault.sh "${dir}" "${dir}" + doicon droidassault.png + make_desktop_entry ${PN} "Droid Assault" droidassault Game +} diff --git a/games-action/droidassault/files/20151219-launcher.patch b/games-action/droidassault/files/20151219-launcher.patch new file mode 100644 index 0000000..f78b789 --- /dev/null +++ b/games-action/droidassault/files/20151219-launcher.patch @@ -0,0 +1,54 @@ +--- droidassault.sh 2015-12-18 19:14:42.000000000 -0500 ++++ droidassault.patched.sh 2017-10-15 21:11:37.372845150 -0400 +@@ -7,47 +7,15 @@ + SCRIPT="`basename \"$0\"`" + GAMEDIR="${HOME}/.droid_assault" + LOGFILE="${GAMEDIR}/${SCRIPT}.log" +-INSTDIR="`dirname \"$0\"`" ; cd "${INSTDIR}" ; INSTDIR="`pwd`" +- ++INSTDIR="/opt/droidassalt-20151219" ++cd "${INSTDIR}" + [[ ! -d "${GAMEDIR}" ]] && mkdir -m 0755 "${GAMEDIR}" + +-if [ 1 == 0 ] +-then +- # 32 bit only +- JVM="./bin/java32" +- BOOTCLASSPATH="./lib/rt32.jar" +- +-elif [ `uname -m` == "i686" ] +-then +- JVM="./bin/java32" +- BOOTCLASSPATH="./lib/rt32.jar" +- +- # Decompress JVM on first run +- if [ ! -d "bin" ] +- then +- ./7za_i386 x jvm.7z +- chmod u+x bin/java32 +- rm -f 7za_* jvm.7z +- fi +-else +- JVM="./bin/java64" +- BOOTCLASSPATH="./lib/rt64.jar" +- +- # Decompress JVM on first run +- if [ ! -d "bin" ] +- then +- ./7za_amd64 x jvm.7z +- chmod u+x bin/java64 +- rm -f 7za_* jvm.7z +- fi +-fi +- + # XMODIFIERS is cleared here to prevent SCIM screwing up keyboard input +-_JAVA_OPTIONS= XMODIFIERS= "${JVM}" \ ++_JAVA_OPTIONS= XMODIFIERS= "ijava" \ + -server \ +- -Xbootclasspath/p:${BOOTCLASSPATH} \ + -Djava.library.path="${INSTDIR}" \ +- -Dorg.lwjgl.librarypath="${INSTDIR}" \ ++ -Dorg.lwjgl.librarypath="/usr/lib64/lwjgl-2.9" \ + -Dorg.lwjgl.util.NoChecks=false \ + -Djava.net.preferIPv4Stack=true \ + -Dnet.puppygames.applet.Launcher.resources=resources-hib.dat \ diff --git a/games-action/droidassault/metadata.xml b/games-action/droidassault/metadata.xml new file mode 100644 index 0000000..4fe0e61 --- /dev/null +++ b/games-action/droidassault/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="person"> +<email>phil_miess@yahoo.com</email> +<name>Philip Miess</name> +</maintainer> +<longdescription lang="en"> +Discover a unique tactical arcade shooter, with the fun addictive gameplay of classics like Paradroid and Quazatron. You'll need your wits and the help of your acquired droid army to stay alive in this fast-paced retro actionfest! +</longdescription> +</pkgmetadata> |