blob: 6096c516a2a05da97c64906376c7c6f7eeeb6cde (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
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
}
|