gnu: zeal: Update to 0.6.1-1.d3c5521.
* gnu/packages/documentation.scm (zeal): Update to 0.6.1-1.d3c5521. [arguments]: Add phase wrap-qt-process-path. [inputs]: Add qtwebengine, qtwebchannel, qtdeclarative, qtquickcontrols. Remove qtwebkit. [home-page]: Changed to https://zealdocs.org/. Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>master
parent
e21eea0680
commit
b7a225e3a3
|
@ -9,7 +9,7 @@
|
||||||
;;; Copyright © 2018 Tobias Geerinckx-Rice <me@tobias.gr>
|
;;; Copyright © 2018 Tobias Geerinckx-Rice <me@tobias.gr>
|
||||||
;;; Copyright © 2019 Mathieu Othacehe <m.othacehe@gmail.com>
|
;;; Copyright © 2019 Mathieu Othacehe <m.othacehe@gmail.com>
|
||||||
;;; Copyright © 2020 Ricardo Wurmus <rekado@elephly.net>
|
;;; Copyright © 2020 Ricardo Wurmus <rekado@elephly.net>
|
||||||
;;; Copyright © 2020 Michael Rohleder <mike@rohleder.de>
|
;;; Copyright © 2020, 2021 Michael Rohleder <mike@rohleder.de>
|
||||||
;;;
|
;;;
|
||||||
;;; This file is part of GNU Guix.
|
;;; This file is part of GNU Guix.
|
||||||
;;;
|
;;;
|
||||||
|
@ -313,32 +313,50 @@ local system.")
|
||||||
(license lgpl2.1+)))
|
(license lgpl2.1+)))
|
||||||
|
|
||||||
(define-public zeal
|
(define-public zeal
|
||||||
(package
|
(let ((commit "d3c5521c501d24050f578348ff1b9d68244b992c")
|
||||||
(name "zeal")
|
(revision "1"))
|
||||||
(version "0.6.1")
|
(package
|
||||||
(home-page "https://github.com/zealdocs/zeal")
|
(name "zeal")
|
||||||
(source
|
(version (git-version "0.6.1" revision commit))
|
||||||
(origin
|
(source
|
||||||
(method git-fetch)
|
(origin
|
||||||
(uri (git-reference
|
(method git-fetch)
|
||||||
(url home-page)
|
(uri (git-reference
|
||||||
(commit (string-append "v" version))))
|
(url "https://github.com/zealdocs/zeal")
|
||||||
(file-name (git-file-name name version))
|
(commit commit)))
|
||||||
(sha256
|
(file-name (git-file-name name version))
|
||||||
(base32 "05qcjpibakv4ibhxgl5ajbkby3w7bkxsv3nfv2a0kppi1z0f8n8v"))))
|
(sha256
|
||||||
(build-system qt-build-system)
|
(base32 "1ky2qi2cmjckc51lm3i28815ixgqdm36j7smixxr16jxpmbqs6sl"))))
|
||||||
(arguments `(#:tests? #f)) ; no tests
|
(build-system qt-build-system)
|
||||||
(native-inputs
|
(arguments
|
||||||
`(("extra-cmake-modules" ,extra-cmake-modules)
|
`(#:tests? #f ;no tests
|
||||||
("pkg-config" ,pkg-config)))
|
#:phases
|
||||||
(inputs
|
(modify-phases %standard-phases
|
||||||
`(("libarchive" ,libarchive)
|
(add-after 'wrap 'wrap-qt-process-path
|
||||||
("sqlite" ,sqlite)
|
(lambda* (#:key inputs outputs #:allow-other-keys)
|
||||||
("qtbase" ,qtbase)
|
(let* ((out (assoc-ref outputs "out"))
|
||||||
("qtwebkit" ,qtwebkit)
|
(bin (string-append out "/bin/zeal"))
|
||||||
("qtx11extras" ,qtx11extras)
|
(qt-process-path (string-append
|
||||||
("xcb-util-keyms" ,xcb-util-keysyms)))
|
(assoc-ref inputs "qtwebengine")
|
||||||
(synopsis "Offline documentation browser inspired by Dash")
|
"/lib/qt5/libexec/QtWebEngineProcess")))
|
||||||
(description "Zeal is a simple offline documentation browser
|
(wrap-program bin
|
||||||
|
`("QTWEBENGINEPROCESS_PATH" = (,qt-process-path)))
|
||||||
|
#t))))))
|
||||||
|
(native-inputs
|
||||||
|
`(("extra-cmake-modules" ,extra-cmake-modules)
|
||||||
|
("pkg-config" ,pkg-config)))
|
||||||
|
(inputs
|
||||||
|
`(("libarchive" ,libarchive)
|
||||||
|
("sqlite" ,sqlite)
|
||||||
|
("qtbase" ,qtbase)
|
||||||
|
("qtdeclarative" ,qtdeclarative)
|
||||||
|
("qtwebchannel" ,qtwebchannel)
|
||||||
|
("qtwebengine" ,qtwebengine)
|
||||||
|
("qtquickcontrols" ,qtquickcontrols)
|
||||||
|
("qtx11extras" ,qtx11extras)
|
||||||
|
("xcb-util-keyms" ,xcb-util-keysyms)))
|
||||||
|
(home-page "https://zealdocs.org/")
|
||||||
|
(synopsis "Offline documentation browser inspired by Dash")
|
||||||
|
(description "Zeal is a simple offline documentation browser
|
||||||
inspired by Dash.")
|
inspired by Dash.")
|
||||||
(license gpl3+)))
|
(license gpl3+))))
|
||||||
|
|
Reference in New Issue