mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-06-04 08:55:20 +02:00
meson 1.7.0 and later don't include test build targets in the default build target. With --no-rebuild the test targets aren't build at all. Removing --no-rebuild shouldn't cause any false rebuilds since the files aren't changed between the build() and check() step. Fixes https://gitlab.alpinelinux.org/alpine/aports/-/issues/16891 Ref https://github.com/mesonbuild/meson/pull/10413
39 lines
1 KiB
Text
39 lines
1 KiB
Text
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
|
|
pkgname=xinput_calibrator
|
|
pkgver=0.8.0
|
|
pkgrel=0
|
|
pkgdesc="A generic touchscreen calibration program for X.Org"
|
|
url="https://www.freedesktop.org/wiki/Software/xinput_calibrator"
|
|
arch="all"
|
|
license="MIT"
|
|
makedepends="
|
|
libx11-dev
|
|
libxi-dev
|
|
libxrandr-dev
|
|
meson
|
|
"
|
|
subpackages="$pkgname-doc"
|
|
source="https://gitlab.freedesktop.org/xorg/app/xinput-calibrator/-/archive/v$pkgver/xinput-calibrator-v$pkgver.tar.gz
|
|
update-desktop-database.patch
|
|
"
|
|
builddir="$srcdir/xinput-calibrator-v$pkgver"
|
|
|
|
build() {
|
|
abuild-meson \
|
|
-Dgui=x11 \
|
|
output
|
|
ninja -C output
|
|
}
|
|
|
|
check() {
|
|
meson test --print-errorlogs -C output
|
|
}
|
|
|
|
package() {
|
|
DESTDIR="$pkgdir" meson install --no-rebuild -C output
|
|
}
|
|
|
|
sha512sums="
|
|
0b982ff19640c67c649074636e48369d33b9916184c2192493820328517112ecf2871f8d7414a58e6d4ed429a79b55d3b5faa1a6c5779dfc1250343841fa535b xinput-calibrator-v0.8.0.tar.gz
|
|
e832b972948aa0a3ac8a78e5e2c9a38736bed19eb69e4793db62f3ed37773b983056b26d5b3bec470d85dc6f0659ae01dab7e66aa86a0e310af62171558f9a92 update-desktop-database.patch
|
|
"
|