summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'games-arcade')
-rw-r--r--games-arcade/titanattacks/Manifest9
-rw-r--r--games-arcade/titanattacks/titanattacks-20151219-r1.ebuild65
2 files changed, 70 insertions, 4 deletions
diff --git a/games-arcade/titanattacks/Manifest b/games-arcade/titanattacks/Manifest
index 7b2be95..d659093 100644
--- a/games-arcade/titanattacks/Manifest
+++ b/games-arcade/titanattacks/Manifest
@@ -1,4 +1,5 @@
-AUX 20151219-launcher.patch 1425 SHA256 ee66e9d700087d01bb07aa51c623ae997f3a9284615efa772d765c05d6a08bc9 SHA512 30a4fd57dc3ee44f18a03b7d269c909601fff7c16fa63ba5b326c63638f3378edc035d02d172a1697a543d6c409809d6bca78263a86c281cc45a75950d1b1c4c WHIRLPOOL faaadc753f19baf26fb45282526aed733d82bb6da91bfa39cdb4eded7ef0ce107d4590dfcc68c19422a96e3181419113558ff3d6974d1e57a6ddd36c0302e587
-DIST TitanAttacks-HIB-20151219.tar.gz 46012148 SHA256 bbf21a20a3faca04a07d5f799a5932b74d6d00fdfe920c8c72f6165d3180b217 SHA512 143afe2b095b8c833ba68b8ede46d32fcbb5385b81a1f3b93be1879c54f84016d338891a00fdea1e5ec23cf5df819ff3e670ea72720f0ba41d201232190a33a2 WHIRLPOOL 229e7267380537a921ee6891aee10e8ee358920cfdc70b05628880a138ff004067d383e9c4b0de733156fd728faf1b349e50a825d46b7a5e644bcbed50851d86
-EBUILD titanattacks-20151219.ebuild 1324 SHA256 0b8cef167adff3bb51b2fc482d04bc89ccfb01f384ab575f09e8c51bd573de26 SHA512 d38a36fe3d2f7117b8a2e340bfba3227fc4d7762f2d2909f0ada4fdce448cdf9a6003f2faf0f590903136ec013d62d8eb4cbb881090ecd13d4bd1ea370b9e293 WHIRLPOOL f92463819e976c2997d2fee3d2e27bad49200d8ceaab8e065404101d124c14154a28546da650feee199d2f621f0ac572baeeda50c1b79aa55f3b9467fb487feb
-MISC metadata.xml 478 SHA256 c9542afc15418d1f455d6bdb92db24ff1c2efbfc00071c463ec078e8591f4163 SHA512 12979c309dc45e6b84a23d589db95de0b5efe69c177473659bff3218f43ff16adea1b03759f7e926dbb66be2ecd93e946431bb17457df3adbf61614dbf69cb39 WHIRLPOOL afc08aee2d1a3d329a4afb1357f2e482ba2107d1f09d2c8e51b58654b452e3f76d2665ac91ed37f9bb951c9a44beb56f883da0bf5d709a1c4c65ed3689a0fafe
+AUX 20151219-launcher.patch 1425 BLAKE2B c6e488bd710e107ebcea1a1ad9fe3c80d50ba3587c507d214abe2b9f74885e5100c95b4c3aba60f5c7ac2ddb7ba15a3bc2d492387848840d300b9c54f2fba5f8 SHA512 30a4fd57dc3ee44f18a03b7d269c909601fff7c16fa63ba5b326c63638f3378edc035d02d172a1697a543d6c409809d6bca78263a86c281cc45a75950d1b1c4c
+DIST TitanAttacks-HIB-20151219.tar.gz 46012148 BLAKE2B 1acbe6db36fc90030c9fc07d3b58dbfd43e3b53adb0be9517f10e69558d6db4a4b34e7c0f91f5fcf58a70b773ed1145a98aaddcfe1b5cfeef6afb973623ca097 SHA512 143afe2b095b8c833ba68b8ede46d32fcbb5385b81a1f3b93be1879c54f84016d338891a00fdea1e5ec23cf5df819ff3e670ea72720f0ba41d201232190a33a2
+EBUILD titanattacks-20151219-r1.ebuild 1319 BLAKE2B 807dd47abe5d10d3ac837742406d6f6567e3244376dd4658484ff413899ac814912d7874e713c83cb4b039561d2ebe69c1ab5ee2c5490d0f88b64e7f2251304f SHA512 e0d422c181277ce61f6175d1b0398a76399c133d4283bc5b854b48c47aefd874d5375381deaac2e1162d3037a6604292ce98c5283131865235f88b664c9bbf27
+EBUILD titanattacks-20151219.ebuild 1324 BLAKE2B 4ffaac83cd265b92ad8749cb39f4bac0a16724a966394c38a5b3b931a1d75945a20db1164baf645fc9a58d5bed98c18439848e37215fa167aedd69b414c53e32 SHA512 d38a36fe3d2f7117b8a2e340bfba3227fc4d7762f2d2909f0ada4fdce448cdf9a6003f2faf0f590903136ec013d62d8eb4cbb881090ecd13d4bd1ea370b9e293
+MISC metadata.xml 478 BLAKE2B 47d29a2bd593a5a20b317459b0a8eecf25958c89cd7aa1b667fe7784a288550e508de252df769ebe2b415789d8d8d4fd737ff6b5f935dc64945b5fa4013bf150 SHA512 12979c309dc45e6b84a23d589db95de0b5efe69c177473659bff3218f43ff16adea1b03759f7e926dbb66be2ecd93e946431bb17457df3adbf61614dbf69cb39
diff --git a/games-arcade/titanattacks/titanattacks-20151219-r1.ebuild b/games-arcade/titanattacks/titanattacks-20151219-r1.ebuild
new file mode 100644
index 0000000..0ae2b1a
--- /dev/null
+++ b/games-arcade/titanattacks/titanattacks-20151219-r1.ebuild
@@ -0,0 +1,65 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit eutils java-pkg-2
+
+DESCRIPTION="single-handedly turn back the evil invading alien army"
+HOMEPAGE="http://www.puppygames.net/titan-attacks"
+SRC_URI="TitanAttacks-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:2.6
+ dev-java/lwjgl"
+RDEPEND="${DEPEND}"
+
+RESTRICT="bindist fetch mirror strip"
+S="${WORKDIR}/titanattacks"
+
+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 titanattacks.sh || die "doexe"
+
+ make_wrapper ${PN} ./titanattacks.sh "${dir}" "${dir}"
+ doicon titanattacks.png
+ make_desktop_entry ${PN} "Titans Attacks" titanattacks Game
+}