me
/
guix
Archived
1
0
Fork 0

gnu: kopeninghours: Update to 24.05.2.

* gnu/packages/kde.scm (kopeninghours): Update to 24.05.2.
[arguments]<#:configure-flags>: Add -DBUILD_WITH_QT6=ON.
[inputs]: Remove qtbase-5 and qtdeclarative-5; add qtbase and qtdeclarative.

Change-Id: I3aae33923914807932f1148e0dd1352a4456e75a
master
Zheng Junjie 2024-07-06 18:24:27 +08:00
parent 5dd48dc98b
commit a8f58bfafb
No known key found for this signature in database
GPG Key ID: 3B5AA993E1A2DFF0
1 changed files with 13 additions and 11 deletions

View File

@ -1124,30 +1124,32 @@ include:
(define-public kopeninghours
(package
(name "kopeninghours")
(version "23.04.3")
(version "24.05.2")
(source (origin
(method url-fetch)
(uri (string-append "mirror://kde/stable/release-service/"
version "/src/" name "-" version ".tar.xz"))
(sha256
(base32
"14m4wl79b4qad42l1capz59pslfcrm25jshyhmcqzhqb0wzwkav9"))))
"132ihgsv1l8nz24ycddfp146czhnfcgrjfnffjb91w5l4a5wv3k4"))))
(build-system cmake-build-system)
(arguments
(list #:phases #~(modify-phases %standard-phases
(replace 'check
(lambda* (#:key tests? #:allow-other-keys)
(when tests?
(setenv "QT_QPA_PLATFORM" "offscreen")
(invoke "ctest" "-E"
"(evaluatetest|iterationtest)")))))))
(list
#:configure-flags #~(list "-DBUILD_WITH_QT6=ON")
#:phases #~(modify-phases %standard-phases
(replace 'check
(lambda* (#:key tests? #:allow-other-keys)
(when tests?
(setenv "QT_QPA_PLATFORM" "offscreen")
(invoke "ctest" "-E"
"(evaluatetest|iterationtest)")))))))
(native-inputs (list bison extra-cmake-modules flex))
(inputs (list boost
kholidays
ki18n
osmctools
qtbase-5
qtdeclarative-5))
qtbase
qtdeclarative))
(home-page "https://invent.kde.org/libraries/kopeninghours")
(synopsis "Get opening hours from OpenStreetMap")
(description