From cbf354715cc7a9569d3746d43a029b40485d1050 Mon Sep 17 00:00:00 2001 From: Attila Lendvai Date: Mon, 24 Jan 2022 17:22:59 +0100 Subject: 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 --- nongnu/packages/game-development.scm | 9 ++++----- 1 file 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 +;;; Copyright © 2022 Attila Lendvai ;;; ;;; 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 "") -- cgit v1.2.3