summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAttila Lendvai <attila@lendvai.name>2022-01-24 17:22:59 +0100
committerJonathan Brielmaier <jonathan.brielmaier@web.de>2022-04-05 23:29:55 +0200
commitcbf354715cc7a9569d3746d43a029b40485d1050 (patch)
tree36a8a8a33eb4ce662d5f0c15eee99d42eec37295
parent684286f4a381d56687e710007c0a08da002cbe81 (diff)
nongnu: libsteam: Modernize and fix validate-runpath call.
* nongnu/packages/game-development.scm (libsteam)[arguments]: Enable validate-runpath check and adjust patchelf-plan and install-plan. [inputs]: Change to new style. Add glibc. Signed-off-by: Jonathan Brielmaier <jonathan.brielmaier@web.de>
-rw-r--r--nongnu/packages/game-development.scm9
1 files changed, 4 insertions, 5 deletions
diff --git a/nongnu/packages/game-development.scm b/nongnu/packages/game-development.scm
index 0974af5..16cd699 100644
--- a/nongnu/packages/game-development.scm
+++ b/nongnu/packages/game-development.scm
@@ -1,5 +1,6 @@
;;; GNU Guix --- Functional package management for GNU
;;; Copyright © 2019, 2020 Pierre Neidhardt <mail@ambrevar.xyz>
+;;; Copyright © 2022 Attila Lendvai <attila@lendvai.name>
;;;
;;; This file is not part of GNU Guix.
;;;
@@ -147,12 +148,10 @@ development should opt for GLSL rather than Cg.")
(supported-systems '("i686-linux" "x86_64-linux"))
(arguments
`(#:system "i686-linux"
- #:validate-runpath? #f ; TODO: Why doesn't it pass?
#:patchelf-plan
- `(("libsteam_api.so"
- ("gcc:lib")))
+ `(("libsteam_api.so" ("gcc" "glibc")))
#:install-plan
- `(("." ("steam") "lib/"))
+ `(("libsteam_api.so" "lib/"))
#:phases
(modify-phases %standard-phases
(replace 'unpack
@@ -167,7 +166,7 @@ development should opt for GLSL rather than Cg.")
(string-append out "/lib/libsteam_api.so.1")))
#t)))))
(inputs
- `(("gcc:lib" ,gcc "lib")))
+ (list (list gcc "lib") glibc))
(home-page "https://developer.valvesoftware.com/wiki/SDK2013_GettingStarted")
(synopsis "Redistribution binary needed by some video games")
(description "")