aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Craven <david@craven.ch>2016-08-07 20:53:46 +0200
committerDavid Craven <david@craven.ch>2016-08-30 22:38:29 +0200
commitf422ad12750f98c27f150ad42b7b5f678e21787e (patch)
treed82a98046824d5e829a71a080d04886793c39c8c
parentccce03edce76b5bbdcf072af02b3297ffc43a8bd (diff)
downloadpatches-f422ad12750f98c27f150ad42b7b5f678e21787e.tar
patches-f422ad12750f98c27f150ad42b7b5f678e21787e.tar.gz
gnu: Add kdeclarative.
* gnu/packages/kde-frameworks.scm (kdeclarative): New variable.
-rw-r--r--gnu/packages/kde-frameworks.scm60
1 files changed, 60 insertions, 0 deletions
diff --git a/gnu/packages/kde-frameworks.scm b/gnu/packages/kde-frameworks.scm
index 3781ed5c82..adeb9a0c67 100644
--- a/gnu/packages/kde-frameworks.scm
+++ b/gnu/packages/kde-frameworks.scm
@@ -1725,3 +1725,63 @@ configuration dialogs, as well as a set of widgets which uses KConfig to store
their settings.")
;; dual licensed
(license (list license:gpl2+ license:lgpl2.1+))))
+
+(define-public kdeclarative
+ (package
+ (name "kdeclarative")
+ (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
+ "00ik9q1r6y6g5rkdq96yczgrxmcg85x00lipyljvc3x6xw6bixbz"))))
+ (build-system cmake-build-system)
+ (propagated-inputs
+ `(("kconfig" ,kconfig)
+ ("kpackage" ,kpackage)))
+ (native-inputs
+ `(("extra-cmake-modules" ,extra-cmake-modules)
+ ("xorg-server" ,xorg-server)))
+ (inputs
+ `(("kauth" ,kauth)
+ ("kbookmarks" ,kbookmarks)
+ ("kcodecs" ,kcodecs)
+ ("kcompletion" ,kcompletion)
+ ("kconfigwidgets" ,kconfigwidgets)
+ ("kcoreaddons" ,kcoreaddons)
+ ("kglobalaccel" ,kglobalaccel)
+ ("kguiaddons" ,kguiaddons)
+ ("kiconthemes" ,kiconthemes)
+ ("kio" ,kio)
+ ("kitemviews" ,kitemviews)
+ ("ki18n" ,ki18n)
+ ("kjobwidgets" ,kjobwidgets)
+ ("kservice" ,kservice)
+ ("kwidgetsaddons" ,kwidgetsaddons)
+ ("kwindowsystem" ,kwindowsystem)
+ ("kxmlgui" ,kxmlgui)
+ ("qtbase" ,qtbase)
+ ("qtdeclarative" ,qtdeclarative)
+ ("solid" ,solid)))
+ (arguments
+ `(#:phases
+ (modify-phases %standard-phases
+ (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 -screen 0 640x480x24 &"))
+ (setenv "DISPLAY" ":1")
+ #t)))))
+ (home-page "https://community.kde.org/Frameworks")
+ (synopsis "Integration of QML and KDE work spaces")
+ (description "KDeclarative provides integration of QML and KDE work spaces.
+It's comprises two parts: a library used by the C++ part of your application to
+intergrate QML with KDE Frameworks specific features, and a series of QML imports
+that offer bindings to some of the Frameworks.")
+ ;; dual licensed
+ (license (list license:gpl2+ license:lgpl2.1+))))