diff options
-rw-r--r-- | testing/korganizer/APKBUILD | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/testing/korganizer/APKBUILD b/testing/korganizer/APKBUILD new file mode 100644 index 0000000000..ea97c88039 --- /dev/null +++ b/testing/korganizer/APKBUILD @@ -0,0 +1,40 @@ +# Contributor: Bart Ribbers <bribbers@disroot.org> +# Maintainer: Bart Ribbers <bribbers@disroot.org> +pkgname=korganizer +pkgver=19.04.2 +pkgrel=0 +arch="all !ppc64le !s390x" # Limited by kmailtransport -> libkgapi -> qt5-qtwebengine +url="https://kontact.kde.org/components/korganizer.html" +pkgdesc="The calendar and scheduling component of Kontact" +license="GPL-2.0-or-later" +makedepends="extra-cmake-modules qt5-qtbase-dev akonadi-search-dev kcodecs-dev + kcompletion-dev kconfig-dev kconfigwidgets-dev kcoreaddons-dev kcrash-dev + kdbusaddons-dev kdoctools-dev kiconthemes-dev kitemviews-dev kjobwidgets-dev + kcmutils-dev knewstuff-dev kparts-dev kservice-dev kwidgetsaddons-dev + kwindowsystem-dev kxmlgui-dev knotifications-dev kholidays-dev kpimtextedit-dev + akonadi-dev kcontacts-dev kcalcore-dev akonadi-contacts-dev kidentitymanagement-dev + kmailtransport-dev akonadi-mime-dev kcalutils-dev kldap-dev akonadi-calendar-dev + phonon-dev kontactinterface-dev kmime-dev akonadi-notes-dev kdepim-apps-libs + pimcommon-dev libkdepim-dev incidenceeditor-dev calendarsupport-dev eventviews-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-koeventpopupmenutest requires running dbus server + CTEST_OUTPUT_ON_FAILURE=TRUE xvfb-run ctest -E "akonadi-sqlite-koeventpopupmenutest" +} + +package() { + DESTDIR="$pkgdir" make install +} + +sha512sums="e832832466a32b04876ad191f2fc2f0a9b8643427fe33bda928061045c162c43ecb8426f5ee84b5d09b1c82cbe961f209fbf526d0d24178c4e53b064c8194ab4 korganizer-19.04.2.tar.xz" |