From 5b52251089a2c986c0c8238f3a647aac8487d826 Mon Sep 17 00:00:00 2001 From: Marko Semet Date: Sun, 1 Sep 2019 03:26:16 +0200 Subject: [PATCH] Add vkd3d support --- Platform/v1.0/README.md | 4 +- Platform/v1.0/platform/platform.yaml | 1 + Platform/v1.0/platform/vkd3d.yaml | 63 ++++++++++++++++++++++++++++ 3 files changed, 65 insertions(+), 3 deletions(-) create mode 100644 Platform/v1.0/platform/vkd3d.yaml diff --git a/Platform/v1.0/README.md b/Platform/v1.0/README.md index 22c2fcf..762a38d 100644 --- a/Platform/v1.0/README.md +++ b/Platform/v1.0/README.md @@ -5,6 +5,7 @@ - MinGW - libFAudio - libldap (OpenLDAP) +- vkd3d # Missing - libv4l2 (for what?) @@ -16,6 +17,3 @@ - libgsm (for what?) - OSSv4 (for what?) - libsane (Future when required) - -# TODO -- vkd3d diff --git a/Platform/v1.0/platform/platform.yaml b/Platform/v1.0/platform/platform.yaml index a5477b2..0fb181a 100644 --- a/Platform/v1.0/platform/platform.yaml +++ b/Platform/v1.0/platform/platform.yaml @@ -9,3 +9,4 @@ modules: - libudev.yaml - libfaudio.yaml - libldap.yaml + - vkd3d.yaml diff --git a/Platform/v1.0/platform/vkd3d.yaml b/Platform/v1.0/platform/vkd3d.yaml new file mode 100644 index 0000000..5694917 --- /dev/null +++ b/Platform/v1.0/platform/vkd3d.yaml @@ -0,0 +1,63 @@ +name: vkd3d-meta +modules: + - name: spirv-headers + sources: + - type: archive + url: https://github.com/KhronosGroup/SPIRV-Headers/archive/1.4.1.tar.gz + sha256: a244f0629f75eb450e090cd773d30e22367cb231e964c7492588eb9000201fd1 + builddir: true + buildsystem: cmake + build-options: + make-install-args: + - DESTDIR=/usr/tmp_spirv + - install + post-install: + - rm -rfv /usr/tmp_spirv/usr/share + - cp -rav /usr/tmp_spirv/usr / + - rm -rfv /usr/tmp_spirv + cleanup-platform: + - "/include" + - name: vkd3d-platform + sources: + - type: archive + url: https://dl.winehq.org/vkd3d/source/vkd3d-1.1.tar.xz + sha256: 495adc61cc80c65d54b2f5b52092ea05d3797cc2c17a610f0fc98457d2f56ab6 + builddir: true + build-options: + make-install-args: + - DESTDIR=/usr/tmp_vkd3d + - install + post-install: + - rm -rfv /usr/tmp_vkd3d/usr/share + - cp -rav /usr/tmp_vkd3d/usr / + - rm -rfv /usr/tmp_vkd3d + cleanup-platform: + - "*.la" + - "*.a" + - "/include" + - name: vkd3d-32bit + sources: + - type: archive + url: https://dl.winehq.org/vkd3d/source/vkd3d-1.1.tar.xz + sha256: 495adc61cc80c65d54b2f5b52092ea05d3797cc2c17a610f0fc98457d2f56ab6 + builddir: true + config-opts: + - --build=i686-unknown-linux + - --libdir=/usr/lib32 + - CFLAGS=-m32 + - CXXFLAGS=-m32 + - LDFLAGS=-m32 + build-options: + make-install-args: + - DESTDIR=/usr/tmp_vkd3d + - install + post-install: + - rm -rfv /usr/tmp_vkd3d/usr/share + - cp -rav /usr/tmp_vkd3d/usr / + - rm -rfv /usr/tmp_vkd3d + cleanup-platform: + - "*.la" + - "*.a" + - "/include" + only-arches: + - x86_64