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
(package
(name "kio-fuse")
(version "5.0.1")
(version "5.1.0")
(source (origin
(method url-fetch)
(uri (string-append "mirror://kde/stable/" name "/" version "/"
name "-" version ".tar.xz"))
(uri (string-append "mirror://kde/stable/kio-fuse/kio-fuse-"
version ".tar.xz"))
(sha256
(base32
"1pb62h45c06dq3rml91xbf8j5y2c1l8z8j8lycchxrlgys5rlrv6"))))
"0jz9952dd20sw0c25pyn2l86nmc1s5l42gxk4js1jnkx4a0la43x"))))
(build-system cmake-build-system)
(arguments
(list #:phases #~(modify-phases %standard-phases
(replace 'check
(lambda* (#:key tests? #:allow-other-keys)
(when tests?
(setenv "HOME" (getcwd))
(setenv "XDG_RUNTIME_DIR" (getcwd))
(setenv "QT_QPA_PLATFORM" "offscreen")
(invoke "dbus-launch" "ctest" "-E"
"(fileopstest-cache|fileopstest-filejob)")))))))
(list
#:configure-flags #~(list "-DQT_MAJOR_VERSION=6")
#:phases #~(modify-phases %standard-phases
(replace 'check
(lambda* (#:key tests? #:allow-other-keys)
(when tests?
(setenv "HOME" (getcwd))
(setenv "XDG_RUNTIME_DIR" (getcwd))
(setenv "QT_QPA_PLATFORM" "offscreen")
(invoke "dbus-launch" "ctest" "-E"
"(fileopstest-cache|fileopstest-filejob)")))))))
(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")
(synopsis "FUSE Interface for KIO")
(description "This package provides FUSE Interface for KIO.")