summaryrefslogtreecommitdiff
path: root/games-action
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2018-11-03 08:36:22 +0000
committerV3n3RiX <venerix@redcorelinux.org>2018-11-03 08:36:22 +0000
commitf65628136faa35d0c4d3b5e7332275c7b35fcd96 (patch)
tree021998302365c5652e37824b6c26d4d969a62055 /games-action
parent70b82ae359a5538711e103b0e8dfb92654296644 (diff)
gentoo resync : 03.11.2018
Diffstat (limited to 'games-action')
-rw-r--r--games-action/Manifest.gzbin13992 -> 13997 bytes
-rw-r--r--games-action/trine-enchanted-edition/Manifest2
-rw-r--r--games-action/trine-enchanted-edition/trine-enchanted-edition-2.12.508-r1.ebuild (renamed from games-action/trine-enchanted-edition/trine-enchanted-edition-2.12.508.ebuild)14
3 files changed, 8 insertions, 8 deletions
diff --git a/games-action/Manifest.gz b/games-action/Manifest.gz
index 590d6f859155..a68776135d16 100644
--- a/games-action/Manifest.gz
+++ b/games-action/Manifest.gz
Binary files differ
diff --git a/games-action/trine-enchanted-edition/Manifest b/games-action/trine-enchanted-edition/Manifest
index 5d5d2b7ac2ee..66202df46c43 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.ebuild 2330 BLAKE2B 2905888a064645c399a9386c8bebf131ba7fca480a721214bf2757d8df9f3d0dc930d1d78c181ad2794a11ec5d82c71f57d0a9616768742d2e7a52f1ed832396 SHA512 65559193729a0c16c47d261ba7457e11b97317026c64667d11773e88dac0b2745edf43b92b28a980982bd33463f504f794009ab9eca86adac3e31cbc073f8b30
+EBUILD trine-enchanted-edition-2.12.508-r1.ebuild 2470 BLAKE2B adbc64f030354184a5983eea2d82accd069fa607b6840527ed45acc3ba4344890b494153f27ff4457384aca96159412528a5e7a12a1a6a0ab2d4a253b63cd2b9 SHA512 019bf5c16d6ad59687f232b51598592fe1e685018d0600d4e7ed1b6cad540ec26dc60fa388236872b1c9c92722a270096d7b5833895d1ee7ff5ec2803f1b1cad
MISC metadata.xml 321 BLAKE2B 5aca052a154cd0d9a43b96774253a2999ad36aa01c956961ad0021fa7cc6cbc8b89b7f93c6318308f6310a877ac9cb2b70bf622f25b882cf0c13261a7fae9b9c SHA512 ab5d27c4f1f5760f902abe8829db8732a19206739001dd349ac170bc64e5edb9b10ec4d16ec3d8f52569a05bc90ac08af6724f11206fce2b3506d99555712747
diff --git a/games-action/trine-enchanted-edition/trine-enchanted-edition-2.12.508.ebuild b/games-action/trine-enchanted-edition/trine-enchanted-edition-2.12.508-r1.ebuild
index fcff32bee8f5..d15a55db5f78 100644
--- a/games-action/trine-enchanted-edition/trine-enchanted-edition-2.12.508.ebuild
+++ b/games-action/trine-enchanted-edition/trine-enchanted-edition-2.12.508-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
@@ -23,14 +23,15 @@ 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. This is unfortunate as there are bugs. For example,
-# it doesn't respect the DISPLAY variable under Zaphod mode.
+# 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]
@@ -56,7 +57,7 @@ pkg_nofetch() {
}
src_install() {
- local dir=/opt/${PN}
+ local dir=/opt/${PN} SDL=${EPREFIX}/usr/$(ABI=x86 get_libdir)/libSDL2-2.0.so.0
insinto "${dir}"
doins -r *.fbq data
@@ -64,14 +65,14 @@ src_install() {
exeinto "${dir}"
newexe bin/trine1_linux_32bit ${PN}
- make_wrapper ${PN} ./${PN} "${dir}"
+ 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 ./${PN}-launcher "${dir}"
+ 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.
@@ -82,6 +83,5 @@ src_install() {
dodoc readme_changelog.txt
}
-pkg_preinst() { gnome2_icon_savelist; }
pkg_postinst() { gnome2_icon_cache_update; }
pkg_postrm() { gnome2_icon_cache_update; }