mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-06-06 19:14:48 +02:00
39 lines
1.2 KiB
Text
39 lines
1.2 KiB
Text
# Contributor: Luca Weiss <luca@lucaweiss.eu>
|
|
# Maintainer: Luca Weiss <luca@lucaweiss.eu>
|
|
pkgname=wlcs
|
|
pkgver=1.7.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
|
|
gcc14.patch"
|
|
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="
|
|
ac8d33eef2ba7ebaaff46967e23f353c7eb41035568f3c703a05fe8f291602487b4b5a7e71ff72d00c41eaa8283a8fc4e5d3533385a449794986f667ae292240 wlcs-1.7.0.tar.xz
|
|
152b4fcdd7712e202aedd395eef2c4d62b6cccf2d0ee9c6c39712b159208931e199863e7d38f209706e4b721d4de0eb2addae202c8a59f861aef9ee495ea9600 gcc14.patch
|
|
"
|