aports/testing/lomiri-trust-store/APKBUILD
Bart Ribbers 44ce39a091 */*: remove unnecessary --output-on-failure
We set OUTPUT_ON_FAILURE by default nowadays so this argument is
unnecessary
2025-03-19 15:41:30 +00:00

63 lines
1.6 KiB
Text

# Maintainer: Luca Weiss <luca@lucaweiss.eu>
# Contributor: Aster Boese <asterboese@mailbox.org
pkgname=lomiri-trust-store
pkgver=2.0.2
pkgrel=8
pkgdesc="API for creating, reading, updating and deleting trust requests answered by users"
url="https://gitlab.com/ubports/development/core/trust-store"
arch="all"
license="LGPL-3.0-only"
depends_dev="
boost-dev
dbus-cpp-dev
libapparmor-dev
mir-dev
process-cpp-dev
properties-cpp-dev
qt5-qtdeclarative-dev
"
makedepends="
$depends_dev
cmake
cmake-extras
glog-dev
gmock
gtest-dev
libapparmor
samurai
"
checkdepends="
coreutils
dbus
"
source="https://gitlab.com/ubports/development/core/trust-store/-/archive/$pkgver/trust-store-$pkgver.tar.gz
10-boost_1.84.patch
glog.patch
"
subpackages="$pkgname-dev $pkgname-lang"
builddir="$srcdir/trust-store-$pkgver"
options="!check" # some tests fail
build() {
cmake -B build -G Ninja \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_INSTALL_LIBDIR=lib \
-DCMAKE_BUILD_TYPE=None \
-DTRUST_STORE_MIR_AGENT_ENABLED=OFF \
-DENABLE_WERROR=OFF
cmake --build build
}
check() {
ctest --test-dir build
}
package() {
DESTDIR="$pkgdir" cmake --install build
}
sha512sums="
3dab27f752ad12845a41af04c3a749d89043a2d36cdd81f4705399144b7747f1f37142df8e30e70003ab42d75171e01e99bc6678d39e277f94eb0a8267c856b7 trust-store-2.0.2.tar.gz
1a1d37b3c8f5181d369e03a22e36c433dd5ee94ed70cfa3592734ca38bc60a497d32c39907ac7b84030ff476b977f1bdd644a4766d9d63655dc0164e28bfc379 10-boost_1.84.patch
1888be5142dc4f9c708901b5a5fc6d589115dee99133093d3fa2c9b88e5b7e1164f90cee9b552792c69daec7de5b78363a3c710619a328cd781157f55fdf5767 glog.patch
"