Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 2 Nov 2024 00:39:22 GMT
From:      Jan Beich <jbeich@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: bcefcbb9f671 - main - graphics/mesa-devel: enable Vulkan screenshot layer after da55103f9c3f
Message-ID:  <202411020039.4A20dM2q015752@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by jbeich:

URL: https://cgit.FreeBSD.org/ports/commit/?id=bcefcbb9f67102fc01d5fbfc6cf544798f7c19ec

commit bcefcbb9f67102fc01d5fbfc6cf544798f7c19ec
Author:     Jan Beich <jbeich@FreeBSD.org>
AuthorDate: 2024-11-01 23:46:17 +0000
Commit:     Jan Beich <jbeich@FreeBSD.org>
CommitDate: 2024-11-02 00:30:20 +0000

    graphics/mesa-devel: enable Vulkan screenshot layer after da55103f9c3f
    
    https://gitlab.freedesktop.org/mesa/mesa/-/commit/eda55c7c2f6
---
 graphics/mesa-devel/Makefile  | 6 ++++--
 graphics/mesa-devel/pkg-plist | 3 +++
 2 files changed, 7 insertions(+), 2 deletions(-)

diff --git a/graphics/mesa-devel/Makefile b/graphics/mesa-devel/Makefile
index 136f0937584b..a7667e82071b 100644
--- a/graphics/mesa-devel/Makefile
+++ b/graphics/mesa-devel/Makefile
@@ -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
diff --git a/graphics/mesa-devel/pkg-plist b/graphics/mesa-devel/pkg-plist
index f08d7bbb85db..3a64fd337ef2 100644
--- a/graphics/mesa-devel/pkg-plist
+++ b/graphics/mesa-devel/pkg-plist
@@ -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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202411020039.4A20dM2q015752>