PKGBUILD updated to reflect the change in meson vulkan-layers options.

This commit is contained in:
Reza Jahanbakhshi 2021-03-27 17:56:07 +01:00
parent 27652f405b
commit 76b96176ae
2 changed files with 8 additions and 4 deletions

View File

@ -1,6 +1,6 @@
pkgbase = mesa-git
pkgdesc = an open-source implementation of the OpenGL specification, git version
pkgver = 21.1.0_devel.137126.ba8ddc0c683
pkgver = 21.1.0_devel.137129.4b1217146d3
pkgrel = 1
url = https://www.mesa3d.org
arch = x86_64

View File

@ -12,7 +12,7 @@
pkgname=mesa-git
pkgdesc="an open-source implementation of the OpenGL specification, git version"
pkgver=21.1.0_devel.137126.ba8ddc0c683
pkgver=21.1.0_devel.137129.4b1217146d3
pkgrel=1
arch=('x86_64')
makedepends=('git' 'python-mako' 'xorgproto'
@ -135,8 +135,7 @@ build () {
-D shared-glapi=enabled \
-D gallium-opencl=icd \
-D valgrind=disabled \
-D vulkan-overlay-layer=true \
-D vulkan-device-select-layer=true \
-D vulkan-layers=device-select,overlay \
-D tools=[] \
-D zstd=enabled \
-D microsoft-clc=disabled
@ -149,6 +148,11 @@ build () {
package() {
DESTDIR="${pkgdir}" ninja $NINJAFLAGS -C _build install
# remove script file from /usr/bin
# https://gitlab.freedesktop.org/mesa/mesa/issues/2230
rm "${pkgdir}/usr/bin/mesa-overlay-control.py"
rmdir "${pkgdir}/usr/bin"
# indirect rendering
ln -s /usr/lib/libGLX_mesa.so.0 "${pkgdir}/usr/lib/libGLX_indirect.so.0"