me
/
guix
Archived
1
0
Fork 0

gnu: sbcl-cl-webkit: Update to 3.0.0.

* gnu/packages/lisp-xyz.scm (sbcl-cl-webkit): Update to 3.0.0.
master
Pierre Neidhardt 2021-09-21 09:55:39 +02:00
parent a916d50566
commit 659fb24753
No known key found for this signature in database
GPG Key ID: 9BDCF497A4BBCC7F
1 changed files with 48 additions and 34 deletions

View File

@ -3455,29 +3455,43 @@ is a library for creating graphical user interfaces.")
(sbcl-package->ecl-package sbcl-cl-cffi-gtk))
(define-public sbcl-cl-webkit
(let ((commit "cfc4f01ee806169d824750b4014653a93af9353d"))
(package
(name "sbcl-cl-webkit")
(version (git-version "2.4" "16" commit))
(version "3.0.0")
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/joachifm/cl-webkit")
(commit commit)))
(commit version)))
(file-name (git-file-name "cl-webkit" version))
(sha256
(base32
"18n90m33bi6arnjmwr3q3m0arwzr0kdnydlv4if82crvaagd6m89"))))
"015xry1cvbgspfzz35ifz2qscz946ljhj2z8rzjscy9v8fgnjsdk"))))
(build-system asdf-build-system/sbcl)
(inputs
`(("cffi" ,sbcl-cffi)
("cl-cffi-gtk" ,sbcl-cl-cffi-gtk)
("webkitgtk" ,webkitgtk)))
(native-inputs
`(;; Tests seem to need Xorg.
;; ("xorg-server" ,xorg-server-for-tests)
("calispel" ,sbcl-calispel)
("fiveam" ,sbcl-fiveam)
("float-features" ,sbcl-float-features)))
(arguments
`(#:asd-systems '("cl-webkit2")
#:tests? #f ; TODO: Tests hang, why?
#:phases
(modify-phases %standard-phases
;; The following phase is needed for tests:
;; (add-before 'check 'start-xorg-server
;; (lambda* (#:key inputs #:allow-other-keys)
;; ;; The test suite requires a running X server.
;; (system (string-append (assoc-ref inputs "xorg-server")
;; "/bin/Xvfb :1 &"))
;; (setenv "DISPLAY" ":1")
;; #t))
(add-after 'unpack 'fix-paths
(lambda* (#:key inputs #:allow-other-keys)
(substitute* "webkit2/webkit2.init.lisp"
@ -3491,7 +3505,7 @@ is a library for creating graphical user interfaces.")
currently targeting WebKit version 2. The WebKitGTK+ library adds web
browsing capabilities to an application, leveraging the full power of the
WebKit browsing engine.")
(license license:expat))))
(license license:expat)))
(define-public cl-webkit
(sbcl-package->cl-source-package sbcl-cl-webkit))