diff options
Diffstat (limited to 'extra/mesa')
-rwxr-xr-x | extra/mesa/build | 27 | ||||
-rw-r--r-- | extra/mesa/checksums | 5 | ||||
-rw-r--r-- | extra/mesa/depends | 14 | ||||
-rwxr-xr-x | extra/mesa/files/pythonpath | 6 | ||||
-rw-r--r-- | extra/mesa/sources | 5 | ||||
-rw-r--r-- | extra/mesa/version | 2 |
6 files changed, 42 insertions, 17 deletions
diff --git a/extra/mesa/build b/extra/mesa/build index 26d29fcb..64bc5128 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 @@ -11,12 +15,10 @@ ) -pyver=$(python3 --version) pyver=${pyver##* } -PYTHONPATH="$PWD/mako/dist/usr/lib/python${pyver%.*}/site-packages:$(python -c "import sys; print(':'.join(sys.path))")" +PYTHONPATH=$(./pythonpath) export PYTHONPATH export DESTDIR="$1" -export CFLAGS="-DGLX_X86_READONLY_TEXT $CFLAGS" # Fix issues with musl and firefox. # https://bugs.freedesktop.org/show_bug.cgi?id=35268 @@ -25,12 +27,21 @@ 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" \ - -Dzstd=false \ + -Dplatforms=x11,wayland \ + -Dexpat=enabled \ + -Ddri3=enabled \ + -Degl=enabled \ + -Dgbm=enabled \ + -Dgles1=enabled \ + -Dgles2=enabled \ + -Dglx-read-only-text=true \ + -Dglx=dri \ + -Dllvm=enabled \ + -Dshared-glapi=enabled \ + -Dvulkan-drivers="$vulkan_drivers" \ + -Dxmlconfig=enabled \ + -Dzstd=disabled \ . output ninja -C output diff --git a/extra/mesa/checksums b/extra/mesa/checksums index 6033709a..4f7471b8 100644 --- a/extra/mesa/checksums +++ b/extra/mesa/checksums @@ -1,3 +1,4 @@ %BLAKE3 -2724653e4caed8186a66e2d71b5b657c27344d8ad5d8757d32b2518bc40cca26 mesa-21.2.2.tar.gz -6137ab643355c5770cacdc1999d0026e8a5e7437a052c31ca7170e98b9c2c3c9 Mako-1.1.1.tar.gz +f2cc4568e62b58cbe399cf1c786c4c69d8fff198f3c532f912e89933889979a3 mesa-24.2.4.tar.xz +d9023ad9f38b0f0d95e0d8dba698b35bbcf70194910e3f1f86c89ca81bededee Mako-1.2.4.tar.gz +f8dd3db221098d462b08038180a5a9341f9df9e0bda97bdb072402ff865978af pythonpath diff --git a/extra/mesa/depends b/extra/mesa/depends index 582eef94..320e4ec3 100644 --- a/extra/mesa/depends +++ b/extra/mesa/depends @@ -1,17 +1,23 @@ +eudev expat -flex make +flex make +glslang make libX11 libXdamage libXext libXrandr libXrender libXxf86vm +libclc libdrm libelf libxcb libxshmfence llvm -meson make -python make -xorgproto +meson make +python make +spirv-llvm-translator make +wayland +wayland-protocols make +xorgproto make zlib diff --git a/extra/mesa/files/pythonpath b/extra/mesa/files/pythonpath new file mode 100755 index 00000000..563786ed --- /dev/null +++ b/extra/mesa/files/pythonpath @@ -0,0 +1,6 @@ +#!/usr/bin/python3 +import os +import sys + +print("%s/mako/dist/usr/lib/python%d.%d/site-packages:%s" + % (os.getcwd(), sys.version_info.major, sys.version_info.minor, ':'.join(sys.path))) diff --git a/extra/mesa/sources b/extra/mesa/sources index f5a8da8b..4d118308 100644 --- a/extra/mesa/sources +++ b/extra/mesa/sources @@ -1,2 +1,3 @@ -https://github.com/mesa3d/mesa/archive/mesa-21.2.2.tar.gz -https://files.pythonhosted.org/packages/source/M/Mako/Mako-1.1.1.tar.gz mako +https://mesa.freedesktop.org/archive/mesa-24.2.4.tar.xz +https://files.pythonhosted.org/packages/source/M/Mako/Mako-1.2.4.tar.gz mako +files/pythonpath diff --git a/extra/mesa/version b/extra/mesa/version index 64a108ae..ec32baf5 100644 --- a/extra/mesa/version +++ b/extra/mesa/version @@ -1 +1 @@ -21.2.2 1 +24.2.4 1 |