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