diff options
author | Bart Ribbers <bribbers@disroot.org> | 2019-06-19 14:04:47 +0200 |
---|---|---|
committer | Leo <thinkabit.ukim@gmail.com> | 2019-06-20 08:27:45 -0300 |
commit | 20f3905cd223e3dfeea225ac1657407e7f06415e (patch) | |
tree | 2bd73719d7e20819ae2b98f29185afaf83b13c9f | |
parent | f8b71a98907d371f6605948b97fd8a3746b25330 (diff) | |
download | aports-20f3905cd223e3dfeea225ac1657407e7f06415e.tar.bz2 aports-20f3905cd223e3dfeea225ac1657407e7f06415e.tar.xz |
testing/akonadi-search: new aport
-rw-r--r-- | testing/akonadi-search/APKBUILD | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/testing/akonadi-search/APKBUILD b/testing/akonadi-search/APKBUILD new file mode 100644 index 0000000000..74f105852c --- /dev/null +++ b/testing/akonadi-search/APKBUILD @@ -0,0 +1,32 @@ +# Contributor: Bart Ribbers <bribbers@disroot.org> +# Maintainer: Bart Ribbers <bribbers@disroot.org> +pkgname=akonadi-search +pkgver=19.04.2 +pkgrel=0 +pkgdesc="Libraries and daemons to implement searching in Akonadi" +arch="all" +url="https://community.kde.org/KDE_PIM" +license="(GPL-2.0-only OR GPL-3.0-only) AND (LGPL-2.1-only OR LGPL-3.0-only)" +depends_dev="qt5-qtbase-dev ki18n-dev kconfig-dev kcrash-dev kdbusaddons-dev kcmutils-dev kio-dev krunner-dev xapian-core-dev akonadi-dev kcontacts-dev kmime-dev akonadi-mime-dev kcalcore-dev" +makedepends="$depends_dev extra-cmake-modules" +checkdepends="xvfb-run" +source="https://download.kde.org/stable/applications/$pkgver/src/$pkgname-$pkgver.tar.xz" +subpackages="$pkgname-dev $pkgname-lang" + +build() { + cmake \ + -DCMAKE_BUILD_TYPE=RelWithDebInfo \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_INSTALL_LIBDIR=lib + make +} + +check() { + # akonadi-sqlite-schedulertest and akonadi-sqlite-collectionindexingjobtest require running dbus server + CTEST_OUTPUT_ON_FAILURE=TRUE xvfb-run ctest -E "(akonadi-sqlite-scheduler|akonadi-sqlite-collectionindexingjob)test" +} + +package() { + DESTDIR="$pkgdir" make install +} +sha512sums="bd02c00b5d1a20a84ced6a3e60c7372a50fe7057bf9abf170172bf700930c35b4e345e2d22bc6e82cf78444d85defda3083ae03d4ecb2fa7298468d9cb1f0b2c akonadi-search-19.04.2.tar.xz" |