From f00ac9336c2c8c47a14a647c3f22ed09064a04aa Mon Sep 17 00:00:00 2001 From: David Craven Date: Sun, 12 Jun 2016 20:39:34 +0200 Subject: [PATCH] gnu: kde-frameworks: Add kcoreaddons. * gnu/packages/kde-frameworks.scm (kcoreaddons): New variable. Co-authored-by: Hartmut Goebel --- gnu/packages/kde-frameworks.scm | 40 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) diff --git a/gnu/packages/kde-frameworks.scm b/gnu/packages/kde-frameworks.scm index d6a7636..540610f 100644 --- a/gnu/packages/kde-frameworks.scm +++ b/gnu/packages/kde-frameworks.scm @@ -349,6 +349,46 @@ propagate their changes to their respective configuration files.") license:lgpl3+ license:gpl1 ; licende:mit-olif license:bsd-2 license:bsd-3)))) +(define-public kcoreaddons + (package + (name "kcoreaddons") + (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 + "06sx7by3nvaridnavj5p0bxv4nh47n708jlacfw8ydaikmd9i03h")))) + (build-system cmake-build-system) + (native-inputs + `(("extra-cmake-modules" ,extra-cmake-modules) + ("qttools" ,qttools) + ("xorg-server" ,xorg-server))) ; for the tests + (inputs + `(("qtbase" ,qtbase))) + (arguments + `(#:phases + (modify-phases %standard-phases + (add-before 'check 'check-setup + (lambda* _ + (setenv "CTEST_OUTPUT_ON_FAILURE" "1") ; enable debug output + (setenv "HOME" (getcwd)) + (setenv "TMPDIR" (getcwd))))))) + ; FIXME test failure because stout/stderr are piped to the same file + (home-page "https://community.kde.org/Frameworks") + (synopsis "Qt addon library with a collection of non-GUI utilities") + (description "KCoreAddons provides classes built on top of QtCore to +perform various tasks such as manipulating mime types, autosaving files, +creating backup files, generating random sequences, performing text +manipulations such as macro replacement, accessing user information and +many more.") + ;; Some source files mention lgpl2.0+, but the included license is + ;; the lgpl2.1. Some source files are under non-copyleft licenses. + (license license:lgpl2.1+))) + (define-public kwindowsystem (package (name "kwindowsystem") -- 2.9.0