From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Craven Subject: [PATCH 09/13] gnu: kde-frameworks: Add knotifications. Date: Sat, 13 Aug 2016 14:19:27 +0200 Message-ID: <20160813121931.20071-10-david@craven.ch> References: <20160813121931.20071-1-david@craven.ch> Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:51381) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bYXvN-0001R8-3T for guix-devel@gnu.org; Sat, 13 Aug 2016 08:20:26 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bYXvG-0006Rh-Ds for guix-devel@gnu.org; Sat, 13 Aug 2016 08:20:24 -0400 Received: from so254-10.mailgun.net ([198.61.254.10]:57143) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bYXvF-0006QK-5E for guix-devel@gnu.org; Sat, 13 Aug 2016 08:20:18 -0400 In-Reply-To: <20160813121931.20071-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 (knotifications): New variable. Co-authored-by: Hartmut Goebel --- 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 428a525..0e39a4a 100644 --- a/gnu/packages/kde-frameworks.scm +++ b/gnu/packages/kde-frameworks.scm @@ -1290,3 +1290,45 @@ formats.") (description "KJobWIdgets provides widgets for showing progress of asynchronous jobs.") (license license:lgpl2.1+))) + +(define-public knotifications + (package + (name "knotifications") + (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 + "0qryp41phnpx4r9wa6rfhmnzy7nxl0ijnyrafadf2n2xb53ipkpa")))) + (build-system cmake-build-system) + (native-inputs + `(("extra-cmake-modules" ,extra-cmake-modules) + ("dbus" ,dbus) + ("qttools" ,qttools))) + (inputs + `(("kcodecs" ,kcodecs) + ("kconfig" ,kconfig) + ("kcoreaddons" ,kcoreaddons) + ("kwindowsystem" ,kwindowsystem) + ("phonon" ,phonon) + ("qtbase" ,qtbase) + ("qtx11extras" ,qtx11extras))) + (arguments + `(#:phases + (modify-phases %standard-phases + (add-before 'check 'check-setup + (lambda* _ + (setenv "HOME" (getcwd)))) + (replace 'check + (lambda* _ + (setenv "DBUS_FATAL_WARNINGS" "0") + (zero? (system* "dbus-launch" "ctest" "."))))))) + (home-page "https://community.kde.org/Frameworks") + (synopsis "Desktop notifications") + (description "KNotification is used to notify the user of an event. It +covers feedback and persistent events.") + (license license:lgpl2.1+))) -- 2.9.0