me
/
guix
Archived
1
0
Fork 0

gnu: kdbusaddons: Update to 6.3.0.

* gnu/packages/kde-frameworks.scm (kdbusaddons): Update to 6.3.0.
[build-system]: Switch to qt-build-system.
[arguments]: Remove patch-source phase; Adjust check phase.
[inputs]: Remove qtbase-5, qtx11extras, and kinit-bootstrap; add libxkbcommon.
[native-inputs]: Remove qttools-5; add qttools.

Change-Id: I57fccc3693997cce92f5c42bb04525dd5a4beb4a
master
Zheng Junjie 2024-07-06 00:24:00 +08:00
parent 7a9e51a669
commit d347fcefb6
No known key found for this signature in database
GPG Key ID: 3B5AA993E1A2DFF0
1 changed files with 7 additions and 19 deletions

View File

@ -705,7 +705,7 @@ many more.")
(define-public kdbusaddons
(package
(name "kdbusaddons")
(version "5.114.0")
(version "6.3.0")
(source (origin
(method url-fetch)
(uri (string-append
@ -714,30 +714,18 @@ many more.")
name "-" version ".tar.xz"))
(sha256
(base32
"0pzzznyxhi48z5hhdsdxz3vaaihrdshpx65ha2v2nn2gh3ww7ikm"))))
(build-system cmake-build-system)
"00i08baairndj5w6x3rhfxcws0xjd59wn2h08am3ll89xycqjbby"))))
(build-system qt-build-system)
(native-inputs
(list extra-cmake-modules dbus qttools-5))
(inputs
(list qtbase-5 qtx11extras kinit-bootstrap))
;; kinit-bootstrap: kinit package which does not depend on kdbusaddons.
(list extra-cmake-modules dbus qttools))
(inputs (list libxkbcommon))
(arguments
(list #:phases
(list #:qtbase qtbase
#:phases
#~(modify-phases %standard-phases
(add-before 'configure 'patch-source
(lambda* (#:key inputs #:allow-other-keys)
;; look for the kdeinit5 executable in kinit's store directory,
;; instead of the current application's directory:
(substitute* "src/kdeinitinterface.cpp"
(("<< QCoreApplication::applicationDirPath..")
(string-append
"<< QString::fromUtf8(\"/"
(dirname (search-input-file inputs "bin/kdeinit5"))
"\")" )))))
(replace 'check
(lambda* (#:key tests? #:allow-other-keys)
(when tests?
(setenv "DBUS_FATAL_WARNINGS" "0")
(invoke "dbus-launch" "ctest")))))))
(home-page "https://community.kde.org/Frameworks")
(synopsis "Convenience classes for DBus")