1
0
mirror of https://git.savannah.gnu.org/git/guix.git synced 2026-05-01 14:55:55 +02:00

gnu: Add knewstuff.

* gnu/packages/kde-frameworks.scm (knewstuff): New variable.
This commit is contained in:
David Craven
2016-08-07 20:18:50 +02:00
parent 17252110fc
commit 2ac7e35af2
+55
View File
@@ -2131,3 +2131,58 @@ also be used to bridge a native protocol to a file-based interface. This makes
the data accessible in all applications using the KDE file dialog or any other
KIO enabled infrastructure.")
(license license:lgpl2.1+)))
(define-public knewstuff
(package
(name "knewstuff")
(version "5.24.0")
(source
(origin
(method url-fetch)
(uri (string-append "mirror://kde/stable/frameworks/"
(version-major+minor version) "/"
name "-" version ".tar.xz"))
(sha256
(base32
"0xdv3wh3100vzsx8p2zihy1dvh0wzfmrjkjq71v8igwz5d291zsj"))))
(build-system cmake-build-system)
(propagated-inputs
`(("attica" ,attica)
("kservice" ,kservice)
("kxmlgui" ,kxmlgui)))
(native-inputs
`(("extra-cmake-modules" ,extra-cmake-modules)))
(inputs
`(("karchive" ,karchive)
("kauth" ,kauth)
("kbookmarks" ,kbookmarks)
("kcodecs" ,kcodecs)
("kcompletion" ,kcompletion)
("kconfig" ,kconfig)
("kconfigwidgets" ,kconfigwidgets)
("kcoreaddons" ,kcoreaddons)
("kio" ,kio)
("kitemviews" ,kitemviews)
("ki18n" ,ki18n)
("kiconthemes" ,kiconthemes)
("kjobwidgets" ,kjobwidgets)
("ktextwidgets" ,ktextwidgets)
("kwidgetsaddons" ,kwidgetsaddons)
("qtbase" ,qtbase)
("solid" ,solid)
("sonnet" ,sonnet)))
(arguments
`(#:tests? #f ; FIXME: 1/3 tests fail.
#:phases
(modify-phases %standard-phases
(add-before 'check 'check-setup
(lambda _ ; XDG_DATA_DIRS isn't set
(setenv "HOME" (getcwd))
(setenv "CTEST_OUTPUT_ON_FAILURE" "1")
(setenv "QT_QPA_PLATFORM" "offscreen"))))))
(home-page "https://community.kde.org/Frameworks")
(synopsis "Framework for downloading and sharing additional application data")
(description "The KNewStuff library implements collaborative data sharing
for applications. It uses libattica to support the Open Collaboration Services
specification.")
(license license:lgpl2.1+)))