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
This commit is contained in:
Mighty 2021-11-24 13:15:22 +05:30 committed by Newbyte
parent e2e2f42022
commit 07ce5f6a3f
No known key found for this signature in database
GPG key ID: 0B19D2A65870B448

View file

@ -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
"