gnu: falkon: Update to 24.05.2.

* gnu/packages/kde-internet.scm (falkon): Update to 24.05.2.
[arguments]<#:phases>: Stop replace check phase, Add wrap phase.
[inputs]: Remove qtquickcontrols-5, qtsvg-5, qtwebengine-5, qtx11extras, and
qtwayland-5; add qt5compat, qtsvg, qtwebengine, and qtwayland.
[native-inputs]: Remove qttools-5; add qttools.

Change-Id: Ie14f2889acdd4424d8b846cca9faf85c6488a3e1
This commit is contained in:
Zheng Junjie 2024-07-06 17:18:28 +08:00
parent 11a31d452d
commit 4685859e20
No known key found for this signature in database
GPG key ID: 3B5AA993E1A2DFF0

View file

@ -3,6 +3,7 @@
;;; Copyright © 2020 Tobias Geerinckx-Rice <me@tobias.gr> ;;; Copyright © 2020 Tobias Geerinckx-Rice <me@tobias.gr>
;;; Copyright © 2022 Brendan Tildesley <mail@brendan.scot> ;;; Copyright © 2022 Brendan Tildesley <mail@brendan.scot>
;;; Copyright © 2022 Petr Hodina <phodina@protonmail.com> ;;; Copyright © 2022 Petr Hodina <phodina@protonmail.com>
;;; Copyright © 2024 Zheng Junjie <873216071@qq.com>
;;; ;;;
;;; This file is part of GNU Guix. ;;; This file is part of GNU Guix.
;;; ;;;
@ -118,7 +119,7 @@ Other notable features include:
(define-public falkon (define-public falkon
(package (package
(name "falkon") (name "falkon")
(version "23.04.3") (version "24.05.2")
(source (source
(origin (origin
(method url-fetch) (method url-fetch)
@ -126,18 +127,23 @@ Other notable features include:
"/src/falkon-" version ".tar.xz")) "/src/falkon-" version ".tar.xz"))
(sha256 (sha256
(base32 (base32
"11r1iwimdzabfah68gsvw6xi67cj539anqa6s1rg33agsi5y56d3")))) "0j930i2nvg71p05z881inbk59c54gx8dzhyjb8iaqkw8i5s5r983"))))
(build-system qt-build-system) (build-system qt-build-system)
(arguments (arguments
(list #:phases (list #:phases
#~(modify-phases %standard-phases #~(modify-phases %standard-phases
(replace 'check (add-after 'install 'wrap
(lambda* (#:key tests? #:allow-other-keys) (lambda* (#:key inputs outputs #:allow-other-keys)
(when tests? (let ((qtwebengineprocess
(invoke "ctest" "-E" (search-input-file inputs
"(locationbartest|qmltabsapitest)"))))))) "lib/qt6/libexec/QtWebEngineProcess")))
;; The program fails to find the QtWebEngineProcess program, so
;; we set QTWEBENGINEPROCESS_PATH to help it.
(wrap-program (string-append #$output "/bin/falkon")
`("QTWEBENGINEPROCESS_PATH" =
(,qtwebengineprocess)))))))))
(native-inputs (native-inputs
(list extra-cmake-modules pkg-config qttools-5)) (list extra-cmake-modules pkg-config qttools))
(inputs (inputs
(list karchive (list karchive
kcoreaddons kcoreaddons
@ -147,11 +153,10 @@ Other notable features include:
kwallet kwallet
openssl openssl
purpose purpose
qtquickcontrols-5 qt5compat
qtsvg-5 qtsvg
qtwebengine-5 qtwebengine
qtx11extras qtwayland
qtwayland-5
xcb-util)) xcb-util))
(home-page "https://www.falkon.org/") (home-page "https://www.falkon.org/")
(synopsis "Qt-based web browser for KDE") (synopsis "Qt-based web browser for KDE")