summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Kehayias <john.kehayias@protonmail.com>2025-02-04 21:46:49 -0500
committerJohn Kehayias <john.kehayias@protonmail.com>2025-02-09 14:11:42 -0500
commit1be22dfea3b4b853ecbd465b528021837930256d (patch)
treeca3519a5ebc5f5702c7e70688e91a988726e87ba
parent26778f221b0eda26eb3bd4a2801bfaca99f37c41 (diff)
nongnu: heroic-client: Update wrapper-plan to include binary path.
* nongnu/packages/game-client.scm (heroic-client)[arguments]<#:wrapper-plan>: Add the path for heroic to its wrapper-plan. <#:phases>: Remove wrap-where-patchelf-does-not-work phase as it is no longer needed.
-rw-r--r--nongnu/packages/game-client.scm12
1 files changed, 2 insertions, 10 deletions
diff --git a/nongnu/packages/game-client.scm b/nongnu/packages/game-client.scm
index cb2730b..b3b1d7e 100644
--- a/nongnu/packages/game-client.scm
+++ b/nongnu/packages/game-client.scm
@@ -72,7 +72,7 @@
72 (arguments 72 (arguments
73 (list #:validate-runpath? #f ; TODO: fails on wrapped binary and included other files 73 (list #:validate-runpath? #f ; TODO: fails on wrapped binary and included other files
74 #:wrapper-plan 74 #:wrapper-plan
75 #~'("lib/Heroic/heroic" 75 #~'(("lib/Heroic/heroic" (("out" "/lib/Heroic")))
76 "lib/Heroic/libEGL.so" 76 "lib/Heroic/libEGL.so"
77 "lib/Heroic/libGLESv2.so" 77 "lib/Heroic/libGLESv2.so"
78 "lib/Heroic/libvk_swiftshader.so" 78 "lib/Heroic/libvk_swiftshader.so"
@@ -97,15 +97,7 @@
97 (lambda _ 97 (lambda _
98 (mkdir-p (string-append #$output "/bin")) 98 (mkdir-p (string-append #$output "/bin"))
99 (symlink (string-append #$output "/lib/Heroic/heroic") 99 (symlink (string-append #$output "/lib/Heroic/heroic")
100 (string-append #$output "/bin/heroic")))) 100 (string-append #$output "/bin/heroic")))))))
101 (add-after 'install-wrapper 'wrap-where-patchelf-does-not-work
102 (lambda _
103 (wrap-program (string-append #$output "/lib/Heroic/heroic")
104 `("LD_LIBRARY_PATH" ":" prefix
105 (,(string-join
106 (list
107 (string-append #$output "/lib/Heroic"))
108 ":")))))))))
109 (home-page "https://heroicgameslauncher.com") 101 (home-page "https://heroicgameslauncher.com")
110 (synopsis "A Native GOG, Amazon and Epic Games Launcher") 102 (synopsis "A Native GOG, Amazon and Epic Games Launcher")
111 (description "Heroic is an Open Source Game Launcher. Right now it supports launching 103 (description "Heroic is an Open Source Game Launcher. Right now it supports launching