public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/user/superposition:master commit in: games-arcade/titanattacks/, games-arcade/titanattacks/files/
@ 2017-10-16  0:17 Philip Miess
  0 siblings, 0 replies; 3+ messages in thread
From: Philip Miess @ 2017-10-16  0:17 UTC (permalink / raw
  To: gentoo-commits

commit:     2c53fcbd720cd1199621db02413546e397672d28
Author:     Philip Miess <Philip_Miess <AT> yahoo <DOT> com>
AuthorDate: Mon Oct 16 00:15:56 2017 +0000
Commit:     Philip Miess <Phil_miess <AT> yahoo <DOT> com>
CommitDate: Mon Oct 16 00:15:56 2017 +0000
URL:        https://gitweb.gentoo.org/repo/user/superposition.git/commit/?id=2c53fcbd

add titanattacks

 games-arcade/titanattacks/Manifest                 |  4 ++
 .../titanattacks/files/titanattacks-20151219.patch | 54 ++++++++++++++++++
 games-arcade/titanattacks/metadata.xml             | 11 ++++
 .../titanattacks/titanattacks-20151219.ebuild      | 65 ++++++++++++++++++++++
 4 files changed, 134 insertions(+)

diff --git a/games-arcade/titanattacks/Manifest b/games-arcade/titanattacks/Manifest
new file mode 100644
index 0000000..d5d5a3b
--- /dev/null
+++ b/games-arcade/titanattacks/Manifest
@@ -0,0 +1,4 @@
+AUX titanattacks-20151219.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 1314 SHA256 c54a3b0866385776777c6ee7361726113328509266bfc4165a196f1264655bcc SHA512 58e55675c3507b9d6053ac2e0997f631f0bb20a07112b76f6dd9ac9e310af4cc6d20d7cb16a04bcb5a69f30077baa9a5070362b181aa01f18315484f1ab0f0d8 WHIRLPOOL ca3692d085dd9da2da852843aa03ef27b08333bfb75efe1eb01470818aae7cc12303d5b835722d984666bbcd6aa5a90b5d2763ce0c1abe65641ebbc538c7565d
+MISC metadata.xml 478 SHA256 c9542afc15418d1f455d6bdb92db24ff1c2efbfc00071c463ec078e8591f4163 SHA512 12979c309dc45e6b84a23d589db95de0b5efe69c177473659bff3218f43ff16adea1b03759f7e926dbb66be2ecd93e946431bb17457df3adbf61614dbf69cb39 WHIRLPOOL afc08aee2d1a3d329a4afb1357f2e482ba2107d1f09d2c8e51b58654b452e3f76d2665ac91ed37f9bb951c9a44beb56f883da0bf5d709a1c4c65ed3689a0fafe

diff --git a/games-arcade/titanattacks/files/titanattacks-20151219.patch b/games-arcade/titanattacks/files/titanattacks-20151219.patch
new file mode 100644
index 0000000..d72236c
--- /dev/null
+++ b/games-arcade/titanattacks/files/titanattacks-20151219.patch
@@ -0,0 +1,54 @@
+--- titanattacks.sh	2015-12-18 19:13:46.000000000 -0500
++++ titanattacks.patched.sh	2017-10-15 20:11:09.032148605 -0400
+@@ -7,47 +7,16 @@
+ SCRIPT="`basename \"$0\"`"
+ GAMEDIR="${HOME}/.titan_attacks"
+ LOGFILE="${GAMEDIR}/${SCRIPT}.log"
+-INSTDIR="`dirname \"$0\"`" ; cd "${INSTDIR}" ; INSTDIR="`pwd`"
++INSTDIR="/opt/titanattacks-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= "java" \
+     -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-arcade/titanattacks/metadata.xml b/games-arcade/titanattacks/metadata.xml
new file mode 100644
index 0000000..f3784c7
--- /dev/null
+++ b/games-arcade/titanattacks/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">
+As the last surviving tank commander on Earth, single-handedly turn back the evil invading alien army, drive back the Titans across the Solar System, and defeat them on their homeworld... 
+</longdescription>
+</pkgmetadata>

diff --git a/games-arcade/titanattacks/titanattacks-20151219.ebuild b/games-arcade/titanattacks/titanattacks-20151219.ebuild
new file mode 100644
index 0000000..341838a
--- /dev/null
+++ b/games-arcade/titanattacks/titanattacks-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="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
+	dev-java/lwjgl"
+RDEPEND="${DEPEND}"
+
+RESTRICT="bindist fetch mirror strip"
+S="${WORKDIR}/revenge"
+
+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
+}


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [gentoo-commits] repo/user/superposition:master commit in: games-arcade/titanattacks/, games-arcade/titanattacks/files/
@ 2017-10-16  0:23 Philip Miess
  0 siblings, 0 replies; 3+ messages in thread
From: Philip Miess @ 2017-10-16  0:23 UTC (permalink / raw
  To: gentoo-commits

commit:     7c43317eeb56966e2702a4fe2e394faf0ee2f6fd
Author:     Philip Miess <Philip_Miess <AT> yahoo <DOT> com>
AuthorDate: Mon Oct 16 00:25:10 2017 +0000
Commit:     Philip Miess <Phil_miess <AT> yahoo <DOT> com>
CommitDate: Mon Oct 16 00:25:10 2017 +0000
URL:        https://gitweb.gentoo.org/repo/user/superposition.git/commit/?id=7c43317e

fix patchname

 games-arcade/titanattacks/Manifest                                      | 2 +-
 ...itanattacks-20151219.patch => titanattacks-20151219-launcher.ebuild} | 0
 2 files changed, 1 insertion(+), 1 deletion(-)

diff --git a/games-arcade/titanattacks/Manifest b/games-arcade/titanattacks/Manifest
index 4917b1d..381f7d1 100644
--- a/games-arcade/titanattacks/Manifest
+++ b/games-arcade/titanattacks/Manifest
@@ -1,4 +1,4 @@
-AUX titanattacks-20151219.patch 1425 SHA256 ee66e9d700087d01bb07aa51c623ae997f3a9284615efa772d765c05d6a08bc9 SHA512 30a4fd57dc3ee44f18a03b7d269c909601fff7c16fa63ba5b326c63638f3378edc035d02d172a1697a543d6c409809d6bca78263a86c281cc45a75950d1b1c4c WHIRLPOOL faaadc753f19baf26fb45282526aed733d82bb6da91bfa39cdb4eded7ef0ce107d4590dfcc68c19422a96e3181419113558ff3d6974d1e57a6ddd36c0302e587
+AUX titanattacks-20151219-launcher.ebuild 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

diff --git a/games-arcade/titanattacks/files/titanattacks-20151219.patch b/games-arcade/titanattacks/files/titanattacks-20151219-launcher.ebuild
similarity index 100%
rename from games-arcade/titanattacks/files/titanattacks-20151219.patch
rename to games-arcade/titanattacks/files/titanattacks-20151219-launcher.ebuild


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [gentoo-commits] repo/user/superposition:master commit in: games-arcade/titanattacks/, games-arcade/titanattacks/files/
@ 2017-10-16  0:26 Philip Miess
  0 siblings, 0 replies; 3+ messages in thread
From: Philip Miess @ 2017-10-16  0:26 UTC (permalink / raw
  To: gentoo-commits

commit:     d5ba3e19940ca1d68d90824eda67a99209b5df6a
Author:     Philip Miess <Philip_Miess <AT> yahoo <DOT> com>
AuthorDate: Mon Oct 16 00:28:13 2017 +0000
Commit:     Philip Miess <Phil_miess <AT> yahoo <DOT> com>
CommitDate: Mon Oct 16 00:28:13 2017 +0000
URL:        https://gitweb.gentoo.org/repo/user/superposition.git/commit/?id=d5ba3e19

fix patchname

 games-arcade/titanattacks/Manifest                                      | 2 +-
 .../{titanattacks-20151219-launcher.ebuild => 20151219-launcher.ebuild} | 0
 2 files changed, 1 insertion(+), 1 deletion(-)

diff --git a/games-arcade/titanattacks/Manifest b/games-arcade/titanattacks/Manifest
index 381f7d1..4eb93ce 100644
--- a/games-arcade/titanattacks/Manifest
+++ b/games-arcade/titanattacks/Manifest
@@ -1,4 +1,4 @@
-AUX titanattacks-20151219-launcher.ebuild 1425 SHA256 ee66e9d700087d01bb07aa51c623ae997f3a9284615efa772d765c05d6a08bc9 SHA512 30a4fd57dc3ee44f18a03b7d269c909601fff7c16fa63ba5b326c63638f3378edc035d02d172a1697a543d6c409809d6bca78263a86c281cc45a75950d1b1c4c WHIRLPOOL faaadc753f19baf26fb45282526aed733d82bb6da91bfa39cdb4eded7ef0ce107d4590dfcc68c19422a96e3181419113558ff3d6974d1e57a6ddd36c0302e587
+AUX 20151219-launcher.ebuild 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

diff --git a/games-arcade/titanattacks/files/titanattacks-20151219-launcher.ebuild b/games-arcade/titanattacks/files/20151219-launcher.ebuild
similarity index 100%
rename from games-arcade/titanattacks/files/titanattacks-20151219-launcher.ebuild
rename to games-arcade/titanattacks/files/20151219-launcher.ebuild


^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2017-10-16  0:26 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-10-16  0:26 [gentoo-commits] repo/user/superposition:master commit in: games-arcade/titanattacks/, games-arcade/titanattacks/files/ Philip Miess
  -- strict thread matches above, loose matches on Subject: below --
2017-10-16  0:23 Philip Miess
2017-10-16  0:17 Philip Miess

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox