aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gnu/packages/kde-frameworks.scm55
1 files changed, 55 insertions, 0 deletions
diff --git a/gnu/packages/kde-frameworks.scm b/gnu/packages/kde-frameworks.scm
index 2a6c391026..b11f740a80 100644
--- a/gnu/packages/kde-frameworks.scm
+++ b/gnu/packages/kde-frameworks.scm
@@ -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+)))