summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Craven <david@craven.ch>2016-08-07 20:18:50 +0200
committerDavid Craven <david@craven.ch>2016-08-30 22:38:31 +0200
commit2ac7e35af2433f96fae8775c6280f708b067b3f4 (patch)
tree3e039e9957f2b24f1bdc7969bb68733c167a0dda
parent17252110fc76e4b90f8df80d7ce75831150ce0e5 (diff)
gnu: Add knewstuff.
* gnu/packages/kde-frameworks.scm (knewstuff): New variable.
-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+)))