pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/graphics Add vulkan-headers version 1.1.126.0
details: https://anonhg.NetBSD.org/pkgsrc/rev/f16421793730
branches: trunk
changeset: 445503:f16421793730
user: maya <maya%pkgsrc.org@localhost>
date: Sun Jan 24 18:57:46 2021 +0000
description:
Add vulkan-headers version 1.1.126.0
Headers for the Vulkan graphics API.
diffstat:
graphics/Makefile | 3 +-
graphics/vulkan-headers/DESCR | 1 +
graphics/vulkan-headers/Makefile | 22 +++++++
graphics/vulkan-headers/PLIST | 29 ++++++++++
graphics/vulkan-headers/buildlink3.mk | 16 +++++
graphics/vulkan-headers/distinfo | 8 ++
graphics/vulkan-headers/patches/patch-CMakeLists.txt | 17 +++++
graphics/vulkan-headers/patches/patch-include_vulkan_vulkan.hpp | 15 +++++
8 files changed, 110 insertions(+), 1 deletions(-)
diffs (153 lines):
diff -r e9a4b5cd1cea -r f16421793730 graphics/Makefile
--- a/graphics/Makefile Sun Jan 24 18:23:05 2021 +0000
+++ b/graphics/Makefile Sun Jan 24 18:57:46 2021 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.916 2021/01/01 17:19:09 pin Exp $
+# $NetBSD: Makefile,v 1.917 2021/01/24 18:57:46 maya Exp $
#
COMMENT= Graphics tools and libraries
@@ -798,6 +798,7 @@
SUBDIR+= vtk
SUBDIR+= vtk-data
SUBDIR+= vtk-docs
+SUBDIR+= vulkan-headers
SUBDIR+= wcslib
SUBDIR+= wld
SUBDIR+= wm-icons
diff -r e9a4b5cd1cea -r f16421793730 graphics/vulkan-headers/DESCR
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/graphics/vulkan-headers/DESCR Sun Jan 24 18:57:46 2021 +0000
@@ -0,0 +1,1 @@
+Headers for the Vulkan graphics API.
diff -r e9a4b5cd1cea -r f16421793730 graphics/vulkan-headers/Makefile
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/graphics/vulkan-headers/Makefile Sun Jan 24 18:57:46 2021 +0000
@@ -0,0 +1,22 @@
+# $NetBSD: Makefile,v 1.1 2021/01/24 18:57:46 maya Exp $
+
+GITHUB_PROJECT= Vulkan-Headers
+DISTNAME= sdk-1.1.126.0
+PKGNAME= ${GITHUB_PROJECT:tl}-${DISTNAME:S/sdk-//}
+CATEGORIES= graphics
+MASTER_SITES= ${MASTER_SITE_GITHUB:=KhronosGroup/}
+DIST_SUBDIR= ${GITHUB_PROJECT}
+GITHUB_TAG= ${DISTNAME}
+EXTRACT_USING= bsdtar
+
+MAINTAINER= nros%NetBSD.org@localhost
+HOMEPAGE= https://github.com/KhronosGroup/Vulkan-Headers/
+COMMENT= Headers for Vulkan Graphics API
+LICENSE= apache-2.0
+
+USE_CMAKE= yes
+
+REPLACE_PYTHON= registry/*.py
+
+.include "../../lang/python/application.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r e9a4b5cd1cea -r f16421793730 graphics/vulkan-headers/PLIST
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/graphics/vulkan-headers/PLIST Sun Jan 24 18:57:46 2021 +0000
@@ -0,0 +1,29 @@
+@comment $NetBSD: PLIST,v 1.1 2021/01/24 18:57:46 maya Exp $
+include/vulkan/vk_icd.h
+include/vulkan/vk_layer.h
+include/vulkan/vk_platform.h
+include/vulkan/vk_sdk_platform.h
+include/vulkan/vulkan.h
+include/vulkan/vulkan.hpp
+include/vulkan/vulkan_android.h
+include/vulkan/vulkan_core.h
+include/vulkan/vulkan_fuchsia.h
+include/vulkan/vulkan_ggp.h
+include/vulkan/vulkan_ios.h
+include/vulkan/vulkan_macos.h
+include/vulkan/vulkan_metal.h
+include/vulkan/vulkan_vi.h
+include/vulkan/vulkan_wayland.h
+include/vulkan/vulkan_win32.h
+include/vulkan/vulkan_xcb.h
+include/vulkan/vulkan_xlib.h
+include/vulkan/vulkan_xlib_xrandr.h
+share/vulkan/registry/cgenerator.py
+share/vulkan/registry/conventions.py
+share/vulkan/registry/generator.py
+share/vulkan/registry/genvk.py
+share/vulkan/registry/reg.py
+share/vulkan/registry/spec_tools/util.py
+share/vulkan/registry/validusage.json
+share/vulkan/registry/vk.xml
+share/vulkan/registry/vkconventions.py
diff -r e9a4b5cd1cea -r f16421793730 graphics/vulkan-headers/buildlink3.mk
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/graphics/vulkan-headers/buildlink3.mk Sun Jan 24 18:57:46 2021 +0000
@@ -0,0 +1,16 @@
+# $NetBSD: buildlink3.mk,v 1.1 2021/01/24 18:57:46 maya Exp $
+
+BUILDLINK_TREE+= vulkan-headers
+
+.if !defined(VULKAN_HEADERS_BUILDLINK3_MK)
+VULKAN_HEADERS_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.vulkan-headers+= vulkan-headers>=1.1.126.0
+BUILDLINK_PKGSRCDIR.vulkan-headers?= ../../graphics/vulkan-headers
+.endif # VULKAN_HEADERS_BUILDLINK3_MK
+
+.include "../../x11/liboldXrandr/buildlink3.mk"
+.include "../../x11/libX11/buildlink3.mk"
+.include "../../x11/libxcb/buildlink3.mk"
+
+BUILDLINK_TREE+= -vulkan-headers
diff -r e9a4b5cd1cea -r f16421793730 graphics/vulkan-headers/distinfo
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/graphics/vulkan-headers/distinfo Sun Jan 24 18:57:46 2021 +0000
@@ -0,0 +1,8 @@
+$NetBSD: distinfo,v 1.1 2021/01/24 18:57:46 maya Exp $
+
+SHA1 (Vulkan-Headers/sdk-1.1.126.0.tar.gz) = a68e99a5eb1f6c4de97877718dba0fbeeccb07ff
+RMD160 (Vulkan-Headers/sdk-1.1.126.0.tar.gz) = 9656c621304750488da54a1dd8ebc4953d35023c
+SHA512 (Vulkan-Headers/sdk-1.1.126.0.tar.gz) = b050e0d17ad7b143c59a401a4a75ef97afdbc94f1cbfd4571ce1b83380927879cb05b7b62b81c7da8b501ebe0fbe70dc3acacaab3656da465b4bc06559266d3f
+Size (Vulkan-Headers/sdk-1.1.126.0.tar.gz) = 665900 bytes
+SHA1 (patch-CMakeLists.txt) = f7364dcc20799db2e9a5b3f7b14ecea2c1bceea5
+SHA1 (patch-include_vulkan_vulkan.hpp) = 3ba0c40361b4358a63036174373b787ec86cc9e7
diff -r e9a4b5cd1cea -r f16421793730 graphics/vulkan-headers/patches/patch-CMakeLists.txt
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/graphics/vulkan-headers/patches/patch-CMakeLists.txt Sun Jan 24 18:57:46 2021 +0000
@@ -0,0 +1,17 @@
+$NetBSD: patch-CMakeLists.txt,v 1.1 2021/01/24 18:57:46 maya Exp $
+
+* don't install pkgsrc generated files
+
+--- CMakeLists.txt.orig 2019-12-02 18:11:46.793667657 +0000
++++ CMakeLists.txt
+@@ -45,8 +45,8 @@ add_library(Vulkan-Registry INTERFACE)
+ target_include_directories(Vulkan-Registry INTERFACE "${CMAKE_CURRENT_SOURCE_DIR}/registry")
+ add_library(Vulkan::Registry ALIAS Vulkan-Registry)
+
+-install(DIRECTORY "${CMAKE_CURRENT_SOURCE_DIR}/include/vulkan" DESTINATION ${CMAKE_INSTALL_INCLUDEDIR})
+-install(DIRECTORY "${CMAKE_CURRENT_SOURCE_DIR}/registry" DESTINATION ${CMAKE_INSTALL_DATADIR}/vulkan)
++install(DIRECTORY "${CMAKE_CURRENT_SOURCE_DIR}/include/vulkan" DESTINATION ${CMAKE_INSTALL_INCLUDEDIR} PATTERN "*.orig" EXCLUDE)
++install(DIRECTORY "${CMAKE_CURRENT_SOURCE_DIR}/registry" DESTINATION ${CMAKE_INSTALL_DATADIR}/vulkan PATTERN "*.orig" EXCLUDE)
+
+ # uninstall target
+ if(NOT TARGET uninstall)
diff -r e9a4b5cd1cea -r f16421793730 graphics/vulkan-headers/patches/patch-include_vulkan_vulkan.hpp
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/graphics/vulkan-headers/patches/patch-include_vulkan_vulkan.hpp Sun Jan 24 18:57:46 2021 +0000
@@ -0,0 +1,15 @@
+$NetBSD: patch-include_vulkan_vulkan.hpp,v 1.1 2021/01/24 18:57:46 maya Exp $
+
+* add NetBSD support
+*
+--- include/vulkan/vulkan.hpp.orig 2019-12-02 17:52:14.520273368 +0000
++++ include/vulkan/vulkan.hpp
+@@ -56,7 +56,7 @@
+ # define VULKAN_HPP_ASSERT assert
+ #endif
+
+-#if defined(__linux__) || defined(__APPLE__)
++#if defined(__linux__) || defined(__APPLE__) || defined(__NetBSD__)
+ # include <dlfcn.h>
+ #endif
+
Home |
Main Index |
Thread Index |
Old Index