main/mesa-pvr-dri-classic: Set MESA_LOADER_DRIVER_OVERRIDE=pvr (MR 2790)

[ci:skip-build] already built successfully in CI
This commit is contained in:
Mighty 2021-12-26 22:10:52 +05:30 committed by Clayton Craft
parent 97d48d1e34
commit a878c81cbb
No known key found for this signature in database
GPG key ID: 4A4CED6D7EDF950A
2 changed files with 16 additions and 1 deletions

View file

@ -2,7 +2,7 @@
pkgname=mesa-pvr-dri-classic pkgname=mesa-pvr-dri-classic
pkgver=20.3.2 pkgver=20.3.2
pkgrel=2 pkgrel=3
pkgdesc="Mesa DRI OpenGL library with PowerVR patches" pkgdesc="Mesa DRI OpenGL library with PowerVR patches"
url="https://github.com/xc-racer99/mesa-pvr/" url="https://github.com/xc-racer99/mesa-pvr/"
arch="armhf armv7 aarch64" arch="armhf armv7 aarch64"
@ -48,9 +48,13 @@ makedepends="
zstd-dev zstd-dev
" "
depends="mesa sgx-ddk-um-soc" depends="mesa sgx-ddk-um-soc"
subpackages="
$pkgname-tinydm
"
_commit="5bd40a453e1484efea842be9a3f388adb5fac93c" _commit="5bd40a453e1484efea842be9a3f388adb5fac93c"
source=" source="
$pkgname-$_commit.tar.gz::https://github.com/freemangordon/mesa/archive/$_commit.tar.gz $pkgname-$_commit.tar.gz::https://github.com/freemangordon/mesa/archive/$_commit.tar.gz
pvr-wayland.sh
" "
options="!check" # we skip tests intentionally options="!check" # we skip tests intentionally
builddir="$srcdir/mesa-$_commit" builddir="$srcdir/mesa-$_commit"
@ -102,6 +106,13 @@ package() {
"$pkgdir/$_dri_driverdir"/swrast.so "$pkgdir/$_dri_driverdir"/swrast.so
} }
tinydm() {
install_if="$pkgname tinydm"
install -Dm755 "$srcdir"/pvr-wayland.sh \
"$subpkgdir"/etc/tinydm.d/env-wayland.d/pvr-wayland.sh
}
sha512sums=" sha512sums="
d182338e886fb8a1ee2e049beb8420155a2cb08ea9c0499409d82b1d33fdded790821e6c65dcb6ac519ca6c6c26fc1ba39b5decf1798b8e0cd85996d732204d5 mesa-pvr-dri-classic-5bd40a453e1484efea842be9a3f388adb5fac93c.tar.gz d182338e886fb8a1ee2e049beb8420155a2cb08ea9c0499409d82b1d33fdded790821e6c65dcb6ac519ca6c6c26fc1ba39b5decf1798b8e0cd85996d732204d5 mesa-pvr-dri-classic-5bd40a453e1484efea842be9a3f388adb5fac93c.tar.gz
0cbcf6b55a139822922e0cae1d1e5df72fd9d44a8afc69d94d6235c817485a9f06fc6ba8eb4f56057cc5b823370656564d117734bb17b8ad54a8012c89673acf pvr-wayland.sh
" "

View file

@ -0,0 +1,4 @@
#!/bin/sh
# We need to explicitly set driver to pvr for the newer mesa, else it tries to find omapdrm
export MESA_LOADER_DRIVER_OVERRIDE=pvr