summaryrefslogtreecommitdiff
path: root/user
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2020-07-19 23:39:58 +0000
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2020-07-19 23:39:58 +0000
commitc871ec19d03b3b727cac4a5e649b0473a26dc317 (patch)
treeef8b351ba918381b54f2d34ddb980b71aa0390ad /user
parentf04405234495a17a6fa36ebfd099fd70280cf9f9 (diff)
downloadpackages-c871ec19d03b3b727cac4a5e649b0473a26dc317.tar.gz
packages-c871ec19d03b3b727cac4a5e649b0473a26dc317.tar.bz2
packages-c871ec19d03b3b727cac4a5e649b0473a26dc317.tar.xz
packages-c871ec19d03b3b727cac4a5e649b0473a26dc317.zip
user/akonadi-search: New package
Diffstat (limited to 'user')
-rw-r--r--user/akonadi-search/APKBUILD44
1 files changed, 44 insertions, 0 deletions
diff --git a/user/akonadi-search/APKBUILD b/user/akonadi-search/APKBUILD
new file mode 100644
index 000000000..8e1957d8f
--- /dev/null
+++ b/user/akonadi-search/APKBUILD
@@ -0,0 +1,44 @@
+# Contributor: A. Wilcox <awilfox@adelielinux.org>
+# Maintainer: A. Wilcox <awilfox@adelielinux.org>
+pkgname=akonadi-search
+pkgver=20.04.3
+pkgrel=0
+pkgdesc="Search functionality for Akonadi"
+url="https://kde.org/"
+arch="all"
+license="LGPL-2.1+ AND (LGPL-2.1-only OR LGPL-3.0-only) AND GPL-2.0-only AND GPL-2.0+"
+depends=""
+makedepends="qt5-qtbase-dev cmake extra-cmake-modules kcmutils-dev kconfig-dev
+ kcrash-dev kdbusaddons-dev ki18n-dev kio-dev krunner-dev akonadi-dev
+ akonadi-mime-dev boost-dev kcalendarcore-dev kcontacts-dev kmime-dev
+ xapian-core-dev kauth-dev kcodecs-dev kcoreaddons-dev kitemmodels-dev
+ kjobwidgets-dev kpackage-dev kservice-dev solid-dev"
+subpackages="$pkgname-dev $pkgname-lang"
+source="https://download.kde.org/stable/release-service/$pkgver/src/akonadi-search-$pkgver.tar.xz"
+
+build() {
+ if [ "$CBUILD" != "$CHOST" ]; then
+ CMAKE_CROSSOPTS="-DCMAKE_SYSTEM_NAME=Linux -DCMAKE_HOST_SYSTEM_NAME=Linux"
+ fi
+ cmake \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_INSTALL_LIBDIR=lib \
+ -DBUILD_SHARED_LIBS=True \
+ -DCMAKE_BUILD_TYPE=RelWithDebugInfo \
+ -DCMAKE_CXX_FLAGS="$CXXFLAGS" \
+ -DCMAKE_C_FLAGS="$CFLAGS" \
+ ${CMAKE_CROSSOPTS} \
+ .
+ make
+}
+
+check() {
+ # sqlite backend requires D-Bus server.
+ QT_QPA_PLATFORM=offscreen CTEST_OUTPUT_ON_FAILURE=TRUE ctest -E 'akonadi-sqlite*'
+}
+
+package() {
+ make DESTDIR="$pkgdir" install
+}
+
+sha512sums="902fdef259863d0d0789af29d7ac5cf49e0b95df4f3509a444a20fefd9948c134e024a685bddc1c547efef6d2ef7872d00e5a1f3ecb836b88103d17de47ce413 akonadi-search-20.04.3.tar.xz"