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 pkgbase = mesa-git
pkgdesc = an open-source implementation of the OpenGL specification, git version 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 pkgrel = 1
url = https://www.mesa3d.org url = https://www.mesa3d.org
arch = x86_64 arch = x86_64

View File

@ -12,7 +12,7 @@
pkgname=mesa-git pkgname=mesa-git
pkgdesc="an open-source implementation of the OpenGL specification, git version" 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 pkgrel=1
arch=('x86_64') arch=('x86_64')
makedepends=('git' 'python-mako' 'xorgproto' makedepends=('git' 'python-mako' 'xorgproto'
@ -135,8 +135,7 @@ build () {
-D shared-glapi=enabled \ -D shared-glapi=enabled \
-D gallium-opencl=icd \ -D gallium-opencl=icd \
-D valgrind=disabled \ -D valgrind=disabled \
-D vulkan-overlay-layer=true \ -D vulkan-layers=device-select,overlay \
-D vulkan-device-select-layer=true \
-D tools=[] \ -D tools=[] \
-D zstd=enabled \ -D zstd=enabled \
-D microsoft-clc=disabled -D microsoft-clc=disabled
@ -149,6 +148,11 @@ build () {
package() { package() {
DESTDIR="${pkgdir}" ninja $NINJAFLAGS -C _build install 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 # indirect rendering
ln -s /usr/lib/libGLX_mesa.so.0 "${pkgdir}/usr/lib/libGLX_indirect.so.0" ln -s /usr/lib/libGLX_mesa.so.0 "${pkgdir}/usr/lib/libGLX_indirect.so.0"