summaryrefslogtreecommitdiff
path: root/games-fps/redeclipse
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2018-02-03 08:30:30 +0000
committerV3n3RiX <venerix@redcorelinux.org>2018-02-03 08:30:30 +0000
commiteaab68ba6a05bc57d98ca12032440835ef905326 (patch)
tree722637b4f6d0087c5b321ceb515a98913bee7559 /games-fps/redeclipse
parent4650985dd0e898b82e0d2ec225931297d4fadccf (diff)
gentoo resync : 03.02.2018
Diffstat (limited to 'games-fps/redeclipse')
-rw-r--r--games-fps/redeclipse/Manifest3
-rw-r--r--games-fps/redeclipse/files/redeclipse10
-rw-r--r--games-fps/redeclipse/redeclipse-1.6.0-r1.ebuild (renamed from games-fps/redeclipse/redeclipse-1.6.0.ebuild)6
3 files changed, 17 insertions, 2 deletions
diff --git a/games-fps/redeclipse/Manifest b/games-fps/redeclipse/Manifest
index 0a8d30d2c4f3..04f85ad3c4fe 100644
--- a/games-fps/redeclipse/Manifest
+++ b/games-fps/redeclipse/Manifest
@@ -1,3 +1,4 @@
+AUX redeclipse 386 BLAKE2B 80358d6e91afb2bbdf5e9fad7c9c3e91ecf80f948831aa88ab1fea573b1ab338c430ae5b47306dd32f4963bf4c8e25c80b3cbe5633483d63fb496dce9e57423a SHA512 8fe0804dabc24ddd518f9f2be7f05f3d19d30f7b6f1a007c48015290225a9b616a1dbcb527720dac1014e368167d36ba4cdcee6cda6cc0f3d2e2db13f013e3b5
DIST redeclipse_1.6.0_nix.tar.bz2 898467399 BLAKE2B 85b4d02ea95cc44d902f6512ec5ce512583353107deb690ec24608d9b96fd4a6b7fd720250413a192cf7229b2f66294ddeb81230e5ace06abdcd4f6f3dc8d92f SHA512 e944aed8155b5e89e8df000516d4a019a63d38d7ad9c3982b2e111f8a20bc848a98e30c1b60f4fdaf006c2ff9e2cb04647c07778eb2562eaf7db733dbce11233
-EBUILD redeclipse-1.6.0.ebuild 1948 BLAKE2B f12f017c0cbfbc0427d4bb52b0a3642e6de30d6a1f190a95fcc9a69fa2c1a4acf64955b28287c7323de760c7b6bd022cc74f5fc773a0f152b54e7066f26e3d3f SHA512 7d3a497ae8250a1f80a09fd87ec4a525226849ca86c4256e7089a1e170472e109587d6db2d7428e20a1155067bacfd8c5941297bde6b6b07ef2a6424d61da781
+EBUILD redeclipse-1.6.0-r1.ebuild 2025 BLAKE2B fa01f44125ff2837b50866172925c19c36e8d18f0a2ccb242a95b1840d77d584f50afa8e5286e471aca47c117aebb5ee7b7d8112655dfa26588a2a1ccd444156 SHA512 f5ff31381ffef0ae5acf06fccb137517cead82f421fbdeae6310e8fbc29ac4242e9a0645b01097d452c56d68f5d4aeb5c55dbb2d23589ee2fbf60e689ee269d9
MISC metadata.xml 574 BLAKE2B 6a74f40eb547d6ebcc8ca987609c22ebf171cde9286351e2f459f8eb95e8545399dcce6107540c249bdfc0a431f3282a50ae8a1fbe6239cb1b372755dd638c36 SHA512 1f78ab3ec83d4c8887f2f15addf8935f0026a8494340b346ae4c694fd7bf753962830274c572036490d514b2683df8164f9943b6714cff8cebaba896d70d549d
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
diff --git a/games-fps/redeclipse/redeclipse-1.6.0.ebuild b/games-fps/redeclipse/redeclipse-1.6.0-r1.ebuild
index 173ab9a6b751..5a45262fd901 100644
--- a/games-fps/redeclipse/redeclipse-1.6.0.ebuild
+++ b/games-fps/redeclipse/redeclipse-1.6.0-r1.ebuild
@@ -70,10 +70,14 @@ src_install() {
if ! use dedicated; then
dobin src/redeclipse_linux
newicon "src/install/nix/${PN}_x128.png" "${PN}.png"
- make_desktop_entry "src/install/nix/${PN}.desktop"
+ domenu "src/install/nix/${PN}.desktop"
doman doc/man/redeclipse.6
fi
+ dobin "${FILESDIR}/redeclipse"
+ cd /usr/bin || die
+ dosym redeclipse redeclipse_server
+
doman doc/man/redeclipse-server.6
dodoc readme.txt doc/examples/servinit.cfg
}