Subject: [PATCH] community/virglrenderer: upgrade virglrenderer to version 0.9.1

From: Fernando Casas Schossow <[email-masked]>
Date: Mon, 26 Jul 2021 13:15:32 +0200

https://virgil3d.github.io/
A virtual 3D GPU library, that allows the guest operating system to use the host GPU to accelerate 3D rendering
---
 community/virglrenderer/APKBUILD         | 12 ++++++------
 community/virglrenderer/musl-fixes.patch | 11 -----------
 2 files changed, 6 insertions(+), 17 deletions(-)
 delete mode 100644 community/virglrenderer/musl-fixes.patch

diff --git a/community/virglrenderer/APKBUILD b/community/virglrenderer/APKBUILD
index 9b2b9a119a..ca1a1ca5d4 100644
--- a/community/virglrenderer/APKBUILD
+++ b/community/virglrenderer/APKBUILD
@@ -1,8 +1,8 @@
 # Contributor: Fernando Casas Schossow <[email-masked]>
 # Maintainer: Fernando Casas Schossow <[email-masked]>
 pkgname=virglrenderer
-pkgver=0.8.2
-pkgrel=1
+pkgver=0.9.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"
@@ -10,8 +10,7 @@ arch="all"
 license="MIT"
 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"
+source="https://gitlab.freedesktop.org/virgl/virglrenderer/-/archive/virglrenderer-$pkgver/virglrenderer-virglrenderer-$pkgver.tar.gz"
 builddir="$srcdir/$pkgname-$pkgname-$pkgver"
 
 # secfixes:
@@ -36,5 +35,6 @@ check() {
 	meson test --no-rebuild -v -C output
 }
 
-sha512sums="a64069bf6a28e5b77da53b5226a447decc3fe07a5c28bc49c2c15413b7651605170c5644a24f6a0ce9216a0f55afcee0246c3e4d9bc8f32dad771be3115e0f2a  virglrenderer-virglrenderer-0.8.2.tar.gz
-8f12548eb6ea3a2ac4f90ae74dbb338df0f57876104eb27e78d7acc184c0fe3b192636001606197a59b9cb286e8417579e41df3e132999ab0e3472d6604f8a3e  musl-fixes.patch"
+sha512sums="
+4edba82c83a6183871f74f365d55af88935edf9abad97c1617c569f21a16b008481364f50491dfbc7ed89832a6b618fce98d182f84cc1cbab9d2c7443a2ae936  virglrenderer-virglrenderer-0.9.1.tar.gz
+"
diff --git a/community/virglrenderer/musl-fixes.patch b/community/virglrenderer/musl-fixes.patch
deleted file mode 100644
index 2f6c806549..0000000000
--- a/community/virglrenderer/musl-fixes.patch
+++ /dev/null
@@ -1,11 +0,0 @@
---- a/src/gallium/include/pipe/p_config.h
-+++ b/src/gallium/include/pipe/p_config.h
-@@ -130,7 +130,7 @@
-  * Endian detection.
-  */
- 
--#ifdef __GLIBC__
-+#ifdef __linux__
- #include <endian.h>
- 
- #if __BYTE_ORDER == __LITTLE_ENDIAN
-- 
2.32.0