libglvnd: fix tests

This commit is contained in:
Paper 2021-05-13 14:27:23 +02:00 committed by Érico Nogueira Rolim
parent 644dbbfed9
commit 55b35a4044
1 changed files with 5 additions and 0 deletions

View File

@ -6,6 +6,7 @@ wrksrc="libglvnd-v${version}"
build_style=meson
hostmakedepends="pkg-config"
makedepends="libXext-devel libX11-devel xorgproto"
checkdepends="xvfb-run"
short_desc="GL Vendor-Neutral Dispatch library"
maintainer="Stefano Ragni <st3r4g@protonmail.com>"
license="custom:MIT-alike"
@ -29,6 +30,10 @@ case "$XBPS_TARGET_MACHINE" in
arm*|mips*|ppc*) configure_args+=" -Dasm=disabled";;
esac
do_check() {
xvfb-run ninja -C build test
}
post_install() {
grep -A 25 "Copyright (c) 2013, NVIDIA CORPORATION." README.md > LICENSE
vlicense LICENSE