From 77398e424e45d9e98c1cef3c43bdadb9d56e81ef Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sun, 10 Nov 2019 13:21:36 +0000 Subject: gentoo resync : 10.11.2019 --- games-action/trine-enchanted-edition/Manifest | 2 +- .../trine-enchanted-edition-2.12.508-r1.ebuild | 87 ---------------------- .../trine-enchanted-edition-2.12.508-r2.ebuild | 87 ++++++++++++++++++++++ 3 files changed, 88 insertions(+), 88 deletions(-) delete mode 100644 games-action/trine-enchanted-edition/trine-enchanted-edition-2.12.508-r1.ebuild create mode 100644 games-action/trine-enchanted-edition/trine-enchanted-edition-2.12.508-r2.ebuild (limited to 'games-action/trine-enchanted-edition') diff --git a/games-action/trine-enchanted-edition/Manifest b/games-action/trine-enchanted-edition/Manifest index 66202df46c43..f983b6714cb6 100644 --- a/games-action/trine-enchanted-edition/Manifest +++ b/games-action/trine-enchanted-edition/Manifest @@ -1,3 +1,3 @@ DIST trine_enchanted_edition_v2_12_build_508_humble_linux_full.zip 1226749814 BLAKE2B 9803f78279bcf83a2a54f25e2498664b73ba1c0ae5c540bb4479345ae05495cc11527937876fb7c9dbb34d05dbbdb4575cc6c1899923c782ff67ea23bd2cfac9 SHA512 e883763efe89f09a84c2896bfd0a9a13319dd14bb840e67f1812a0bab45bcab7a144f4c9399194e5aabad0435e350c6a903a542c9101a37c602855ebd0884d9d -EBUILD trine-enchanted-edition-2.12.508-r1.ebuild 2470 BLAKE2B adbc64f030354184a5983eea2d82accd069fa607b6840527ed45acc3ba4344890b494153f27ff4457384aca96159412528a5e7a12a1a6a0ab2d4a253b63cd2b9 SHA512 019bf5c16d6ad59687f232b51598592fe1e685018d0600d4e7ed1b6cad540ec26dc60fa388236872b1c9c92722a270096d7b5833895d1ee7ff5ec2803f1b1cad +EBUILD trine-enchanted-edition-2.12.508-r2.ebuild 2477 BLAKE2B 513ad24999ddc8c4657bbecc8354e2bf787360a692c59c4d05a8af49812d539fcddb7b0a6cb8a937802270e052d532aae91ee02ab24654af636afe9bd96df50b SHA512 1f9f0e00ad25b1ef13c355951eb55e563606cd80c99302aaf98f8e1431774c3bb7968a6c87e49f464707170400243b5514d483d60085ec736a684e727b5775fb MISC metadata.xml 321 BLAKE2B 5aca052a154cd0d9a43b96774253a2999ad36aa01c956961ad0021fa7cc6cbc8b89b7f93c6318308f6310a877ac9cb2b70bf622f25b882cf0c13261a7fae9b9c SHA512 ab5d27c4f1f5760f902abe8829db8732a19206739001dd349ac170bc64e5edb9b10ec4d16ec3d8f52569a05bc90ac08af6724f11206fce2b3506d99555712747 diff --git a/games-action/trine-enchanted-edition/trine-enchanted-edition-2.12.508-r1.ebuild b/games-action/trine-enchanted-edition/trine-enchanted-edition-2.12.508-r1.ebuild deleted file mode 100644 index d15a55db5f78..000000000000 --- a/games-action/trine-enchanted-edition/trine-enchanted-edition-2.12.508-r1.ebuild +++ /dev/null @@ -1,87 +0,0 @@ -# Copyright 1999-2018 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -inherit desktop eutils gnome2-utils - -MY_P="${PV//./_}" -MY_P="${PN//-/_}_v${MY_P%_*}_build_${MY_P##*_}" -MY_PN="Trine Enchanted Edition" - -DESCRIPTION="The original sidescrolling action platformer under the Trine 2 engine" -HOMEPAGE="https://www.frozenbyte.com/games/trine-enchanted-edition" -SRC_URI="${MY_P}_humble_linux_full.zip" -LICENSE="all-rights-reserved" -SLOT="0" -KEYWORDS="-* ~amd64 ~x86" -IUSE="+launcher" -RESTRICT="bindist fetch splitdebug" - -QA_PREBUILT="opt/${PN}/${PN}*" - -DEPEND="app-arch/unzip" - -# SDL 1.3 is bundled but the game appears to be statically linked -# against SDL 2.0.3. We can bypass this and use our own SDL 2 by setting -# the SDL_DYNAMIC_API environment variable. - -RDEPEND=" - media-gfx/nvidia-cg-toolkit[abi_x86_32] - media-libs/alsa-lib[abi_x86_32] - media-libs/freetype:2[abi_x86_32] - media-libs/libogg[abi_x86_32] - >=media-libs/libsdl2-2.0.3[abi_x86_32,joystick,opengl,sound,threads,video] - >=media-libs/libvorbis-1.3[abi_x86_32] - >=media-libs/openal-1.15[abi_x86_32] - >=sys-devel/gcc-4.6[cxx] - >=sys-libs/glibc-2.15 - sys-libs/zlib[abi_x86_32] - virtual/glu[abi_x86_32] - virtual/opengl[abi_x86_32] - launcher? ( - dev-libs/glib:2[abi_x86_32] - media-libs/libpng:1.2[abi_x86_32] - x11-libs/gdk-pixbuf:2[abi_x86_32,X] - x11-libs/gtk+:2[abi_x86_32] - x11-libs/libX11[abi_x86_32] - x11-libs/pango[abi_x86_32,X] - )" - -S="${WORKDIR}/linux/_enchanted_edition_" - -pkg_nofetch() { - einfo "Please buy and download ${SRC_URI} from:" - einfo " https://www.humblebundle.com/store/${PN}" - einfo "and move it to your distfiles directory." -} - -src_install() { - local dir=/opt/${PN} SDL=${EPREFIX}/usr/$(ABI=x86 get_libdir)/libSDL2-2.0.so.0 - - insinto "${dir}" - doins -r *.fbq data - - exeinto "${dir}" - newexe bin/trine1_linux_32bit ${PN} - - make_wrapper ${PN} "env SDL_DYNAMIC_API=\"${SDL}\" ./${PN}" "${dir}" - make_desktop_entry ${PN} "${MY_PN}" - - if use launcher ; then - exeinto "${dir}" - newexe bin/trine1_linux_launcher_32bit ${PN}-launcher - - make_wrapper ${PN}-launcher "env SDL_DYNAMIC_API=\"${SDL}\" ./${PN}-launcher" "${dir}" - make_desktop_entry ${PN}-launcher "${MY_PN} (launcher)" - - # Launcher binary has hardcoded the game path. - dosym ../${PN} "${dir}"/bin/trine1_bin_starter.sh - fi - - newicon -s 64 trine1.png ${PN}.png - dodoc readme_changelog.txt -} - -pkg_postinst() { gnome2_icon_cache_update; } -pkg_postrm() { gnome2_icon_cache_update; } diff --git a/games-action/trine-enchanted-edition/trine-enchanted-edition-2.12.508-r2.ebuild b/games-action/trine-enchanted-edition/trine-enchanted-edition-2.12.508-r2.ebuild new file mode 100644 index 000000000000..661020e5bccc --- /dev/null +++ b/games-action/trine-enchanted-edition/trine-enchanted-edition-2.12.508-r2.ebuild @@ -0,0 +1,87 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit desktop eutils gnome2-utils + +MY_P="${PV//./_}" +MY_P="${PN//-/_}_v${MY_P%_*}_build_${MY_P##*_}" +MY_PN="Trine Enchanted Edition" + +DESCRIPTION="The original sidescrolling action platformer under the Trine 2 engine" +HOMEPAGE="https://www.frozenbyte.com/games/trine-enchanted-edition" +SRC_URI="${MY_P}_humble_linux_full.zip" +LICENSE="all-rights-reserved" +SLOT="0" +KEYWORDS="-* ~amd64 ~x86" +IUSE="+launcher" +RESTRICT="bindist fetch splitdebug" + +QA_PREBUILT="opt/${PN}/${PN}*" + +DEPEND="app-arch/unzip" + +# SDL 1.3 is bundled but the game appears to be statically linked +# against SDL 2.0.3. We can bypass this and use our own SDL 2 by setting +# the SDL_DYNAMIC_API environment variable. + +RDEPEND=" + media-gfx/nvidia-cg-toolkit[abi_x86_32] + media-libs/alsa-lib[abi_x86_32] + media-libs/freetype:2[abi_x86_32] + media-libs/libogg[abi_x86_32] + >=media-libs/libsdl2-2.0.3[abi_x86_32,joystick,opengl,sound,threads,video] + >=media-libs/libvorbis-1.3[abi_x86_32] + >=media-libs/openal-1.15[abi_x86_32] + >=sys-devel/gcc-4.6[cxx] + >=sys-libs/glibc-2.15 + sys-libs/zlib[abi_x86_32] + virtual/glu[abi_x86_32] + virtual/opengl[abi_x86_32] + launcher? ( + dev-libs/glib:2[abi_x86_32] + media-libs/libpng-compat:1.2[abi_x86_32] + x11-libs/gdk-pixbuf:2[abi_x86_32,X] + x11-libs/gtk+:2[abi_x86_32] + x11-libs/libX11[abi_x86_32] + x11-libs/pango[abi_x86_32,X] + )" + +S="${WORKDIR}/linux/_enchanted_edition_" + +pkg_nofetch() { + einfo "Please buy and download ${SRC_URI} from:" + einfo " https://www.humblebundle.com/store/${PN}" + einfo "and move it to your distfiles directory." +} + +src_install() { + local dir=/opt/${PN} SDL=${EPREFIX}/usr/$(ABI=x86 get_libdir)/libSDL2-2.0.so.0 + + insinto "${dir}" + doins -r *.fbq data + + exeinto "${dir}" + newexe bin/trine1_linux_32bit ${PN} + + make_wrapper ${PN} "env SDL_DYNAMIC_API=\"${SDL}\" ./${PN}" "${dir}" + make_desktop_entry ${PN} "${MY_PN}" + + if use launcher ; then + exeinto "${dir}" + newexe bin/trine1_linux_launcher_32bit ${PN}-launcher + + make_wrapper ${PN}-launcher "env SDL_DYNAMIC_API=\"${SDL}\" ./${PN}-launcher" "${dir}" + make_desktop_entry ${PN}-launcher "${MY_PN} (launcher)" + + # Launcher binary has hardcoded the game path. + dosym ../${PN} "${dir}"/bin/trine1_bin_starter.sh + fi + + newicon -s 64 trine1.png ${PN}.png + dodoc readme_changelog.txt +} + +pkg_postinst() { gnome2_icon_cache_update; } +pkg_postrm() { gnome2_icon_cache_update; } -- cgit v1.2.3