diff options
author | Philip Miess <Philip_Miess@yahoo.com> | 2023-03-25 16:43:24 -0400 |
---|---|---|
committer | Philip Miess <Philip_Miess@yahoo.com> | 2023-03-25 16:43:24 -0400 |
commit | 4730bd363ba9e8e66fa286f5aba8f787db3f2212 (patch) | |
tree | 061a0f7e13682a6a1d3643336aeccd903bc3c8e1 | |
parent | update hash (diff) | |
download | superposition-4730bd363ba9e8e66fa286f5aba8f787db3f2212.tar.gz superposition-4730bd363ba9e8e66fa286f5aba8f787db3f2212.tar.bz2 superposition-4730bd363ba9e8e66fa286f5aba8f787db3f2212.zip |
update hash and header, specify slot of gson
Signed-off-by: Philip Miess <Philip_Miess@yahoo.com>
-rw-r--r-- | games-strategy/revenge-of-the-titans/revenge-of-the-titans-201512192-r1.ebuild | 65 |
1 files changed, 65 insertions, 0 deletions
diff --git a/games-strategy/revenge-of-the-titans/revenge-of-the-titans-201512192-r1.ebuild b/games-strategy/revenge-of-the-titans/revenge-of-the-titans-201512192-r1.ebuild new file mode 100644 index 0000000..fec002a --- /dev/null +++ b/games-strategy/revenge-of-the-titans/revenge-of-the-titans-201512192-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="Defeat the returning Titan horde in a series of epic ground battles." +HOMEPAGE="http://www.puppygames.net/revenge-of-the-titans" +SRC_URI="RevengeOfTheTitans-HIB-201512192.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}/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 revenge.sh || die "doexe" + + make_wrapper ${PN} ./revenge.sh "${dir}" "${dir}" + doicon revenge.png + make_desktop_entry ${PN} "Revenge of the Titans" revenge Game +} |