diff options
author | David Craven <david@craven.ch> | 2016-06-12 20:47:13 +0200 |
---|---|---|
committer | David Craven <david@craven.ch> | 2016-08-13 14:07:46 +0200 |
commit | d2e4c02d36503ced72e038f57150b559c1920902 (patch) | |
tree | 9f6b81d0d7099d0cbdc5478df2adc221dd989833 | |
parent | 803f30d7a5085928113c3d042eabc09de615bbfe (diff) | |
download | guix-d2e4c02d36503ced72e038f57150b559c1920902.tar.gz |
gnu: kde-frameworks: Add kitemviews.
* gnu/packages/kde-frameworks.scm (kitemviews): New variable. Co-authored-by: Hartmut Goebel <h.goebel@crazy-compilers.com>
-rw-r--r-- | gnu/packages/kde-frameworks.scm | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/gnu/packages/kde-frameworks.scm b/gnu/packages/kde-frameworks.scm index 816b9bc429..619ef58eae 100644 --- a/gnu/packages/kde-frameworks.scm +++ b/gnu/packages/kde-frameworks.scm @@ -616,6 +616,46 @@ model to observers @end itemize") (license license:lgpl2.1+))) +(define-public kitemviews + (package + (name "kitemviews") + (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 + "0y3fx9hk1x27arrmwfzq783a44cs7p8dpmhxrwzh0di4mwa8jafw")))) + (build-system cmake-build-system) + (native-inputs + `(("extra-cmake-modules" ,extra-cmake-modules) + ("qttools" ,qttools) + ("xorg-server" ,xorg-server))) + (inputs + `(("qtbase" ,qtbase))) + (arguments + `(#:phases + (modify-phases %standard-phases + (add-before 'check 'check-setup + (lambda* _ + (setenv "DBUS_FATAL_WARNINGS" "0"))) + (add-before 'check 'start-xorg-server + (lambda* (#:key inputs #:allow-other-keys) + ;; The test suite requires a running X server. + (system (string-append (assoc-ref inputs "xorg-server") + "/bin/Xvfb :1 &")) + (setenv "DISPLAY" ":1") + #t))))) + (home-page "https://community.kde.org/Frameworks") + (synopsis "Set of item views extending the Qt model-view framework") + (description "KItemViews includes a set of views, which can be used with +item models. It includes views for categorizing lists and to add search filters +to flat and hierarchical lists.") + (license (list license:gpl2+ license:lgpl2.1+)))) + (define-public kwindowsystem (package (name "kwindowsystem") |