[arch-commits] Commit in virglrenderer/repos (testing-x86_64 testing-x86_64/PKGBUILD)
Anatol Pomozov
anatolik at archlinux.org
Mon May 10 16:38:39 UTC 2021
Date: Monday, May 10, 2021 @ 16:38:38
Author: anatolik
Revision: 414933
archrelease: copy trunk to testing-x86_64
Added:
virglrenderer/repos/testing-x86_64/
virglrenderer/repos/testing-x86_64/PKGBUILD
(from rev 414932, virglrenderer/trunk/PKGBUILD)
----------+
PKGBUILD | 32 ++++++++++++++++++++++++++++++++
1 file changed, 32 insertions(+)
Copied: virglrenderer/repos/testing-x86_64/PKGBUILD (from rev 414932, virglrenderer/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD (rev 0)
+++ testing-x86_64/PKGBUILD 2021-05-10 16:38:38 UTC (rev 414933)
@@ -0,0 +1,32 @@
+# Maintainer: Anatol Pomozov <anatol at archlinux.org>
+
+pkgname=virglrenderer
+pkgver=0.9.1
+pkgrel=1
+pkgdesc='A virtual 3D GPU library, that allows the guest operating system to use the host GPU to accelerate 3D rendering'
+arch=(x86_64)
+url='https://virgil3d.github.io/'
+license=(MIT)
+depends=(libepoxy mesa)
+makedepends=(python meson ninja)
+checkdepends=(check)
+_tag=virglrenderer-$pkgver
+source=(virglrenderer-$pkgver.tar.bz2::https://gitlab.freedesktop.org/virgl/virglrenderer/-/archive/$_tag/virglrenderer-$_tag.tar.bz2)
+sha256sums=('860cc3f0f1a448542a812b6e13909824eb3140b7b3283d068e9640487d50e6c0')
+
+build() {
+ cd virglrenderer-$_tag
+ meson --prefix=/usr build # -Dtests=true
+ ninja -C build
+}
+
+check() {
+ cd virglrenderer-$_tag
+ #ninja -C build test TODO: figure out why tests fail in chroot environment
+}
+
+package() {
+ cd virglrenderer-$_tag
+ DESTDIR="$pkgdir" ninja -C build install
+ install -D -m644 COPYING "$pkgdir/usr/share/licenses/$pkgname/COPYING"
+}
More information about the arch-commits
mailing list