summaryrefslogtreecommitdiff
path: root/repo/virglrenderer
diff options
context:
space:
mode:
authordavidovski <david@davidovski.xyz>2022-06-15 20:02:02 +0100
committerdavidovski <david@davidovski.xyz>2022-06-15 20:02:02 +0100
commitd2567bfbdf0e9fa6db0a6ed1534831ec859a3e03 (patch)
tree684a17eebf446aa1adab1097616f1882c8d51568 /repo/virglrenderer
parentd1fc3393cca72e8e432f827f7624e38734fad6dc (diff)
added deps for qemu
Diffstat (limited to 'repo/virglrenderer')
-rw-r--r--repo/virglrenderer/virglrenderer.xibuild20
1 files changed, 20 insertions, 0 deletions
diff --git a/repo/virglrenderer/virglrenderer.xibuild b/repo/virglrenderer/virglrenderer.xibuild
new file mode 100644
index 0000000..6096c51
--- /dev/null
+++ b/repo/virglrenderer/virglrenderer.xibuild
@@ -0,0 +1,20 @@
+#!/bin/sh
+
+NAME="virglrenderer"
+DESC="A virtual 3D GPU library, that allows the guest operating system to use the host GPU to accelerate 3D rendering"
+
+MAKEDEPS="meson file libdrm mesa libepoxy python check"
+
+PKG_VER=0.9.1
+SOURCE="https://gitlab.freedesktop.org/virgl/virglrenderer/-/archive/virglrenderer-$PKG_VER/virglrenderer-virglrenderer-$PKG_VER.tar.gz"
+
+build() {
+ meson --prefix=/usr \
+ -Dtests=true \
+ . output
+ meson compile ${JOBS:+-j ${JOBS}} -C output
+}
+
+package() {
+ DESTDIR="$PKG_DEST" meson install --no-rebuild -C output
+}