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>
This commit is contained in:
parent
684286f4a3
commit
cbf354715c
|
@ -1,5 +1,6 @@
|
||||||
;;; GNU Guix --- Functional package management for GNU
|
;;; GNU Guix --- Functional package management for GNU
|
||||||
;;; Copyright © 2019, 2020 Pierre Neidhardt <mail@ambrevar.xyz>
|
;;; Copyright © 2019, 2020 Pierre Neidhardt <mail@ambrevar.xyz>
|
||||||
|
;;; Copyright © 2022 Attila Lendvai <attila@lendvai.name>
|
||||||
;;;
|
;;;
|
||||||
;;; This file is not part of GNU Guix.
|
;;; 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"))
|
(supported-systems '("i686-linux" "x86_64-linux"))
|
||||||
(arguments
|
(arguments
|
||||||
`(#:system "i686-linux"
|
`(#:system "i686-linux"
|
||||||
#:validate-runpath? #f ; TODO: Why doesn't it pass?
|
|
||||||
#:patchelf-plan
|
#:patchelf-plan
|
||||||
`(("libsteam_api.so"
|
`(("libsteam_api.so" ("gcc" "glibc")))
|
||||||
("gcc:lib")))
|
|
||||||
#:install-plan
|
#:install-plan
|
||||||
`(("." ("steam") "lib/"))
|
`(("libsteam_api.so" "lib/"))
|
||||||
#:phases
|
#:phases
|
||||||
(modify-phases %standard-phases
|
(modify-phases %standard-phases
|
||||||
(replace 'unpack
|
(replace 'unpack
|
||||||
|
@ -167,7 +166,7 @@ development should opt for GLSL rather than Cg.")
|
||||||
(string-append out "/lib/libsteam_api.so.1")))
|
(string-append out "/lib/libsteam_api.so.1")))
|
||||||
#t)))))
|
#t)))))
|
||||||
(inputs
|
(inputs
|
||||||
`(("gcc:lib" ,gcc "lib")))
|
(list (list gcc "lib") glibc))
|
||||||
(home-page "https://developer.valvesoftware.com/wiki/SDK2013_GettingStarted")
|
(home-page "https://developer.valvesoftware.com/wiki/SDK2013_GettingStarted")
|
||||||
(synopsis "Redistribution binary needed by some video games")
|
(synopsis "Redistribution binary needed by some video games")
|
||||||
(description "")
|
(description "")
|
||||||
|
|
Loading…
Reference in New Issue
Block a user