diff mbox

[WIP,v0.1,3/8] gnu: Add kde bluez-qt

Message ID 1465938910-15739-4-git-send-email-h.goebel@crazy-compilers.com
State New
Headers show

Commit Message

Hartmut Goebel June 14, 2016, 9:15 p.m. UTC
* gnu/packages/kde-frameworks.scm (bluez-qt): New variable.
---
 gnu/packages/kde-frameworks.scm | 31 +++++++++++++++++++++++++++++++
 1 file changed, 31 insertions(+)
diff mbox

Patch

diff --git a/gnu/packages/kde-frameworks.scm b/gnu/packages/kde-frameworks.scm
index ca89374..e4a947b 100644
--- a/gnu/packages/kde-frameworks.scm
+++ b/gnu/packages/kde-frameworks.scm
@@ -97,6 +97,37 @@  http://freedesktop.org/wiki/Specifications/open-collaboration-services/
 ")
     (license (list license:lgpl2.1+ license:lgpl3+))))
 
+(define-public bluez-qt
+;; TOOO fails with
+;; CMake Error at cmake_install.cmake:74 (file):
+;;  file cannot create directory: /lib/udev/rules.d.
+;;     Maybe need administrative  privileges.
+  (package
+    (name "bluez-qt")
+    (version kde-frameworks-version)
+    (source
+      (origin
+        (method url-fetch)
+        (uri (string-append "http://download.kde.org/stable/frameworks/"
+                            (version-major+minor version) "/"
+                            name "-" version ".tar.xz"))
+        (sha256
+         (base32
+          "0nsnxa4k31l69fapxn49g112948zprc5xr7v3ggxwnxkb1pll60a"))))
+    (build-system cmake-build-system)
+    (native-inputs
+     `(("extra-cmake-modules" ,extra-cmake-modules)))
+    (inputs
+     `(("qt" ,qt)))
+    (arguments
+     `(#:tests? #f)) ; TODO tests freeze
+    (home-page "https://community.kde.org/Frameworks")
+    (synopsis "QML wrapper for bluez")
+    (description " bluez-qt is a Qt-style library for accessing the bluez
+Bluetooth stack.  It is used by the KDE Bluetooth stack, BlueDevil.")
+    (license (list license:lgpl2.1+ license:lgpl3+))))
+
+
 (define-public kwindowsystem
   (package
     (name "kwindowsystem")