svn commit: r547227 - in head/graphics: . vulkan-caps-viewer
Jan Beich
jbeich at FreeBSD.org
Tue Sep 1 00:59:33 UTC 2020
Author: jbeich
Date: Tue Sep 1 00:59:31 2020
New Revision: 547227
URL: https://svnweb.freebsd.org/changeset/ports/547227
Log:
graphics/vulkan-caps-viewer: add new port
Client application to display hardware implementation details for GPUs
supporting the new Vulkan API by Khronos.
The hardware reports can be submitted to a public online database that
allows comparing different devices, browsing available features,
extensions, formats, etc.
https://vulkan.gpuinfo.org/
Added:
head/graphics/vulkan-caps-viewer/
head/graphics/vulkan-caps-viewer/Makefile (contents, props changed)
head/graphics/vulkan-caps-viewer/distinfo (contents, props changed)
head/graphics/vulkan-caps-viewer/pkg-descr (contents, props changed)
Modified:
head/graphics/Makefile (contents, props changed)
Modified: head/graphics/Makefile
==============================================================================
--- head/graphics/Makefile Tue Sep 1 00:53:27 2020 (r547226)
+++ head/graphics/Makefile Tue Sep 1 00:59:31 2020 (r547227)
@@ -1054,6 +1054,7 @@
SUBDIR += volpack
SUBDIR += vp
SUBDIR += vpaint
+ SUBDIR += vulkan-caps-viewer
SUBDIR += vulkan-loader
SUBDIR += vv
SUBDIR += waffle
Added: head/graphics/vulkan-caps-viewer/Makefile
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/graphics/vulkan-caps-viewer/Makefile Tue Sep 1 00:59:31 2020 (r547227)
@@ -0,0 +1,53 @@
+# $FreeBSD$
+
+PORTNAME= vulkan-caps-viewer
+DISTVERSION= 2.2
+CATEGORIES= graphics
+
+MAINTAINER= jbeich at FreeBSD.org
+COMMENT= Vulkan Hardware Capability Viewer
+
+LICENSE= LGPL3 # based on license headers
+
+LIB_DEPENDS= libvulkan.so:graphics/vulkan-loader
+
+USES= compiler:c++14-lang pkgconfig qmake qt:5
+USE_GITHUB= yes
+USE_QT= qmake_build buildtools_build core gui network widgets
+GH_ACCOUNT= SaschaWillems
+GH_PROJECT= VulkanCapsViewer
+GH_TUPLE= KhronosGroup:Vulkan-Headers:v1.2.148-1-ga0f1f51:vkheaders/Vulkan-Headers
+LDFLAGS+= -Wl,--as-needed # avoid overlinking (GL, wayland)
+PLIST_FILES= bin/vulkanCapsViewer \
+ share/applications/vulkanCapsViewer.desktop \
+ share/icons/hicolor/256x256/apps/vulkanCapsViewer.png
+
+OPTIONS_DEFINE= WAYLAND X11
+OPTIONS_DEFAULT=WAYLAND X11
+
+WAYLAND_LIB_DEPENDS= libwayland-client.so:graphics/wayland
+WAYLAND_USE= QT=wayland_build
+
+X11_USE= QT=x11extras
+
+post-patch:
+# Hint qmake how to install generated file
+ @${CP} ${WRKSRC}/gfx/android_icon_256.png \
+ ${WRKSRC}/vulkanCapsViewer.png
+# Avoid platform whitelists for generic non-Windows code
+ @${REINPLACE_CMD} -Ee 's/linux/unix/' \
+ -e '/bin|share/s,/usr,$$$$PREFIX,' \
+ ${WRKSRC}/vulkanCapsViewer.pro
+ @${REINPLACE_CMD} -e 's/__linux/__unix/' \
+ ${WRKSRC}/vulkancapsviewer.cpp \
+ ${WRKSRC}/Vulkan-Headers/include/vulkan/vulkan.hpp
+
+post-patch-WAYLAND-off:
+ @${REINPLACE_CMD} -i .nowayland '/qtHave/s/wayland/DISABLED&/' \
+ ${WRKSRC}/vulkanCapsViewer.pro
+
+post-patch-X11-off:
+ @${REINPLACE_CMD} -i .nox11 '/qtHave/s/x11/DISABLED&/' \
+ ${WRKSRC}/vulkanCapsViewer.pro
+
+.include <bsd.port.mk>
Added: head/graphics/vulkan-caps-viewer/distinfo
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/graphics/vulkan-caps-viewer/distinfo Tue Sep 1 00:59:31 2020 (r547227)
@@ -0,0 +1,5 @@
+TIMESTAMP = 1596303729
+SHA256 (SaschaWillems-VulkanCapsViewer-2.2_GH0.tar.gz) = dd3b2ea1701585989af25735ed7341e9ffa7fbce97c3c1108fee97dc47e75e47
+SIZE (SaschaWillems-VulkanCapsViewer-2.2_GH0.tar.gz) = 827790
+SHA256 (KhronosGroup-Vulkan-Headers-v1.2.148-1-ga0f1f51_GH0.tar.gz) = 385971b93ce17c525de3cb3848069b569ad8e88a63252f36eb56378716e6e9af
+SIZE (KhronosGroup-Vulkan-Headers-v1.2.148-1-ga0f1f51_GH0.tar.gz) = 784080
Added: head/graphics/vulkan-caps-viewer/pkg-descr
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/graphics/vulkan-caps-viewer/pkg-descr Tue Sep 1 00:59:31 2020 (r547227)
@@ -0,0 +1,8 @@
+Client application to display hardware implementation details for GPUs
+supporting the new Vulkan API by Khronos.
+
+The hardware reports can be submitted to a public online database that
+allows comparing different devices, browsing available features,
+extensions, formats, etc.
+
+WWW: https://vulkan.gpuinfo.org/
More information about the svn-ports-head
mailing list