From d02badac854facd03469233b33b3d2df2a7e19bd Mon Sep 17 00:00:00 2001 From: Sharlatan Hellseher Date: Tue, 14 Mar 2023 23:50:57 +0000 Subject: gnu: cl-gamepad: Update to 3.0.0-2.647f6ee. * gnu/packages/lisp-xyz.scm (sbcl-cl-gamepad): Update to 3.0.0-2.647f6ee. [arguments]{phases}: Use search-input-file in patch-evdev-path phase. [inputs]: Remove labels. Signed-off-by: Guillaume Le Vaillant --- gnu/packages/lisp-xyz.scm | 19 +++++++++---------- 1 file changed, 9 insertions(+), 10 deletions(-) (limited to 'gnu') diff --git a/gnu/packages/lisp-xyz.scm b/gnu/packages/lisp-xyz.scm index 26f962ccd4..73e205093e 100644 --- a/gnu/packages/lisp-xyz.scm +++ b/gnu/packages/lisp-xyz.scm @@ -20735,8 +20735,8 @@ (define-public cl-sdl2-ttf (sbcl-package->cl-source-package sbcl-sdl2-ttf)) (define-public sbcl-cl-gamepad - (let ((commit "7e12137927b42db064ffbf9ea34bd4790ad4bb33") - (revision "1")) + (let ((commit "647f6ee8f40048286d743d79845c3753fba9d8f1") + (revision "2")) (package (name "sbcl-cl-gamepad") (version (git-version "3.0.0" revision commit)) @@ -20748,7 +20748,7 @@ (define-public sbcl-cl-gamepad (commit commit))) (file-name (git-file-name "cl-gamepad" version)) (sha256 - (base32 "1gzx590i7s81qmramnjvfzrrq5yppas8yxqq1jl3yzqhhjwjfvkd")))) + (base32 "0w9lcahgqacc39932jp2ghid9sl4wg4vyaza8vdnghmixdl49cin")))) (build-system asdf-build-system/sbcl) (arguments `(#:phases @@ -20756,14 +20756,13 @@ (define-public sbcl-cl-gamepad (add-after 'unpack 'patch-evdev-lib-path (lambda* (#:key inputs #:allow-other-keys) (substitute* "evdev-cffi.lisp" - (("libevdev.so" all) - (string-append (assoc-ref inputs "libevdev") - "/lib/" all)))))))) + (("libevdev.so") + (search-input-file inputs "/lib/libevdev.so")))))))) (inputs - `(("cffi" ,sbcl-cffi) - ("documentation-utils" ,sbcl-documentation-utils) - ("libevdev" ,libevdev) - ("trivial-features" ,sbcl-trivial-features))) + (list libevdev + sbcl-cffi + sbcl-documentation-utils + sbcl-trivial-features)) (home-page "https://shirakumo.github.io/cl-gamepad/") (synopsis "Library for access to gamepads and joystick input devices") (description -- cgit v1.2.3