Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 6 Jan 2021 18:49:03 +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: r560554 - branches/2021Q1/graphics/vulkan-loader
Message-ID:  <202101061849.106In3ho055987@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: jbeich
Date: Wed Jan  6 18:49:03 2021
New Revision: 560554
URL: https://svnweb.freebsd.org/changeset/ports/560554

Log:
  MFH: r560550
  
  graphics/vulkan-loader: minor cleanup
  
  - Update description
  - Convert to USES=xorg
  - Prefer standard _DESC
  - Simplify _DEPENDS
  - Drop excessive newlines

Modified:
  branches/2021Q1/graphics/vulkan-loader/Makefile
  branches/2021Q1/graphics/vulkan-loader/pkg-descr
Directory Properties:
  branches/2021Q1/   (props changed)

Modified: branches/2021Q1/graphics/vulkan-loader/Makefile
==============================================================================
--- branches/2021Q1/graphics/vulkan-loader/Makefile	Wed Jan  6 18:48:24 2021	(r560553)
+++ branches/2021Q1/graphics/vulkan-loader/Makefile	Wed Jan  6 18:49:03 2021	(r560554)
@@ -10,33 +10,31 @@ COMMENT=	Driver loader for the Vulkan graphics API
 
 LICENSE=	APACHE20
 
-BUILD_DEPENDS=	${LOCALBASE}/include/vulkan/vulkan.h:graphics/vulkan-headers
+BUILD_DEPENDS=	vulkan-headers>0:graphics/vulkan-headers
 
 USES=		cmake compiler:${ARCH:Mi386:C/.+/gcc-/}c++11-lib pkgconfig python:3.4+,build
-USE_LDCONFIG=	yes
-
 USE_GITHUB=	yes
+USE_LDCONFIG=	yes
 GH_ACCOUNT=	KhronosGroup
 GH_PROJECT=	Vulkan-Loader
-
 CMAKE_ON=	CMAKE_SKIP_RPATH
 CMAKE_OFF=	BUILD_TESTS
 
-OPTIONS_DEFINE=	XLIB XCB WAYLAND
-OPTIONS_DEFAULT=XLIB XCB WAYLAND
+OPTIONS_DEFINE=	WAYLAND XCB XLIB
+OPTIONS_DEFAULT=WAYLAND XCB XLIB
 
-XLIB_DESC=	Build Xlib WSI (Window System Integration) support
-XCB_DESC=	Build XCB WSI (Window System Integration) support
-WAYLAND_DESC=	Build Wayland WSI (Window System Integration) support
+WAYLAND_LIB_DEPENDS=	libwayland-client.so:graphics/wayland
+WAYLAND_CMAKE_BOOL=	BUILD_WSI_WAYLAND_SUPPORT
 
-XLIB_CMAKE_BOOL=	BUILD_WSI_XLIB_SUPPORT
-XLIB_LIB_DEPENDS=	libX11.so:x11/libX11 \
-			libXrandr.so:x11/libXrandr
+XCB_DESC=		${X11_DESC} via libxcb
+XCB_USES=		xorg
+XCB_USE=		XORG=xcb
 XCB_CMAKE_BOOL=		BUILD_WSI_XCB_SUPPORT
-XCB_LIB_DEPENDS=	libX11-xcb.so:x11/libX11 \
-			libxcb.so:x11/libxcb
-WAYLAND_CMAKE_BOOL=	BUILD_WSI_WAYLAND_SUPPORT
-WAYLAND_LIB_DEPENDS=	libwayland-egl.so:graphics/wayland
+
+XLIB_DESC=		${X11_DESC} via libX11
+XLIB_USES=		xorg
+XLIB_USE=		XORG=x11,xrandr
+XLIB_CMAKE_BOOL=	BUILD_WSI_XLIB_SUPPORT
 
 post-patch:
 # _XOPEN_SOURCE enforces X/Open-compliance but alloca isn't there

Modified: branches/2021Q1/graphics/vulkan-loader/pkg-descr
==============================================================================
--- branches/2021Q1/graphics/vulkan-loader/pkg-descr	Wed Jan  6 18:48:24 2021	(r560553)
+++ branches/2021Q1/graphics/vulkan-loader/pkg-descr	Wed Jan  6 18:49:03 2021	(r560554)
@@ -1,6 +1,12 @@
-Vulkan is a low-level cross-platform 3D graphics and compute API.
-
-This port provides the Khronos official ICD (Installable Client Driver) loader,
-which is necessary for loading Vulkan drivers in a running application.
+Vulkan is an explicit API, enabling direct control over how GPUs
+actually work. As such, Vulkan supports systems that have multiple
+GPUs, each running with a different driver, or ICD (Installable Client
+Driver). Vulkan also supports multiple global contexts (instances, in
+Vulkan terminology). The ICD loader is a library that is placed
+between a Vulkan application and any number of Vulkan drivers, in
+order to support multiple drivers and the instance-level functionality
+that works across these drivers. Additionally, the loader manages
+inserting Vulkan layer libraries, such as validation layers, between
+an application and the drivers.
 
 WWW: https://github.com/KhronosGroup/Vulkan-Loader



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