mesa-32: 24.1.3 -> 24.1.4
This commit is contained in:
parent
61a8346c10
commit
77a3998bd5
@ -1,7 +1,7 @@
|
||||
untrusted comment: verify with /etc/ports/compat-32.pub
|
||||
RWSwxGo/zH7eXT0acurfMNcmEN/zOLedibRGy26Z8UoIIsvNrW45shUcy07AODIfihhYYDAKze3FzoWxP1BC9w/sXBkHtEWy7Aw=
|
||||
SHA256 (Pkgfile) = 5243c7d2ea93e1594efe6c3accee598ca061fa88e51e38d9e332310a5930d4ed
|
||||
RWSwxGo/zH7eXe13ZbTKVzxV7F2G3pb/G0D7ZiCm9wurDHqILcq3WPEi21A09YFM+tQF8nv4UBIEURUHs/BRmVV+ExwB7yUdhwc=
|
||||
SHA256 (Pkgfile) = dfe4c3077efc1d90e68f9567d64d99cf5360f9d83aa6a624021969bbdfc4ef7f
|
||||
SHA256 (.footprint) = 09078f852951a6a7ed572c23d8dd0b7c1f623f5753587a29611309f1bff12622
|
||||
SHA256 (mesa-24.1.3.tar.xz) = 63236426b25a745ba6aa2d6daf8cd769d5ea01887b0745ab7124d2ef33a9020d
|
||||
SHA256 (mesa-24.1.4.tar.xz) = 7cf7c6f665263ad0122889c1d4b076654c1eedea7a2f38c69c8c51579937ade1
|
||||
SHA256 (x86-linux-gnu) = 866e56da6164785120e4cee5ed2f44f0f7e5a5db9b34242332286754638dbdde
|
||||
SHA256 (x86-linux-gnu-ccache) = 91649ec781699a1cbebfa812ffe707b668f3990be3914b8febcd542f110f12a8
|
||||
|
@ -5,7 +5,7 @@
|
||||
# Optional: clang-32 glslang libclc libva-32 libvdpau-32 spirv-llvm-translator-32 vulkan-loader-32 wayland-protocols
|
||||
|
||||
name=mesa-32
|
||||
version=24.1.3
|
||||
version=24.1.4
|
||||
release=1
|
||||
source=(https://archive.mesa3d.org/mesa-$version.tar.xz
|
||||
x86-linux-gnu x86-linux-gnu-ccache)
|
||||
@ -14,11 +14,25 @@ build() {
|
||||
export PKG_CONFIG_LIBDIR='/usr/lib32/pkgconfig:/usr/share/pkgconfig'
|
||||
|
||||
prt-get isinst ccache && local _cross_file='x86-linux-gnu-ccache' || local _cross_file='x86-linux-gnu'
|
||||
prt-get isinst glslang spirv-llvm-translator-32 clang-32 && PKGMK_MESA+=' -D vulkan-drivers=auto -D vulkan-layers=device-select,intel-nullhw,overlay' || PKGMK_MESA+=' -D vulkan-drivers='
|
||||
prt-get isinst libclc clang-32 && PKGMK_MESA_GALLIUM+='iris,'
|
||||
|
||||
prt-get isinst directx-headers-32 && PKGMK_MESA_GALLIUM+='d3d12,'
|
||||
prt-get isinst clang-32 libclc && PKGMK_MESA+=' -D gallium-opencl=icd' PKGMK_MESA_GALLIUM+='iris,'
|
||||
prt-get isinst libclc rust-bindgen && PKGMK_MESA+=' -D gallium-rusticl=true'
|
||||
prt-get isinst libunwind-32 && PKGMK_MESA+=' -D libunwind=enabled'
|
||||
prt-get isinst libva-32 && PKGMK_MESA+=' -D gallium-va=enabled' || PKGMK_MESA+=' -D gallium-va=disabled'
|
||||
prt-get isinst libvdpau-32 && PKGMK_MESA+=' -D gallium-vdpau=enabled' || PKGMK_MESA+=' -D gallium-vdpau=disabled'
|
||||
prt-get isinst vulkan-loader-32 && PKGMK_MESA_GALLIUM+='zink,'
|
||||
prt-get isinst lm_sensors-32 && PKGMK_MESA+=' -D lmsensors=enabled'
|
||||
if prt-get isinst vulkan-loader-32; then
|
||||
prt-get isinst cbindgen rust-bindgen && PKGMK_MESA_VULKAN_DRIVERS+='nouveau,'
|
||||
prt-get isinst directx-headers-32 && PKGMK_MESA_VULKAN_DRIVERS+='microsoft-experimental,'
|
||||
prt-get isinst glslang && PKGMK_MESA_VULKAN_DRIVERS+='amd,' PKGMK_MESA_VULKAN_LAYERS+='overlay,'
|
||||
prt-get isinst glslang libclc python3-ply lua spirv-llvm-translator-32 clang-32 && PKGMK_MESA_VULKAN_DRIVERS+='intel,' PKGMK_MESA_VULKAN_LAYERS+='intel-nullhw,'
|
||||
VULKAN_DRIVERS=${PKGMK_MESA_VULKAN_DRIVERS#,}intel_hasvk,swrast,virtio
|
||||
PKGMK_MESA_GALLIUM+='zink,'
|
||||
else
|
||||
VULKAN_DRIVERS=""
|
||||
VULKAN_LAYERS=""
|
||||
fi
|
||||
prt-get isinst wayland-protocols && PKGMK_MESA_PLATFORMS+='wayland'
|
||||
## for future references
|
||||
#prt-get isinst xorg-libxdamage-32 xorg-libxrandr-32 xorg-libxshmfence-32 xorg-libxvmc-32 xorg-libxxf86vm-32 && PKGMK_MESA_PLATFORMS+=',x11'
|
||||
@ -45,8 +59,10 @@ build() {
|
||||
-D gallium-drivers=${PKGMK_MESA_GALLIUM}crocus,nouveau,r300,r600,radeonsi,svga,swrast,virgl,i915 \
|
||||
-D platforms=${PKGMK_MESA_PLATFORMS#,} \
|
||||
-D shared-glapi=enabled \
|
||||
-D video-codecs=vc1dec,h264dec,h264enc,h265dec,h265enc \
|
||||
-D glvnd=enabled
|
||||
-D video-codecs=all \
|
||||
-D glvnd=enabled \
|
||||
-D vulkan-drivers=$VULKAN_DRIVERS \
|
||||
-D vulkan-layers=$VULKAN_LAYERS
|
||||
|
||||
meson compile -C build -j ${JOBS:-1}
|
||||
DESTDIR=$PKG meson install -C build
|
||||
|
Loading…
x
Reference in New Issue
Block a user