# Contributor: Luca Weiss # Maintainer: Luca Weiss pkgname=wlcs pkgver=1.4.0 pkgrel=6 pkgdesc="Wayland Conformance Test Suite" url="https://github.com/MirServer/wlcs" arch="all" license="GPL-3.0-only" makedepends="cmake gtest-dev wayland-dev boost-dev samurai" subpackages="$pkgname-dev" source="https://github.com/MirServer/wlcs/releases/download/v$pkgver/wlcs-$pkgver.tar.xz" options="!check" # No test suite build() { if [ "$CBUILD" != "$CHOST" ]; then CMAKE_CROSSOPTS="-DCMAKE_SYSTEM_NAME=Linux -DCMAKE_HOST_SYSTEM_NAME=Linux" fi cmake -B build -G Ninja \ -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_INSTALL_LIBDIR=lib \ -DBUILD_SHARED_LIBS=True \ -DCMAKE_BUILD_TYPE=None \ -DWLCS_BUILD_ASAN=False \ -DWLCS_BUILD_TSAN=False \ -DWLCS_BUILD_UBSAN=False \ $CMAKE_CROSSOPTS cmake --build build } package() { DESTDIR="$pkgdir" cmake --install build } sha512sums=" a6707f730b499cb1927ad9b3acbdb561e0788f201ffde472fafd7d427b8ee7195b9b0adc14b7c621c87afc0c13056e3ed69d53dd347178e302dc58b9bbb87b6e wlcs-1.4.0.tar.xz "