1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-18 00:10:04 +00:00

graphics/mesa-devel: enable Vulkan screenshot layer after da55103f9c

https://gitlab.freedesktop.org/mesa/mesa/-/commit/eda55c7c2f6
This commit is contained in:
Jan Beich 2024-11-02 00:46:17 +01:00
parent b60c7825be
commit bcefcbb9f6
2 changed files with 7 additions and 2 deletions

View File

@ -1,6 +1,7 @@
PORTNAME= mesa
DISTVERSION= 24.2-branchpoint-4926
DISTVERSIONSUFFIX= -ge474d4ebeef
PORTREVISION= 1
CATEGORIES= graphics
PKGNAMESUFFIX= -devel
@ -34,7 +35,7 @@ USE_GITLAB= yes
USE_LDCONFIG= yes
GL_SITE= https://gitlab.freedesktop.org
BINARY_ALIAS= python=${PYTHON_CMD}
SHEBANG_FILES= src/vulkan/overlay-layer/${PORTNAME}-overlay-control.py
SHEBANG_FILES= src/vulkan/*/*control.py
MESON_ARGS= -Dgallium-xa=disabled \
-Dandroid-libbacktrace=disabled \
-Dlibunwind=disabled \
@ -132,7 +133,8 @@ VDPAU_IMPLIES= X11
VKLAYERS_DESC= Vulkan layers: ${VKLAYERS_MESON_ON:C/.*=//} (implies ${VKLAYERS_IMPLIES})
VKLAYERS_BUILD_DEPENDS= glslangValidator:graphics/glslang
VKLAYERS_MESON_ON= -Dvulkan-layers=device-select,overlay
VKLAYERS_LIB_DEPENDS= libpng.so:graphics/png
VKLAYERS_MESON_ON= -Dvulkan-layers=device-select,overlay,screenshot
VKLAYERS_IMPLIES= ${"${PORT_OPTIONS:Manv}":?anv:radv} # any from OPTIONS_GROUP_VULKAN
WAYLAND_BUILD_DEPENDS= wayland-protocols>0:graphics/wayland-protocols

View File

@ -1,4 +1,5 @@
%%VKLAYERS%%bin/mesa-overlay-control.py
%%VKLAYERS%%bin/mesa-screenshot-control.py
%%NO_COINST%%%%OPENCL%%etc/OpenCL/vendors/mesa.icd
%%OPENCL%%etc/OpenCL/vendors/rusticl.icd
%%COINST%%etc/libmap.d/mesa%%SUFFIX%%.conf
@ -34,6 +35,7 @@ lib/libEGL_mesa%%SUFFIX%%.so.0.0.0
%%OPENCL%%lib/libRusticlOpenCL.so.1.0.0
%%VKLAYERS%%lib/libVkLayer_MESA_device_select.so
%%VKLAYERS%%lib/libVkLayer_MESA_overlay.so
%%VKLAYERS%%lib/libVkLayer_MESA_screenshot.so
lib/libgallium_dri%%SUFFIX%%.so
%%NO_COINST%%lib/libgbm%%SUFFIX%%.so
lib/libgbm%%SUFFIX%%.so.1
@ -58,6 +60,7 @@ share/drirc.d/00-mesa%%SUFFIX%%-defaults.conf
%%radv%%share/drirc.d/00-radv%%SUFFIX%%-defaults.conf
%%NO_COINST%%share/glvnd/egl_vendor.d/50_mesa.json
%%VKLAYERS%%share/vulkan/explicit_layer.d/VkLayer_MESA_overlay.json
%%VKLAYERS%%share/vulkan/explicit_layer.d/VkLayer_MESA_screenshot.json
%%anv%%%%NO_COINST%%share/vulkan/icd.d/intel_icd.%%ARCH%%.json
%%hasvk%%share/vulkan/icd.d/intel_hasvk_icd.%%ARCH%%.json
%%radv%%%%NO_COINST%%share/vulkan/icd.d/radeon_icd.%%ARCH%%.json