From 87f1b53221e5d0e0b3cd4dde0f7237563920eb9f Mon Sep 17 00:00:00 2001 From: Hartmut Goebel Date: Wed, 4 Dec 2019 00:01:37 +0100 Subject: [PATCH] gnu: Add rsibreak. * gnu/packages/kde-utils.scm (rsibreak): New variable. --- gnu/packages/kde-utils.scm | 50 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 50 insertions(+) diff --git a/gnu/packages/kde-utils.scm b/gnu/packages/kde-utils.scm index 8499286b6e..699f1a9468 100644 --- a/gnu/packages/kde-utils.scm +++ b/gnu/packages/kde-utils.scm @@ -372,3 +372,53 @@ (define-public okteta redone.") (license ;; GPL for programs, LGPL for libraries, FDL for documentation (list license:gpl2+ license:lgpl2.0+ license:fdl1.2+)))) + +(define-public rsibreak + (package + (name "rsibreak") + (version "0.12.11") + (source + (origin + (method url-fetch) + (uri (string-append "mirror://kde//stable/rsibreak/0.12/" + "rsibreak-" version ".tar.xz")) + (sha256 + (base32 "09axg6gbmpnxsk88mdjbxxvfaj5af7xaf1gmnr17b0506zcfgwhv")))) + (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) + ("kdbusaddons" ,kdbusaddons) + ("ki18n" ,ki18n) + ("kiconthemes" ,kiconthemes) + ("kidletime" ,kidletime) + ("knotifications" ,knotifications) + ("knotifyconfig" ,knotifyconfig) + ("ktextwidgets" ,ktextwidgets) + ("kwindowsystem" ,kwindowsystem) + ("kxmlgui" ,kxmlgui) + ("oxygen-icons" ,oxygen-icons) ;; default icon set + ("qtbase" ,qtbase))) + (arguments + `(#:phases + (modify-phases %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.rsibreak") + (synopsis "Assists in the Recovery and Prevention of Repetitive Strain +Injury") + (description "Repetitive Strain Injury is an illness which can occur as a +result of working with a mouse and keyboard. This utility can be used to +remind you to take a break now and then.") + (license ;; GPL for programs, FDL for documentation + (list license:gpl2+ license:fdl1.2+))))