mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-06-06 19:14:48 +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
48 lines
1,020 B
Text
48 lines
1,020 B
Text
# Contributor: Maxim Karasev <mxkrsv@disroot.org>
|
|
# Maintainer: Willow Barraco <contact@willowbarraco.fr>
|
|
pkgname=wlvncc
|
|
pkgver=0.0.0_git20250420
|
|
_commit=a6a5463a9c69ce4db04d8d699dd58e1ba8560a0a
|
|
pkgrel=0
|
|
pkgdesc="Wayland native VNC client"
|
|
url="https://github.com/any1/wlvncc"
|
|
arch="all"
|
|
license="ISC AND GPL-2.0-or-later"
|
|
makedepends="
|
|
aml-dev
|
|
cyrus-sasl-dev
|
|
ffmpeg-dev
|
|
gnutls-dev
|
|
libdrm-dev
|
|
libgcrypt-dev
|
|
libjpeg-turbo-dev
|
|
libpng-dev
|
|
libxkbcommon-dev
|
|
lzo-dev
|
|
mesa-dev
|
|
meson
|
|
openssl-dev
|
|
pixman-dev
|
|
wayland-dev
|
|
zlib-dev
|
|
"
|
|
source="https://github.com/any1/wlvncc/archive/$_commit/wlvncc-$pkgver.tar.gz"
|
|
builddir="$srcdir/wlvncc-$_commit"
|
|
|
|
build() {
|
|
abuild-meson \
|
|
. output
|
|
meson compile -C output
|
|
}
|
|
|
|
check() {
|
|
meson test --print-errorlogs -C output
|
|
}
|
|
|
|
package() {
|
|
DESTDIR="$pkgdir" meson install --no-rebuild -C output
|
|
}
|
|
|
|
sha512sums="
|
|
b7c7d2fbd95f549360f7f37795de0b82d77199d23e29b3d6d0537c8818638a448618f7eab7c6192dce643c40ce5d13db064ea060bbac88bb1328f48c5773eafa wlvncc-0.0.0_git20250420.tar.gz
|
|
"
|