mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-13 14:40:21 -05:00
gnu: cl-out123: Update to 1.0.0-2.41771bf.
* gnu/packages/lisp-xyz.scm (sbcl-cl-out123): Update to 1.0.0-2.41771bf. [arguments]<tests>: Explicitly disable them as not provided upstream. <phases>: Simplify fix-paths phase. Remove redundant phase fix-ecl-package-name after issue was resolved upstream. [inputs]: Remove labels. Signed-off-by: Guillaume Le Vaillant <glv@posteo.net>
This commit is contained in:
parent
3905bd7299
commit
e11f28d90c
1 changed files with 14 additions and 24 deletions
|
@ -14062,8 +14062,8 @@ (define-public cl-mpg123
|
|||
(sbcl-package->cl-source-package sbcl-cl-mpg123))
|
||||
|
||||
(define-public sbcl-cl-out123
|
||||
(let ((commit "6b58d3f8c2a28ad09059ac4c60fb3c781b9b421b")
|
||||
(revision "1"))
|
||||
(let ((commit "41771bfd419e7349ad569f8e6fcd8a26d6f9e5b7")
|
||||
(revision "2"))
|
||||
(package
|
||||
(name "sbcl-cl-out123")
|
||||
(version (git-version "1.0.0" revision commit))
|
||||
|
@ -14075,39 +14075,29 @@ (define-public sbcl-cl-out123
|
|||
(commit commit)))
|
||||
(file-name (git-file-name "cl-out123" version))
|
||||
(sha256
|
||||
(base32 "0mdwgfax6sq68wvdgjjp78i40ah7wqkpqnvaq8a1c509k7ghdgv1"))
|
||||
(base32 "0ahgc5l5lbpl3ini4pn5crh8b7dlr386pxczl0d4h6djhccxzs4w"))
|
||||
(modules '((guix build utils)))
|
||||
(snippet
|
||||
'(begin
|
||||
;; Remove bundled pre-compiled libraries.
|
||||
(delete-file-recursively "static")
|
||||
#t))))
|
||||
(delete-file-recursively "static")))))
|
||||
(build-system asdf-build-system/sbcl)
|
||||
(arguments
|
||||
`(#:phases
|
||||
`(#:tests? #f ; No tests
|
||||
#:phases
|
||||
(modify-phases %standard-phases
|
||||
(add-after 'unpack 'fix-paths
|
||||
(lambda* (#:key inputs #:allow-other-keys)
|
||||
(substitute* "low-level.lisp"
|
||||
(("libout123.so" all)
|
||||
(string-append (assoc-ref inputs "libout123")
|
||||
"/lib/" all)))))
|
||||
;; NOTE: (Sharlatan-20210129T134529+0000): ECL package `ext' has no
|
||||
;; exported macro `without-interrupts' it's moved to `mp' package
|
||||
;; https://github.com/Shirakumo/cl-out123/issues/2
|
||||
;; https://gitlab.com/embeddable-common-lisp/ecl/-/blob/develop/src/lsp/mp.lsp
|
||||
(add-after 'unpack 'fix-ecl-package-name
|
||||
(lambda _
|
||||
(substitute* "wrapper.lisp"
|
||||
(("ext:without-interrupts.*") "mp:without-interrupts\n"))
|
||||
#t)))))
|
||||
(("libout123.so")
|
||||
(search-input-file inputs "/lib/libout123.so"))))))))
|
||||
(inputs
|
||||
`(("bordeaux-threads" ,sbcl-bordeaux-threads)
|
||||
("cffi" ,sbcl-cffi)
|
||||
("documentation-utils" ,sbcl-documentation-utils)
|
||||
("libout123" ,mpg123)
|
||||
("trivial-features" ,sbcl-trivial-features)
|
||||
("trivial-garbage" ,sbcl-trivial-garbage)))
|
||||
(list mpg123
|
||||
sbcl-bordeaux-threads
|
||||
sbcl-cffi
|
||||
sbcl-documentation-utils
|
||||
sbcl-trivial-features
|
||||
sbcl-trivial-garbage))
|
||||
(home-page "https://shirakumo.github.io/cl-out123/")
|
||||
(synopsis "Common Lisp bindings to libout123")
|
||||
(description
|
||||
|
|
Loading…
Reference in a new issue