From 9d62192cf54b568c3e16aea984798ea2b628b7f9 Mon Sep 17 00:00:00 2001 From: Daniel Golle Date: Mon, 25 Nov 2024 22:34:24 +0100 Subject: [PATCH] vulkan-headers: add package Signed-off-by: Daniel Golle --- libs/vulkan-headers/Makefile | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 libs/vulkan-headers/Makefile diff --git a/libs/vulkan-headers/Makefile b/libs/vulkan-headers/Makefile new file mode 100644 index 0000000..bcdaa4f --- /dev/null +++ b/libs/vulkan-headers/Makefile @@ -0,0 +1,33 @@ +include $(TOPDIR)/rules.mk + +PKG_NAME:=vulkan-headers +PKG_VERSION:=1.3.302 +PKG_SOURCE:=Vulkan-Headers-$(PKG_VERSION).tar.gz +PKG_SOURCE_URL:=https://codeload.github.com/KhronosGroup/Vulkan-Headers/tar.gz/v$(PKG_VERSION)? +PKG_HASH:=996c3f4220971e3b3cd6b8933e9e81f0bc82b6d2d6449b6f02c66946d65bf944 + +PKG_BUILD_DIR:=$(BUILD_DIR)/Vulkan-Headers-$(PKG_VERSION) + +CMAKE_BINARY_SUBDIR:=build +CMAKE_INSTALL:=1 + +include $(INCLUDE_DIR)/package.mk +include $(INCLUDE_DIR)/cmake.mk + +define Package/vulkan-headers + SECTION:=devel + CATEGORY:=Development + TITLE:=Vulkan Headers + URL:=https://github.com/KhronosGroup/Vulkan-Headers + BUILDONLY:=1 +endef + +define Package/vulkan-headers/description +Vulkan header files and API registry. +endef + +define Package/vulkan-headers/install +true +endef + +$(eval $(call BuildPackage,vulkan-headers)) -- 2.30.2