From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Craven Subject: [PATCH 05/26] gnu: kde-frameworks: Add bluez-qt. Date: Mon, 8 Aug 2016 13:54:03 +0200 Message-ID: <20160808115424.13372-6-david@craven.ch> References: <20160808115424.13372-1-david@craven.ch> Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:57084) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bWj96-0000fQ-CA for guix-devel@gnu.org; Mon, 08 Aug 2016 07:55:05 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bWj94-0002mU-7M for guix-devel@gnu.org; Mon, 08 Aug 2016 07:55:03 -0400 Received: from so254-10.mailgun.net ([198.61.254.10]:54181) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bWj93-0002jd-05 for guix-devel@gnu.org; Mon, 08 Aug 2016 07:55:02 -0400 In-Reply-To: <20160808115424.13372-1-david@craven.ch> List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: guix-devel@gnu.org Cc: David Craven * gnu/packages/kde-frameworks.scm (bluez-qt): New variable. Co-authored-by: Hartmut Goebel --- gnu/packages/kde-frameworks.scm | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) diff --git a/gnu/packages/kde-frameworks.scm b/gnu/packages/kde-frameworks.scm index 85d000b..3116526 100644 --- a/gnu/packages/kde-frameworks.scm +++ b/gnu/packages/kde-frameworks.scm @@ -25,6 +25,7 @@ #:use-module ((guix licenses) #:prefix license:) #:use-module (guix packages) #:use-module (guix utils) + #:use-module (gnu packages glib) #:use-module (gnu packages pkg-config) #:use-module (gnu packages qt) #:use-module (gnu packages xorg)) @@ -105,6 +106,40 @@ The REST API is defined here: http://freedesktop.org/wiki/Specifications/open-collaboration-services/") (license (list license:lgpl2.1+ license:lgpl3+)))) +(define-public bluez-qt + (package + (name "bluez-qt") + (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 + "0gy0m7lcwwklf021l5i3v7j0cl7qz7cgvzrwpj87ix3kyw5xs80z")))) + (build-system cmake-build-system) + (native-inputs + `(("dbus" ,dbus) + ("extra-cmake-modules" ,extra-cmake-modules))) + (inputs + `(("qtbase" ,qtbase))) + (arguments + `(#:configure-flags + '("-DINSTALL_UDEV_RULE:BOOL=OFF") + #:phases + (modify-phases %standard-phases + (replace 'check + (lambda* _ + (setenv "DBUS_FATAL_WARNINGS" "0") + (zero? (system* "dbus-launch" "ctest" "."))))))) + (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") -- 2.9.0