[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#39182] [PATCH 11/26] gnu: Add akonadi-mime.
From: |
Hartmut Goebel |
Subject: |
[bug#39182] [PATCH 11/26] gnu: Add akonadi-mime. |
Date: |
Sat, 18 Jan 2020 22:11:30 +0100 |
* gnu/packages/kde-pim.scm (akonadi-mime): New variable.
---
gnu/packages/kde-pim.scm | 53 ++++++++++++++++++++++++++++++++++++++++
1 file changed, 53 insertions(+)
diff --git a/gnu/packages/kde-pim.scm b/gnu/packages/kde-pim.scm
index 95ecc6e477..b37b3ca66a 100644
--- a/gnu/packages/kde-pim.scm
+++ b/gnu/packages/kde-pim.scm
@@ -113,6 +113,59 @@ This package contains the Akonadi PIM storage server and
associated
programs.")
(license license:fdl1.2+)))
+(define-public akonadi-mime
+ (package
+ (name "akonadi-mime")
+ (version "19.08.3")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append "mirror://kde/stable/applications/" version
+ "/src/akonadi-mime-" version ".tar.xz"))
+ (sha256
+ (base32 "03q3dnhzcgmgcqvijnwi4ikg0m1zad2l679bqnp051v27fvs4yg7"))))
+ (build-system qt-build-system)
+ (native-inputs
+ `(("extra-cmake-modules" ,extra-cmake-modules)
+ ("libxslt" ,libxslt) ;; xslt for generating interface descriptions
+ ("shared-mime-info" ,shared-mime-info)))
+ (inputs
+ `(("akonadi" ,akonadi)
+ ("boost", boost)
+ ("kcodecs" ,kcodecs)
+ ("kconfig" ,kconfig)
+ ("kconfigwidgets" ,kconfigwidgets)
+ ("kdbusaddons" ,kdbusaddons)
+ ("ki18n" ,ki18n)
+ ("kio" ,kio)
+ ("kitemmodels" ,kitemmodels)
+ ("kmime" ,kmime)
+ ("kwidgetsaddons" ,kwidgetsaddons)
+ ("kxmlgui" ,kxmlgui)
+ ("qtbase" ,qtbase)))
+ (home-page "https://api.kde.org/stable/kdepimlibs-apidocs/akonadi/html/")
+ (arguments
+ `(#:phases
+ (modify-phases %standard-phases
+ (add-after 'unpack 'copy-desktop-file-early
+ (lambda _
+ (let ((plugins-dir
"/tmp/.local/share/akonadi/plugins/serializer"))
+ (mkdir-p plugins-dir)
+ (copy-file "serializers/akonadi_serializer_mail.desktop"
+ (string-append plugins-dir
"/akonadi_serializer_mail.desktop")))
+ #t))
+ (add-before 'check 'check-setup
+ (lambda _
+ (setenv "HOME" "/tmp")
+ #t)))))
+ (synopsis "Akonadi MIME handling library")
+ (description "Akonadi Mime is a library that effectively bridges the
+type-agnostic API of the Akonadi client libraries and the domain-specific
+KMime library. It provides jobs, models and other helpers to make working
+with emails through Akonadi easier.")
+ (license ;; GPL for programs, LGPL for libraries
+ (list license:gpl2+ license:lgpl2.0+))))
+
(define-public kalarmcal
(package
(name "kalarmcal")
--
2.21.1
- [bug#39182] [PATCH 00/26] First part od KDE PIM, incl. akonadi, kgpg, kleopatra, Hartmut Goebel, 2020/01/18
- [bug#39182] [PATCH 01/26] gnu: Add akonadi., Hartmut Goebel, 2020/01/18
- [bug#39182] [PATCH 03/26] gnu: Add kmbox., Hartmut Goebel, 2020/01/18
- [bug#39182] [PATCH 02/26] gnu: Add kmime., Hartmut Goebel, 2020/01/18
- [bug#39182] [PATCH 04/26] gnu: Add kcalutils., Hartmut Goebel, 2020/01/18
- [bug#39182] [PATCH 05/26] gnu: Add kpimtextedit., Hartmut Goebel, 2020/01/18
- [bug#39182] [PATCH 06/26] gnu: Add kidentitymanagement., Hartmut Goebel, 2020/01/18
- [bug#39182] [PATCH 09/26] gnu: Add ktnef., Hartmut Goebel, 2020/01/18
- [bug#39182] [PATCH 08/26] gnu: Add kldap., Hartmut Goebel, 2020/01/18
- [bug#39182] [PATCH 10/26] gnu: Add kalarmcal., Hartmut Goebel, 2020/01/18
- [bug#39182] [PATCH 11/26] gnu: Add akonadi-mime.,
Hartmut Goebel <=
- [bug#39182] [PATCH 07/26] gnu: Add kimap., Hartmut Goebel, 2020/01/18
- [bug#39182] [PATCH 14/26] gnu: Add akonadi-contacts., Hartmut Goebel, 2020/01/18
- [bug#39182] [PATCH 15/26] gnu: Add ksmtp., Hartmut Goebel, 2020/01/18
- [bug#39182] [PATCH 12/26] gnu: Add akonadi-notes., Hartmut Goebel, 2020/01/18
- [bug#39182] [PATCH 13/26] gnu: Add akonadi-search., Hartmut Goebel, 2020/01/18
- [bug#39182] [PATCH 16/26] gnu: Add kontactinterface., Hartmut Goebel, 2020/01/18
- [bug#39182] [PATCH 17/26] gnu: Add libkgapi., Hartmut Goebel, 2020/01/18
- [bug#39182] [PATCH 19/26] gnu: Add akonadi-calendar., Hartmut Goebel, 2020/01/18
- [bug#39182] [PATCH 20/26] gnu: Add libkleo., Hartmut Goebel, 2020/01/18
- [bug#39182] [PATCH 18/26] gnu: Add kmailtransport., Hartmut Goebel, 2020/01/18