diff options
author | Cem Keylan <cem@ckyln.com> | 2022-12-08 14:20:37 +0100 |
---|---|---|
committer | Cem Keylan <cem@ckyln.com> | 2022-12-08 15:15:32 +0100 |
commit | d0f4ab801b445dd29cc7bbf414feea362d6a4dc4 (patch) | |
tree | 418b64476d2f37b123fb8b24722dbc359a5bb8ed /extra/mesa/build | |
parent | 54159d3ccd137a39e2f1c08906bdf0033d0f8158 (diff) | |
download | repository-d0f4ab801b445dd29cc7bbf414feea362d6a4dc4.tar.gz |
mesa: bump to 22.2.4 + more changes
Some of the changes included here are:
- Add glslang as a build dependency
- Force wayland
- Remove patch that is no longer required
Diffstat (limited to 'extra/mesa/build')
-rwxr-xr-x | extra/mesa/build | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/extra/mesa/build b/extra/mesa/build index 3408a9d7..464a3703 100755 --- a/extra/mesa/build +++ b/extra/mesa/build @@ -1,5 +1,9 @@ #!/bin/sh -e +# Support for vulkan drivers of intel, amd, and broadcom. Change if you just +# want to specify your own graphics card. +vulkan_drivers=amd,intel,broadcom + # Temporarily install python-mako to build mesa ( cd mako @@ -17,9 +21,6 @@ export PYTHONPATH export DESTDIR="$1" export CFLAGS="-DGLX_X86_READONLY_TEXT $CFLAGS" -# Revert commit that causes WebKit to break on Wayland. -patch -p1 < revert_deprecation.patch - # Fix issues with musl and firefox. # https://bugs.freedesktop.org/show_bug.cgi?id=35268 # https://github.com/mesa3d/mesa/commit/9f37c9903b87f86a533bfaffa72f0ecb285b02b2 @@ -27,11 +28,9 @@ clsed "/pre_args += '-DUSE_ELF_TLS'/d" meson.build python3 bin/git_sha1_gen.py --output include/git_sha1.h -platforms=x11 -cpt l -q wayland-protocols && platforms=$platforms,wayland - cl-meson \ - -Dplatforms="$platforms" \ + -Dplatforms=x11,wayland \ + -Dvulkan-drivers="$vulkan_drivers" \ -Dzstd=false \ . output |