aports/community/qcoro/APKBUILD
Bart Ribbers d8dd27d807 community/qcoro: remove last Qt5 deps
Seems I forgot these...
2025-05-08 21:11:43 +02:00

47 lines
1 KiB
Text

maintainer="Bart Ribbers <bribbers@disroot.org>"
pkgname=qcoro
pkgver=0.12.0
pkgrel=3
pkgdesc="C++ Coroutines for Qt"
url="https://qcoro.dvratil.cz"
# armhf blocked by qt6-qtdeclarative
arch="all !armhf"
license="MIT"
depends_dev="
qt6-qtbase-dev
qt6-qtwebsockets-dev
"
makedepends="$depends_dev
cmake
qt6-qtdeclarative-private-dev
samurai
"
checkdepends="
dbus-x11
xwayland-run
"
subpackages="$pkgname-dev"
source="https://github.com/danvratil/qcoro/archive/v$pkgver/qcoro-v$pkgver.tar.gz"
build() {
cmake -B build -G Ninja \
-DCMAKE_BUILD_TYPE=None \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_INSTALL_LIBDIR=lib \
-DBUILD_SHARED_LIBS=TRUE \
-DUSE_QT_VERSION=6 \
-DQCORO_BUILD_EXAMPLES=OFF
cmake --build build
}
check() {
wlheadless-run -- ctest --test-dir build -E "test-qcorolocalsocket"
}
package() {
DESTDIR="$pkgdir" cmake --install build
}
sha512sums="
f1da90c4a9bec5f52ec9f40caa30c8465658c6ff005c6c7e89aeb97acc4aefd5e34030493b7e51313a6d2b3fc59114f6ed6751f31f1c132ece173f0e22154c37 qcoro-v0.12.0.tar.gz
"