summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRob Levitsky <kitsunenokenja@protonmail.ch>2018-01-27 19:29:20 -0500
committerAndreas Sturmlechner <asturm@gentoo.org>2018-02-01 18:45:40 +0100
commitba7dd574540c3edb0bb129fabe1be7dd38859e84 (patch)
treeb75c18915219ddb90361529e522d5a7fdd448f75 /games-fps/redeclipse/files
parentdev-libs/boost: remove unused patches (diff)
downloadgentoo-ba7dd574540c3edb0bb129fabe1be7dd38859e84.tar.gz
gentoo-ba7dd574540c3edb0bb129fabe1be7dd38859e84.tar.bz2
gentoo-ba7dd574540c3edb0bb129fabe1be7dd38859e84.zip
games-fps/redeclipse: revision bump, fix installation
This revision fixes the incorrect installation of the desktop file entry, and provides a wrapper script to address the runtime problem introduced by no longer using EAPI 5's games installation paths. Package-Manager: Portage-2.3.19, Repoman-2.3.6 Closes: https://github.com/gentoo/gentoo/pull/6979
Diffstat (limited to 'games-fps/redeclipse/files')
-rw-r--r--games-fps/redeclipse/files/redeclipse10
1 files changed, 10 insertions, 0 deletions
diff --git a/games-fps/redeclipse/files/redeclipse b/games-fps/redeclipse/files/redeclipse
new file mode 100644
index 000000000000..667765d11d93
--- /dev/null
+++ b/games-fps/redeclipse/files/redeclipse
@@ -0,0 +1,10 @@
+#!/bin/sh
+
+# It is necessary to run the binary from the root of the data directory
+# for the binary to properly locate its assets and load properly.
+# Upstream's original install procedure is doing the same thing.
+
+SERVER=/usr/bin/redeclipse_server_linux
+CLIENT=/usr/bin/redeclipse_linux
+cd /usr/share/redeclipse || exit 1
+[ "$0" = "redeclipse_server" ] && exec $SERVER || exec $CLIENT