From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Craven Subject: [PATCH 24/31] gnu: Add kservice. Date: Fri, 26 Aug 2016 23:52:53 +0200 Message-ID: <20160826215300.12913-25-david@craven.ch> References: <20160826215300.12913-1-david@craven.ch> Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:59584) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bdP4W-00018t-Nj for guix-devel@gnu.org; Fri, 26 Aug 2016 17:53:57 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bdP4R-0005zh-V8 for guix-devel@gnu.org; Fri, 26 Aug 2016 17:53:55 -0400 Received: from so254-10.mailgun.net ([198.61.254.10]:55003) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bdP4Q-0005jv-Nw for guix-devel@gnu.org; Fri, 26 Aug 2016 17:53:51 -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 (kservice): New variable. --- gnu/packages/kde-frameworks.scm | 42 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 42 insertions(+) diff --git a/gnu/packages/kde-frameworks.scm b/gnu/packages/kde-frameworks.scm index 38a2f80..57a9638 100644 --- a/gnu/packages/kde-frameworks.scm +++ b/gnu/packages/kde-frameworks.scm @@ -2379,3 +2379,45 @@ which, among other things, allows one to type into a text area which causes various actions and information that match the text appear as the text is being typed.") (license license:lgpl2.1+))) + +(define-public kservice + (package + (name "kservice") + (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 + "0w0nsg64d6xhgijr2vh0j5p544qi0q55jpqa9v9mv956zrrdssdk")))) + (build-system cmake-build-system) + (propagated-inputs + `(("kconfig" ,kconfig) + ("kcoreaddons" ,kcoreaddons))) + (native-inputs + `(("extra-cmake-modules" ,extra-cmake-modules))) + (inputs + `(("kcrash" ,kcrash) + ("kdbusaddons" ,kdbusaddons) + ("kdoctools" ,kdoctools) + ("ki18n" ,ki18n) + ("qtbase" ,qtbase))) + (arguments + `(#:tests? #f ; FIXME: 8/10 tests fail. + #:phases + (modify-phases %standard-phases + (add-before 'check 'check-setup + (lambda _ + (setenv "HOME" (getcwd)) + (setenv "CTEST_OUTPUT_ON_FAILURE" "1") + (setenv "QT_QPA_PLATFORM" "offscreen") + #t))))) + (home-page "https://community.kde.org/Frameworks") + (synopsis "Plugin framework for desktop services") + (description "KService provides a plugin framework for handling desktop +services. Services can be applications or libraries. They can be bound to MIME +types or handled by application specific code.") + (license (list license:gpl2+ license:gpl3+ license:lgpl2.1+)))) -- 2.9.0