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]
This commit is contained in:
parent
9769621ad4
commit
b5c9eab2f8
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/branches/2021Q1/; revision=560555
|
@ -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>
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue
Block a user