aboutsummaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorPetr Hodina <phodina@protonmail.com>2022-09-20 15:36:21 +0200
committerMarius Bakke <marius@gnu.org>2022-11-21 22:01:14 +0100
commita5c368116a8e0754a6c7c523bcea8b0d1f70ee5c (patch)
tree156066f02b9edc1fcc31d0ae76ea393a1ef29298 /gnu
parentd5954101fd0a5123067231382b57d8246e929e34 (diff)
downloadguix-a5c368116a8e0754a6c7c523bcea8b0d1f70ee5c.tar.gz
guix-a5c368116a8e0754a6c7c523bcea8b0d1f70ee5c.zip
gnu: Add kalendar.
* gnu/packages/kde-pim.scm (kalendar): New variable. Signed-off-by: Marius Bakke <marius@gnu.org>
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/kde-pim.scm70
1 files changed, 70 insertions, 0 deletions
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")