Skip to content
Snippets Groups Projects
Commit d84fbb08 authored by Mighty's avatar Mighty
Browse files

main/mesa-pvr-dri-classic: Set MESA_LOADER_DRIVER_OVERRIDE=pvr

parent fad7c7ef
No related branches found
No related tags found
No related merge requests found
......@@ -2,7 +2,7 @@
pkgname=mesa-pvr-dri-classic
pkgver=20.3.2
pkgrel=2
pkgrel=3
pkgdesc="Mesa DRI OpenGL library with PowerVR patches"
url="https://github.com/xc-racer99/mesa-pvr/"
arch="armhf armv7 aarch64"
......@@ -51,6 +51,7 @@ depends="mesa sgx-ddk-um-soc"
_commit="5bd40a453e1484efea842be9a3f388adb5fac93c"
source="
$pkgname-$_commit.tar.gz::https://github.com/freemangordon/mesa/archive/$_commit.tar.gz
pvr-wayland.sh
"
options="!check" # we skip tests intentionally
builddir="$srcdir/mesa-$_commit"
......@@ -100,8 +101,12 @@ package() {
install -Dm644 output/src/gallium/targets/dri/libgallium_dri.so \
"$pkgdir/$_dri_driverdir"/swrast.so
install -Dm755 "$srcdir"/pvr-wayland.sh \
etc/tinydm.d/env-wayland.d/pvr-wayland.sh
}
sha512sums="
d182338e886fb8a1ee2e049beb8420155a2cb08ea9c0499409d82b1d33fdded790821e6c65dcb6ac519ca6c6c26fc1ba39b5decf1798b8e0cd85996d732204d5 mesa-pvr-dri-classic-5bd40a453e1484efea842be9a3f388adb5fac93c.tar.gz
0cbcf6b55a139822922e0cae1d1e5df72fd9d44a8afc69d94d6235c817485a9f06fc6ba8eb4f56057cc5b823370656564d117734bb17b8ad54a8012c89673acf pvr-wayland.sh
"
#!/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
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment