aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLeo <thinkabit.ukim@gmail.com>2019-12-23 19:02:32 +0100
committerLeo <thinkabit.ukim@gmail.com>2019-12-23 19:21:10 +0100
commit56ae2cc788a48cda8bca6d5b377027c85f34002a (patch)
tree0401fec7a086a24e55bdc0492bad7b08c9c10d3a
parent19cf9e21cd4919a6ec20a8f466d126d79ca642ad (diff)
downloadaports-56ae2cc788a48cda8bca6d5b377027c85f34002a.tar.bz2
aports-56ae2cc788a48cda8bca6d5b377027c85f34002a.tar.xz
main/virglrenderer: upgrade to 0.8.1
-rw-r--r--main/virglrenderer/APKBUILD30
1 files changed, 14 insertions, 16 deletions
diff --git a/main/virglrenderer/APKBUILD b/main/virglrenderer/APKBUILD
index bdf0d17984..199118700d 100644
--- a/main/virglrenderer/APKBUILD
+++ b/main/virglrenderer/APKBUILD
@@ -1,36 +1,34 @@
# Contributor: Fernando Casas Schossow <casasfernando@outlook.com>
# Maintainer: Fernando Casas Schossow <casasfernando@outlook.com>
pkgname=virglrenderer
-pkgver=0.8.0
-pkgrel=1
+pkgver=0.8.1
+pkgrel=0
pkgdesc="A virtual 3D GPU library, that allows the guest operating system to use the host GPU to accelerate 3D rendering"
url="https://virgil3d.github.io/"
+options="!check"
arch="all"
license="MIT"
-makedepends="autoconf automake libtool file libdrm-dev mesa-dev libepoxy-dev python3"
-subpackages="$pkgname-dev $pkgname-doc"
-source="https://github.com/freedesktop/virglrenderer/archive/virglrenderer-$pkgver.tar.gz
+makedepends="meson file libdrm-dev mesa-dev libepoxy-dev python3 check-dev"
+subpackages="$pkgname-dev"
+source="https://gitlab.freedesktop.org/virgl/virglrenderer/-/archive/virglrenderer-$pkgver/virglrenderer-virglrenderer-$pkgver.tar.gz
musl-fixes.patch"
builddir="$srcdir/$pkgname-$pkgname-$pkgver"
-prepare() {
- default_prepare
- ./autogen.sh
-}
-
build() {
- ./configure --prefix=/usr
- make
+ meson \
+ --prefix=/usr \
+ -Dtests=true \
+ . output
+ ninja -C output
}
package() {
- make DESTDIR="$pkgdir" install
- install -D -m644 COPYING "$pkgdir/usr/share/licenses/$pkgname/COPYING"
+ DESTDIR="$pkgdir" ninja -C output install
}
check() {
- make check
+ ninja -C output test
}
-sha512sums="281da72d0be9146fd7a63f2062222c001c6cb02a4420d5d11d8f3fe551a1e3c6e3420c91fb99d7480f26de0de85d9e8b1aae558f60e037169a99b4d09d3dc407 virglrenderer-0.8.0.tar.gz
+sha512sums="c4c009cc0cc9302243ab95c34f20dd84edb1150f329544cc55526f655fdfc0c98884c4f240007954450bd59f3e875b798ae10c7c24a35682313b9476f0ace23a virglrenderer-virglrenderer-0.8.1.tar.gz
8f12548eb6ea3a2ac4f90ae74dbb338df0f57876104eb27e78d7acc184c0fe3b192636001606197a59b9cb286e8417579e41df3e132999ab0e3472d6604f8a3e musl-fixes.patch"