guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

113/143: gnu: Add kalendar.


From: guix-commits
Subject: 113/143: gnu: Add kalendar.
Date: Mon, 21 Nov 2022 16:10:52 -0500 (EST)

mbakke pushed a commit to branch master
in repository guix.

commit a5c368116a8e0754a6c7c523bcea8b0d1f70ee5c
Author: Petr Hodina <phodina@protonmail.com>
AuthorDate: Tue Sep 20 15:36:21 2022 +0200

    gnu: Add kalendar.
    
    * gnu/packages/kde-pim.scm (kalendar): New variable.
    
    Signed-off-by: Marius Bakke <marius@gnu.org>
---
 gnu/packages/kde-pim.scm | 70 ++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 70 insertions(+)

diff --git a/gnu/packages/kde-pim.scm b/gnu/packages/kde-pim.scm
index 90d124a053..5952beeffa 100644
--- a/gnu/packages/kde-pim.scm
+++ b/gnu/packages/kde-pim.scm
@@ -540,6 +540,76 @@ one of the APIs mentioned above.")
 management system and its Plasma integration components.")
     (license license:lgpl2.0+)))
 
+(define-public kalendar
+  (package
+    (name "kalendar")
+    (version "22.08.1")
+    (source (origin
+              (method url-fetch)
+              (uri (string-append "mirror://kde/stable/release-service/"
+                                  version "/src/" name "-" version
+                                  ".tar.xz"))
+              (sha256
+               (base32
+                "0slk9z7p1z5m2kbb8kq05afslxad8w5pjsajxawckcx0mlsd3apj"))))
+    (build-system qt-build-system)
+    (arguments
+     (list #:tests? #f ;All 2 tests fail
+           #:phases
+           #~(modify-phases %standard-phases
+               (add-after 'install 'wrap-script
+                 (lambda* (#:key inputs outputs #:allow-other-keys)
+                   (wrap-program (string-append #$output
+                                                "/bin/kalendar")
+                     `("PATH" ":" prefix
+                       (,(string-append #$(this-package-input "akonadi")
+                                        "/bin"))))))
+               (delete 'check)
+               (add-after 'wrap-script 'check-again
+                 (lambda* (#:key tests? #:allow-other-keys)
+                   (when tests?
+                     (invoke "dbus-launch" "ctest")))))))
+    (native-inputs (list dbus extra-cmake-modules))
+    (inputs (list akonadi
+                  akonadi-contacts
+                  breeze-icons
+                  grantlee
+                  grantleetheme
+                  kio
+                  kirigami
+                  kdbusaddons
+                  ki18n
+                  kcalendarcore
+                  kcalendarsupport
+                  kconfigwidgets
+                  kwindowsystem
+                  kcoreaddons
+                  kcontacts
+                  kitemmodels
+                  kmime
+                  kidentitymanagement
+                  kpimtextedit
+                  ktextwidgets
+                  akonadi-calendar
+                  keventviews
+                  kcalutils
+                  kxmlgui
+                  kiconthemes
+                  qtbase-5
+                  qtdeclarative-5
+                  qtquickcontrols2-5
+                  qtsvg-5
+                  qtquickcontrols-5
+                  qtgraphicaleffects
+                  qtlocation
+                  qqc2-desktop-style))
+    (home-page "https://apps.kde.org/kalendar/";)
+    (synopsis "Calendar application")
+    (description
+     "Kalendar is a calendar application using Akonadi to sync with
+external services.")
+    (license license:gpl3+)))
+
 (define-public kcalendarsupport
   (package
     (name "kcalendarsupport")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]