1 # Maintainer: Anatol Pomozov <anatol@archlinux.org>
6 pkgdesc='A virtual 3D GPU library, that allows the guest operating system to use the host GPU to accelerate 3D rendering'
8 url='https://virgil3d.github.io/'
10 depends=(libepoxy mesa)
11 makedepends=(python meson ninja)
13 _tag=virglrenderer-$pkgver
14 source=(virglrenderer-$pkgver.tar.bz2::https://gitlab.freedesktop.org/virgl/virglrenderer/-/archive/$_tag/virglrenderer-$_tag.tar.bz2)
15 sha256sums=('860cc3f0f1a448542a812b6e13909824eb3140b7b3283d068e9640487d50e6c0')
18 cd virglrenderer-$_tag
19 meson --prefix=/usr build # -Dtests=true
24 cd virglrenderer-$_tag
25 #ninja -C build test TODO: figure out why tests fail in chroot environment
29 cd virglrenderer-$_tag
30 DESTDIR="$pkgdir" ninja -C build install
31 install -D -m644 COPYING "$pkgdir/usr/share/licenses/$pkgname/COPYING"