gnu: kio-fuse: Update to 5.1.0.

* gnu/packages/kde.scm (kio-fuse): Update to 5.1.0.
[source]: Update uri.
[arguments]<#:configure-flags>: Pass -DQT_MAJOR_VERSION=6.
[inputs]: Remove qtbase-5; add qtbase.

Change-Id: I09bbc53d450a02071243db5f41d72939c7637110
This commit is contained in:
Zheng Junjie 2024-07-10 14:46:38 +08:00
parent bd4e665798
commit 20cedcc307
No known key found for this signature in database
GPG key ID: 3B5AA993E1A2DFF0

View file

@ -645,27 +645,29 @@ (define-public kio-extras
(define-public kio-fuse (define-public kio-fuse
(package (package
(name "kio-fuse") (name "kio-fuse")
(version "5.0.1") (version "5.1.0")
(source (origin (source (origin
(method url-fetch) (method url-fetch)
(uri (string-append "mirror://kde/stable/" name "/" version "/" (uri (string-append "mirror://kde/stable/kio-fuse/kio-fuse-"
name "-" version ".tar.xz")) version ".tar.xz"))
(sha256 (sha256
(base32 (base32
"1pb62h45c06dq3rml91xbf8j5y2c1l8z8j8lycchxrlgys5rlrv6")))) "0jz9952dd20sw0c25pyn2l86nmc1s5l42gxk4js1jnkx4a0la43x"))))
(build-system cmake-build-system) (build-system cmake-build-system)
(arguments (arguments
(list #:phases #~(modify-phases %standard-phases (list
(replace 'check #:configure-flags #~(list "-DQT_MAJOR_VERSION=6")
(lambda* (#:key tests? #:allow-other-keys) #:phases #~(modify-phases %standard-phases
(when tests? (replace 'check
(setenv "HOME" (getcwd)) (lambda* (#:key tests? #:allow-other-keys)
(setenv "XDG_RUNTIME_DIR" (getcwd)) (when tests?
(setenv "QT_QPA_PLATFORM" "offscreen") (setenv "HOME" (getcwd))
(invoke "dbus-launch" "ctest" "-E" (setenv "XDG_RUNTIME_DIR" (getcwd))
"(fileopstest-cache|fileopstest-filejob)"))))))) (setenv "QT_QPA_PLATFORM" "offscreen")
(invoke "dbus-launch" "ctest" "-E"
"(fileopstest-cache|fileopstest-filejob)")))))))
(native-inputs (list dbus extra-cmake-modules pkg-config)) (native-inputs (list dbus extra-cmake-modules pkg-config))
(inputs (list fuse kio kcoreaddons qtbase-5)) (inputs (list fuse kio kcoreaddons qtbase))
(home-page "https://community.kde.org/Frameworks") (home-page "https://community.kde.org/Frameworks")
(synopsis "FUSE Interface for KIO") (synopsis "FUSE Interface for KIO")
(description "This package provides FUSE Interface for KIO.") (description "This package provides FUSE Interface for KIO.")