me
/
guix
Archived
1
0
Fork 0

gnu: zeal: Update to 0.7.1.

* gnu/packages/documentation.scm (zeal): Update to 0.7.1.
[arguments]: Convert to gexp.
[inputs]: Use new label-less style.

Change-Id: I9d2851ee303f2e8ebed80b4a1e463aa290bea111
Signed-off-by: Andreas Enge <andreas@enge.fr>
master
Felix Gruber 2024-06-09 15:02:30 +00:00 committed by Andreas Enge
parent 1ace18d351
commit 5b84b46a75
No known key found for this signature in database
GPG Key ID: F7D5C9BF765C61E3
1 changed files with 41 additions and 43 deletions

View File

@ -13,6 +13,7 @@
;;; Copyright © 2021, 2022 Marius Bakke <marius@gnu.org> ;;; Copyright © 2021, 2022 Marius Bakke <marius@gnu.org>
;;; Copyright © 2022 Maxim Cournoyer <maxim.counoyer@gmail.com> ;;; Copyright © 2022 Maxim Cournoyer <maxim.counoyer@gmail.com>
;;; Copyright © 2023 Janneke Nieuwenhuizen <janneke@gnu.org> ;;; Copyright © 2023 Janneke Nieuwenhuizen <janneke@gnu.org>
;;; Copyright © 2024 Felix Gruber <felgru@posteo.net>
;;; ;;;
;;; This file is part of GNU Guix. ;;; This file is part of GNU Guix.
;;; ;;;
@ -410,52 +411,49 @@ the Net to search for documents which are not on the local system.")
(license license:lgpl2.1+))) (license license:lgpl2.1+)))
(define-public zeal (define-public zeal
(let ((commit "1cfa7c637f745be9d98777f06b4f8dec90892bf2") (package
(revision "1")) (name "zeal")
(package (version "0.7.1")
(name "zeal") (source
(version (git-version "0.6.1" revision commit)) (origin
(source (method git-fetch)
(origin (uri (git-reference
(method git-fetch) (url "https://github.com/zealdocs/zeal")
(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 "1yz9zz18rh1d67w40ib4pna70vqkwa9i9nyj423rjysv5rdj2pzp"))))
(sha256 (build-system qt-build-system)
(base32 "1m7pp3cwc21x03718vhwfd9j2n8md3hv5dp10s234vcsd755s7a3")))) (arguments
(build-system qt-build-system) (list
(arguments #:tests? #f ;no tests
`(#:tests? #f ;no tests #:phases
#:phases #~(modify-phases %standard-phases
(modify-phases %standard-phases
(add-after 'wrap 'wrap-qt-process-path (add-after 'wrap 'wrap-qt-process-path
(lambda* (#:key inputs outputs #:allow-other-keys) (lambda* (#:key inputs #:allow-other-keys)
(let* ((out (assoc-ref outputs "out")) (let* ((bin (string-append #$output "/bin/zeal"))
(bin (string-append out "/bin/zeal")) (qt-process-path
(qt-process-path (string-append (search-input-file inputs
(assoc-ref inputs "qtwebengine-5") "/lib/qt5/libexec/QtWebEngineProcess")))
"/lib/qt5/libexec/QtWebEngineProcess")))
(wrap-program bin (wrap-program bin
`("QTWEBENGINEPROCESS_PATH" = (,qt-process-path))) `("QTWEBENGINEPROCESS_PATH" = (,qt-process-path)))))))))
#t)))))) (native-inputs
(native-inputs (list extra-cmake-modules pkg-config))
(list extra-cmake-modules pkg-config)) (inputs
(inputs (list libarchive
`(("libarchive" ,libarchive) sqlite
("sqlite" ,sqlite) qtbase-5
("qtbase" ,qtbase-5) qtdeclarative-5
("qtdeclarative-5" ,qtdeclarative-5) qtwebchannel-5
("qtwebchannel-5" ,qtwebchannel-5) qtwebengine-5
("qtwebengine-5" ,qtwebengine-5) qtquickcontrols-5
("qtquickcontrols-5" ,qtquickcontrols-5) qtx11extras
("qtx11extras" ,qtx11extras) xcb-util-keysyms))
("xcb-util-keyms" ,xcb-util-keysyms))) (home-page "https://zealdocs.org/")
(home-page "https://zealdocs.org/") (synopsis "Offline documentation browser inspired by Dash")
(synopsis "Offline documentation browser inspired by Dash") (description "Zeal is a simple offline documentation browser
(description "Zeal is a simple offline documentation browser
inspired by Dash.") inspired by Dash.")
(license license:gpl3+)))) (license license:gpl3+)))
(define-public markdeep (define-public markdeep
(package (package