From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Craven Subject: [PATCH 15/31] gnu: Add kglobalaccel. Date: Fri, 26 Aug 2016 23:52:44 +0200 Message-ID: <20160826215300.12913-16-david@craven.ch> References: <20160826215300.12913-1-david@craven.ch> Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:59271) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bdP4J-0000gg-S9 for guix-devel@gnu.org; Fri, 26 Aug 2016 17:53:48 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bdP4H-0005ss-Mu for guix-devel@gnu.org; Fri, 26 Aug 2016 17:53:42 -0400 Received: from so254-10.mailgun.net ([198.61.254.10]:55003) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bdP4G-0005jv-GI for guix-devel@gnu.org; Fri, 26 Aug 2016 17:53:41 -0400 In-Reply-To: <20160826215300.12913-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 * gnu/packages/kde-frameworks.scm (kglobalaccel): New variable. Co-authored-by: Hartmut Goebel --- gnu/packages/kde-frameworks.scm | 41 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) diff --git a/gnu/packages/kde-frameworks.scm b/gnu/packages/kde-frameworks.scm index bf647d5..f3fa593 100644 --- a/gnu/packages/kde-frameworks.scm +++ b/gnu/packages/kde-frameworks.scm @@ -1933,3 +1933,44 @@ with su and ssh respectively.") representation with images in HTML. It supports setting different themes for emoticons coming from different providers.") (license (list license:gpl2+ license:lgpl2.1+ license:cc-by-sa4.0)))) + +(define-public kglobalaccel + (package + (name "kglobalaccel") + (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 + "123v0ld1q88hbm3d0mqgq6lcivfkqh7pbz4hb4n76ab5v43qc15c")))) + (build-system cmake-build-system) + (native-inputs + `(("extra-cmake-modules" ,extra-cmake-modules) + ("qttools" ,qttools))) + (inputs + `(("kconfig" ,kconfig) + ("kcrash" ,kcrash) + ("kcoreaddons" ,kcoreaddons) + ("kdbusaddons" ,kdbusaddons) + ("kwindowsystem" ,kwindowsystem) + ("libxcb" ,libxcb) + ("qtbase" ,qtbase) + ("qtx11extras" ,qtx11extras) + ("xcb-util-keysyms" ,xcb-util-keysyms))) + (arguments + `(#:phases + (modify-phases %standard-phases + (add-before 'check 'check-setup + (lambda _ + (setenv "QT_QPA_PLATFORM" "offscreen") + #t))))) + (home-page "https://community.kde.org/Frameworks") + (synopsis "Global desktop keyboard shortcuts") + (description "KGlobalAccel allows you to have global accelerators that are +independent of the focused window. Unlike regular shortcuts, the application's +window does not need focus for them to be activated.") + (license license:lgpl2.1+))) -- 2.9.0