From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:470:142:3::10]:55105) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ieQzh-00049x-Pu for guix-patches@gnu.org; Mon, 09 Dec 2019 16:55:07 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ieQzg-0005o2-JQ for guix-patches@gnu.org; Mon, 09 Dec 2019 16:55:05 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:48573) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1ieQzg-0005nr-GC for guix-patches@gnu.org; Mon, 09 Dec 2019 16:55:04 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ieQzg-0005Kv-DT for guix-patches@gnu.org; Mon, 09 Dec 2019 16:55:04 -0500 Subject: [bug#38553] [PATCH 07/12] gnu: Add kronometer. Resent-Message-ID: From: Hartmut Goebel Date: Mon, 9 Dec 2019 22:53:53 +0100 Message-Id: <20191209215358.24449-7-h.goebel@crazy-compilers.com> In-Reply-To: <20191209215358.24449-1-h.goebel@crazy-compilers.com> References: <20191209215358.24449-1-h.goebel@crazy-compilers.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: 38553@debbugs.gnu.org * gnu/packages/kde-utils.scm (kronometer): New variable. --- gnu/packages/kde-utils.scm | 42 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 42 insertions(+) diff --git a/gnu/packages/kde-utils.scm b/gnu/packages/kde-utils.scm index ed2312e48f..927bfc2351 100644 --- a/gnu/packages/kde-utils.scm +++ b/gnu/packages/kde-utils.scm @@ -202,3 +202,45 @@ also has support for user defined phrasebooks. It includes a history of spoken sentences from which the user can select sentences to be re-spoken.") (license (list license:gpl2+ license:fdl1.2+)))) + +(define-public kronometer + (package + (name "kronometer") + (version "2.2.3") + (source + (origin + (method url-fetch) + (uri (string-append "mirror://kde/stable/kronometer/" version + "/src/kronometer-" version ".tar.xz")) + (sha256 + (base32 "05hs8729a3aqjpwmn2xdf2sriacrll4sj4ax3lm4s1ravj09n9bm")))) + (properties `((tags . ("Desktop" "KDE" "Utilities")))) + (build-system qt-build-system) + (native-inputs + `(("extra-cmake-modules" ,extra-cmake-modules) + ("kdoctools" ,kdoctools))) + (inputs + `(("kauth" ,kauth) + ("kconfig" ,kconfig) + ("kconfigwidgets", kconfigwidgets) + ("kcoreaddons" ,kcoreaddons) + ("kcrash" ,kcrash) + ("ki18n" ,ki18n) + ("kwidgetsaddons" ,kwidgetsaddons) + ("kxmlgui" ,kxmlgui) + ("oxygen-icons" ,oxygen-icons) ;; default icon set + ("qtbase" ,qtbase))) + (arguments + `(#:phases + (modify-phases (@ (guix build qt-build-system) %standard-phases) + (add-before 'check 'check-setup + (lambda _ + ;; make Qt render "offscreen", required for tests + (setenv "QT_QPA_PLATFORM" "offscreen") + #t))))) + (home-page "https://kde.org/applications/utilities/org.kde.kronometer") + (synopsis "Simple stopwatch application") + (description "Kronometer is a stopwatch application. It features the +basic stopwatch actions (pause, resume, reset, laps), as well as the ability +to save the times and resume them later.") + (license license:gpl2+))) -- 2.21.0