From 07ce5f6a3f07310a0a8420d493b0af28e351c750 Mon Sep 17 00:00:00 2001 From: Mighty Date: Wed, 24 Nov 2021 13:15:22 +0530 Subject: [PATCH] main/mesa-pvr-dri-classic: update to llvm 12 and switch source (MR 2702) Changing source to freemangordon's branch as that is much more stable and does not crash, got firefox running, which with older mesa would crash the GPU --- main/mesa-pvr-dri-classic/APKBUILD | 24 ++++++++++-------------- 1 file changed, 10 insertions(+), 14 deletions(-) diff --git a/main/mesa-pvr-dri-classic/APKBUILD b/main/mesa-pvr-dri-classic/APKBUILD index 9661b3e4a..3cf00d266 100644 --- a/main/mesa-pvr-dri-classic/APKBUILD +++ b/main/mesa-pvr-dri-classic/APKBUILD @@ -2,13 +2,12 @@ pkgname=mesa-pvr-dri-classic pkgver=20.3.2 -pkgrel=1 -_tag=mesa-pvr-20.3.2 +pkgrel=2 pkgdesc="Mesa DRI OpenGL library with PowerVR patches" url="https://github.com/xc-racer99/mesa-pvr/" arch="armhf armv7 aarch64" license="MIT SGI-B-2.0 BSL-1.0" -_llvmver=11 +_llvmver=12 depends_dev=" libdrm-dev libxext-dev @@ -49,14 +48,15 @@ makedepends=" zstd-dev " depends="mesa sgx-ddk-um-soc" +_commit="5bd40a453e1484efea842be9a3f388adb5fac93c" source=" - https://github.com/xc-racer99/mesa-pvr/archive/$_tag.tar.gz + $pkgname-$_commit.tar.gz::https://github.com/freemangordon/mesa/archive/$_commit.tar.gz " options="!check" # we skip tests intentionally -builddir="$srcdir/mesa-pvr-$_tag" +builddir="$srcdir/mesa-$_commit" _dri_driverdir=/usr/lib/xorg/modules/dri -_dri_drivers="exynos,tidss,tilcdc,omapdrm" +_dri_drivers="pvr" build() { export CFLAGS="$CFLAGS -D_XOPEN_SOURCE=700" @@ -96,16 +96,12 @@ build() { package() { install -Dm644 output/src/mesa/drivers/dri/libmesa_dri_drivers.so \ - "$pkgdir/$_dri_driverdir"/omapdrm_dri.so - install -Dm644 output/src/mesa/drivers/dri/libmesa_dri_drivers.so \ - "$pkgdir/$_dri_driverdir"/exynos_dri.so - install -Dm644 output/src/mesa/drivers/dri/libmesa_dri_drivers.so \ - "$pkgdir/$_dri_driverdir"/tilcdc_dri.so - install -Dm644 output/src/mesa/drivers/dri/libmesa_dri_drivers.so \ - "$pkgdir/$_dri_driverdir"/tidss_dri.so + "$pkgdir/$_dri_driverdir"/pvr_dri.so install -Dm644 output/src/gallium/targets/dri/libgallium_dri.so \ "$pkgdir/$_dri_driverdir"/swrast.so } -sha512sums="a922fc58b4f42a9cc6b8bb0b8c640090d8cd49a03f630a0b9ffb9b208dad1607451433996ca8b658c77226b5a4bd9de67f1559f58a07925583c4de0a1c070503 mesa-pvr-20.3.2.tar.gz" +sha512sums=" +d182338e886fb8a1ee2e049beb8420155a2cb08ea9c0499409d82b1d33fdded790821e6c65dcb6ac519ca6c6c26fc1ba39b5decf1798b8e0cd85996d732204d5 mesa-pvr-dri-classic-5bd40a453e1484efea842be9a3f388adb5fac93c.tar.gz +"