Date: Wed, 6 Jan 2021 18:49:25 +0000 (UTC) From: Jan Beich <jbeich@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-branches@freebsd.org Subject: svn commit: r560555 - branches/2021Q1/graphics/vulkan-validation-layers Message-ID: <202101061849.106InPVv056131@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: jbeich Date: Wed Jan 6 18:49:25 2021 New Revision: 560555 URL: https://svnweb.freebsd.org/changeset/ports/560555 Log: MFH: r560551 graphics/vulkan-validation-layers: minor cleanup - Expose WSI support[1] - Update description - Convert to USES=xorg - Prefer standard _DESC - Simplify _DEPENDS - Drop excessive newlines PR: 246376 [1] Submitted by: beldin@beldin.org (based on) [1] Modified: branches/2021Q1/graphics/vulkan-validation-layers/Makefile branches/2021Q1/graphics/vulkan-validation-layers/pkg-descr Directory Properties: branches/2021Q1/ (props changed) Modified: branches/2021Q1/graphics/vulkan-validation-layers/Makefile ============================================================================== --- branches/2021Q1/graphics/vulkan-validation-layers/Makefile Wed Jan 6 18:49:03 2021 (r560554) +++ branches/2021Q1/graphics/vulkan-validation-layers/Makefile Wed Jan 6 18:49:25 2021 (r560555) @@ -3,6 +3,7 @@ PORTNAME= vulkan-validation-layers DISTVERSIONPREFIX= v DISTVERSION= 1.2.165 +PORTREVISION= 1 CATEGORIES= graphics MAINTAINER= jbeich@FreeBSD.org @@ -10,23 +11,35 @@ COMMENT= Validation layers for the Vulkan graphics API LICENSE= APACHE20 -# NOTE: keep spirv-tools and glslang up to date when updating Vulkan -BUILD_DEPENDS= ${LOCALBASE}/include/vulkan/vulkan.h:graphics/vulkan-headers \ - ${LOCALBASE}/include/spirv-tools/libspirv.h:graphics/spirv-tools \ - ${LOCALBASE}/include/glslang/SPIRV/spirv.hpp:graphics/glslang +BUILD_DEPENDS= glslang>0:graphics/glslang \ + spirv-tools>0:graphics/spirv-tools \ + vulkan-headers>0:graphics/vulkan-headers USES= cmake compiler:c++11-lib pkgconfig python:3.4+,build -USE_LDCONFIG= yes - USE_GITHUB= yes +USE_LDCONFIG= yes GH_ACCOUNT= KhronosGroup GH_PROJECT= Vulkan-ValidationLayers GH_TUPLE= KhronosGroup:SPIRV-Headers:1.5.4.raytracing.fixed:headers/external/spirv-headers - -# WSI_* in here are leftover from when all of Vulkan SDK was in one repo -CMAKE_OFF= BUILD_TESTS ${WAYLAND XCB XLIB:L:C/.*/BUILD_WSI_&_SUPPORT/} +CMAKE_OFF= BUILD_TESTS CMAKE_ON= BUILD_LAYER_SUPPORT_FILES CMAKE_ARGS= -DGLSLANG_INSTALL_DIR:PATH="${LOCALBASE}" \ -DSPIRV_HEADERS_INSTALL_DIR:PATH="${WRKSRC_headers}" + +OPTIONS_DEFINE= WAYLAND XCB XLIB +OPTIONS_DEFAULT=WAYLAND XCB XLIB + +WAYLAND_LIB_DEPENDS= libwayland-egl.so:graphics/wayland +WAYLAND_CMAKE_BOOL= BUILD_WSI_WAYLAND_SUPPORT + +XCB_DESC= ${X11_DESC} via libxcb +XCB_USES= xorg +XCB_USE= XORG=xcb +XCB_CMAKE_BOOL= BUILD_WSI_XCB_SUPPORT + +XLIB_DESC= ${X11_DESC} via libX11 +XLIB_USES= xorg +XLIB_USE= XORG=x11,xrandr +XLIB_CMAKE_BOOL= BUILD_WSI_XLIB_SUPPORT .include <bsd.port.mk> Modified: branches/2021Q1/graphics/vulkan-validation-layers/pkg-descr ============================================================================== --- branches/2021Q1/graphics/vulkan-validation-layers/pkg-descr Wed Jan 6 18:49:03 2021 (r560554) +++ branches/2021Q1/graphics/vulkan-validation-layers/pkg-descr Wed Jan 6 18:49:25 2021 (r560555) @@ -1,6 +1,9 @@ -Vulkan is a low-level cross-platform 3D graphics and compute API. - -This port provides the official validation layers for Vulkan applications, -which are useful for development and debugging. +Vulkan is an Explicit API, enabling direct control over how GPUs +actually work. By design, minimal error checking is done inside a +Vulkan driver. Applications have full control and responsibility for +correct operation. Any errors in how Vulkan is used can result in a +crash. This project provides Vulkan validation layers that can be +enabled to assist development by enabling developers to verify their +applications correct use of the Vulkan API. WWW: https://github.com/KhronosGroup/Vulkan-ValidationLayers
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202101061849.106InPVv056131>