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 | 10 | ||||
-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, 39 insertions, 16 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 9c948d2c..bd081f31 100644 --- a/extra/mesa/checksums +++ b/extra/mesa/checksums @@ -1,3 +1,4 @@ %BLAKE3 -b5d33d5fc16e1cca84cef581b6e67ea5a791b46093778a7b47b5c098ebe80724 mesa-21.3.3.tar.gz -6137ab643355c5770cacdc1999d0026e8a5e7437a052c31ca7170e98b9c2c3c9 Mako-1.1.1.tar.gz +43007133a84620374a16903511d303bb82d3ce4936ba1e8df907bab104ac8767 mesa-23.1.7.tar.xz +d9023ad9f38b0f0d95e0d8dba698b35bbcf70194910e3f1f86c89ca81bededee Mako-1.2.4.tar.gz +f8dd3db221098d462b08038180a5a9341f9df9e0bda97bdb072402ff865978af pythonpath diff --git a/extra/mesa/depends b/extra/mesa/depends index 582eef94..18063ed0 100644 --- a/extra/mesa/depends +++ b/extra/mesa/depends @@ -1,5 +1,7 @@ +eudev expat -flex make +flex make +glslang make libX11 libXdamage libXext @@ -11,7 +13,9 @@ libelf libxcb libxshmfence llvm -meson make -python make +meson make +python make +wayland +wayland-protocols make xorgproto 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 d6438eaf..e273a4f5 100644 --- a/extra/mesa/sources +++ b/extra/mesa/sources @@ -1,2 +1,3 @@ -https://github.com/mesa3d/mesa/archive/mesa-21.3.3.tar.gz -https://files.pythonhosted.org/packages/source/M/Mako/Mako-1.1.1.tar.gz mako +https://mesa.freedesktop.org/archive/mesa-23.1.7.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 b899d5de..fea2fdba 100644 --- a/extra/mesa/version +++ b/extra/mesa/version @@ -1 +1 @@ -21.3.3 1 +23.1.7 1 |