community/akonadi: disable building of tests on armv7

It currently fails to compile and we need to unblock the builder:

[01m[K/usr/include/c++/14.2.0/bits/stl_vector.h:369:49:[m[K [01;31m[Kerror: [m[Kinvalid use of incomplete type '[01m[Kclass Akonadi::Server::QueryBuilder[m[K'
  369 |                       [01;31m[K_M_impl._M_end_of_storage - _M_impl._M_start[m[K);
      |                       [01;31m[K~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~[m[K
[01m[K/home/buildozer/aports/community/akonadi/src/akonadi-24.08.0/autotests/server/querybuildertest.h:17:7:[m[K [01;36m[Knote: [m[Kforward declaration of '[01m[Kclass Akonadi::Server::QueryBuilder[m[K'
   17 | class [01;36m[KQueryBuilder[m[K;
This commit is contained in:
Bart Ribbers 2024-08-31 10:22:23 +02:00
parent e27db6d936
commit ef54896067

View File

@ -5,7 +5,7 @@
# group=kde-applications
pkgname=akonadi
pkgver=24.08.0
pkgrel=0
pkgrel=1
pkgdesc="A cross-desktop storage service for PIM data and meta data providing concurrent read, write, and query access"
# ppc64le, s390x, riscv64, armhf and loongarch64 blocked by kaccounts-integration
arch="all !armhf !ppc64le !s390x !riscv64 !loongarch64"
@ -54,13 +54,19 @@ build() {
# make -dbg smaller
export CFLAGS="$CFLAGS -g1"
export CXXFLAGS="$CXXFLAGS -g1"
case "$CARCH" in
armv7) tests=-DBUILD_TESTING=OFF ;;
*) tests=-DBUILD_TESTING=ON ;;
esac
# akonadi recurses while walking e-mail threads, so give it a decent stack
LDFLAGS="$LDFLAGS -Wl,-z,stack-size=1024768" \
cmake -B build -G Ninja \
-DCMAKE_BUILD_TYPE=MinSizeRel \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_INSTALL_LIBDIR=lib \
-DBUILD_DESIGNERPLUGIN=ON
-DBUILD_DESIGNERPLUGIN=ON \
$tests
cmake --build build
}