diff options
author | Bart Ribbers <bribbers@disroot.org> | 2019-06-21 16:38:54 +0200 |
---|---|---|
committer | Leo <thinkabit.ukim@gmail.com> | 2019-06-21 15:02:27 -0300 |
commit | 372b4d9cb6ba237acb1eaeeb4aa845fa969ace30 (patch) | |
tree | 52d44bb6ec24b24998d895b6cd61ab978091748f /testing/kmail | |
parent | 4554aae0164f387bbbe8369a4ad561eabfce798e (diff) | |
download | aports-372b4d9cb6ba237acb1eaeeb4aa845fa969ace30.tar.bz2 aports-372b4d9cb6ba237acb1eaeeb4aa845fa969ace30.tar.xz |
testing/kmail: new aport
Diffstat (limited to 'testing/kmail')
-rw-r--r-- | testing/kmail/APKBUILD | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/testing/kmail/APKBUILD b/testing/kmail/APKBUILD new file mode 100644 index 0000000000..821e075f2b --- /dev/null +++ b/testing/kmail/APKBUILD @@ -0,0 +1,32 @@ +# Contributor: Bart Ribbers <bribbers@disroot.org> +# Maintainer: Bart Ribbers <bribbers@disroot.org> +pkgname=kmail +pkgver=19.04.2 +pkgrel=0 +arch="all !ppc64le !s390x" # Limited by qt5-qtwebengine +url="https://kontact.kde.org/components/kmail.html" +pkgdesc="Email client, supporting POP3 and IMAP mailboxes" +license="GPL-2.0-or-later" +makedepends="extra-cmake-modules qt5-qtbase-dev qt5-qtwebengine-dev akonadi-search-dev gpgme-dev kbookmarks-dev kcodecs-dev kconfig-dev kconfigwidgets-dev kcrash-dev kdbusaddons-dev kdoctools-dev kguiaddons-dev ki18n-dev kitemviews-dev kjobwidgets-dev kio-dev kcmutils-dev knotifications-dev knotifyconfig-dev kparts-dev kservice-dev sonnet-dev ktextwidgets-dev kwidgetsaddons-dev kwindowsystem-dev kxmlgui-dev kiconthemes-dev akonadi-dev akonadi-contacts-dev akonadi-mime-dev kcontacts-dev kcalcore-dev kcalutils-dev kidentitymanagement-dev kldap-dev kmailtransport kpimtextedit-dev kontactinterface-dev kmime-dev libgravatar-dev kdepim-apps-libs-dev libkdepim-dev libkleo-dev libksieve-dev mailcommon-dev messagelib-dev pimcommon-dev kdepim-apps-libs-dev ktnef-dev" +checkdepends="xvfb-run" +source="https://download.kde.org/stable/applications/$pkgver/src/$pkgname-$pkgver.tar.xz" +subpackages="$pkgname-doc $pkgname-lang" + +build() { + cmake \ + -DCMAKE_BUILD_TYPE=RelWithDebInfo \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_INSTALL_LIBDIR=lib + make +} + +check() { + # akonadi-sqlite-tagselectdialogtest, akonadi-sqlite-kmcommandstest and akonadi-sqlite-unifiedmailboxmanagertest require running dbus server + CTEST_OUTPUT_ON_FAILURE=TRUE xvfb-run ctest -E "akonadi-sqlite-(tagselectdialog|kmcommands|unifiedmailboxmanager)test" +} + +package() { + DESTDIR="$pkgdir" make install +} + +sha512sums="571fd9980341ae25318bdb6a3fd90f5ef5480ea0f9f75c136d69e7c3b111441b3804761576ca90f9ee1c6f39e7d14a9f7bff2c6ed840455697fe52a841ea1ad3 kmail-19.04.2.tar.xz" |