Skip to content

Instantly share code, notes, and snippets.

@niobium93
Created August 29, 2022 05:50
Show Gist options
  • Save niobium93/f475e52c8aa4183968212a0638dc3d6f to your computer and use it in GitHub Desktop.
Save niobium93/f475e52c8aa4183968212a0638dc3d6f to your computer and use it in GitHub Desktop.
dxvk-async-git patch
From 388c73713273eca6d4343ddc9af43fb5292372ab Mon Sep 17 00:00:00 2001
From: Andrius Lukosevicius <niobium93@gmail.com>
Date: Mon, 29 Aug 2022 08:41:46 +0300
Subject: [PATCH] added submodules
---
PKGBUILD | 15 ++++++++++++++-
1 file changed, 14 insertions(+), 1 deletion(-)
diff --git a/PKGBUILD b/PKGBUILD
index 62b5190..3be9ce9 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,7 +2,7 @@
pkgbase=dxvk-async-git
pkgname=('dxvk-async-git')
-pkgver=1.9.4.r106.gb42c0725
+pkgver=1.10.1.r757.g7ebd3599
pkgrel=1
pkgdesc="A Vulkan-based compatibility layer for Direct3D 9/10/11 which allows running 3D applications on Linux using Wine. Windows DLL version)"
arch=('x86_64')
@@ -14,9 +14,15 @@ makedepends=('ninja' 'meson>=0.43' 'glslang' 'mingw-w64-gcc' 'git' 'wine')
conflicts=('d9vk-mingw-git' 'd9vk-bin' 'd9vk-winelib-git' "dxvk-bin" "dxvk-git" "dxvk-wine32-git" "dxvk-wine64-git" "dxvk-win32-git" "dxvk-win64-git" "dxvk-winelib-git" "dxvk-mingw-git")
options=(!strip !buildflags staticlibs)
source=("git+https://github.com/doitsujin/dxvk.git"
+ "git+https://github.com/Joshua-Ashton/mingw-directx-headers.git"
+ "git+https://github.com/KhronosGroup/Vulkan-Headers.git"
+ "git+https://github.com/KhronosGroup/SPIRV-Headers.git"
"git+https://github.com/Sporif/dxvk-async.git"
"dxvk.conf")
sha256sums=('SKIP'
+ 'SKIP'
+ 'SKIP'
+ 'SKIP'
'SKIP'
'SKIP')
@@ -27,6 +33,13 @@ pkgver() {
prepare() {
cd "${srcdir}/dxvk/"
+
+ git submodule init include/{native/directx,vulkan,spirv}
+ git config submodule.include/native/directx.url "$srcdir/mingw-directx-headers"
+ git config submodule.include/vulkan.url "$srcdir/Vulkan-Headers"
+ git config submodule.include/spirv.url "$srcdir/SPIRV-Headers"
+ git submodule update include/{native/directx,vulkan,spirv}
+
patch --forward --strip=1 --input="${srcdir}/dxvk-async/dxvk-async.patch"
}
--
2.37.2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment