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 libva)
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=('aaabe7928dac3786dd9bdf85d0f5630d6e45b222f99375007e33d24ea1beef77')
18 cd virglrenderer-$_tag
19 meson --prefix=/usr build -Dvideo=true # -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"