libglvnd: fix tests
This commit is contained in:
parent
644dbbfed9
commit
55b35a4044
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue