diff options
author | Andreas Röver <roever@users.sf.net> | 2021-02-04 19:18:47 (GMT) |
---|---|---|
committer | Tony Theodore <tonyt@logyst.com> | 2021-02-06 02:25:27 (GMT) |
commit | e5e54414cc7988c00d2cf1d9f85fa1881156257a (patch) | |
tree | 3c8522e16598afae0466149534b206cf645fe061 | |
parent | 2136b78f7ae94e94bb32fc6e6ff47206dabba7f4 (diff) | |
download | mxe-e5e54414cc7988c00d2cf1d9f85fa1881156257a.zip mxe-e5e54414cc7988c00d2cf1d9f85fa1881156257a.tar.gz mxe-e5e54414cc7988c00d2cf1d9f85fa1881156257a.tar.bz2 |
add vulkan packages
just the headers and loader
the validation layers are not required for release builds that's why I
omitted them
-rw-r--r-- | src/vulkan-headers.mk | 16 | ||||
-rw-r--r-- | src/vulkan-loader.mk | 18 |
2 files changed, 34 insertions, 0 deletions
diff --git a/src/vulkan-headers.mk b/src/vulkan-headers.mk new file mode 100644 index 0000000..28d67bc --- /dev/null +++ b/src/vulkan-headers.mk @@ -0,0 +1,16 @@ +# This file is part of MXE. See LICENSE.md for licensing information. + +PKG := vulkan-headers +$(PKG)_WEBSITE := https://github.com/KhronosGroup/$(PKG) +$(PKG)_DESCR := vulkan headers +$(PKG)_IGNORE := +$(PKG)_VERSION := 1.2.169 +$(PKG)_CHECKSUM := e1acfa36056a2fa73ddc01bdac416d0188c880161e2073bbd5a86c8fbbc9bdbf +$(PKG)_GH_CONF := KhronosGroup/Vulkan-Headers/releases,v +$(PKG)_DEPS := cc + +define $(PKG)_BUILD + mkdir '$(1)/build' + cd '$1/build' && '$(TARGET)-cmake' .. + $(MAKE) -C '$(1)/build' -j $(JOBS) install +endef diff --git a/src/vulkan-loader.mk b/src/vulkan-loader.mk new file mode 100644 index 0000000..4075f6d --- /dev/null +++ b/src/vulkan-loader.mk @@ -0,0 +1,18 @@ +# This file is part of MXE. See LICENSE.md for licensing information. + +PKG := vulkan-loader +$(PKG)_WEBSITE := https://github.com/KhronosGroup/$(PKG) +$(PKG)_DESCR := vulkan loader +$(PKG)_IGNORE := +$(PKG)_VERSION := 1.2.166 +$(PKG)_CHECKSUM := 1094b303ead1843fd31a5c11b0f5c2f91949b0608f36619bf92c738f6d561b35 +$(PKG)_GH_CONF := KhronosGroup/Vulkan-Loader/releases,v +$(PKG)_DEPS := cc vulkan-headers + +define $(PKG)_BUILD + mkdir '$(1)/build' + cd '$1/build' && '$(TARGET)-cmake' .. \ + -DUSE_MASM=OFF \ + -DBUILD_TESTS=OFF + $(MAKE) -C '$(1)/build' -j $(JOBS) install +endef |