Skip to content

Instantly share code, notes, and snippets.

@niobium93
Created September 1, 2022 03:05
Show Gist options
  • Save niobium93/c75101d924b9d0d7c159003b4e135c5a to your computer and use it in GitHub Desktop.
Save niobium93/c75101d924b9d0d7c159003b4e135c5a to your computer and use it in GitHub Desktop.
0001-Remove-enable_tests-variable.patch
From 4007d63eceae270fe66c31b02af50942e69ca0cc Mon Sep 17 00:00:00 2001
From: Andrius Lukosevicius <niobium93@gmail.com>
Date: Thu, 1 Sep 2022 06:04:08 +0300
Subject: [PATCH] Remove enable_tests variable.
---
PKGBUILD | 10 ++++------
1 file changed, 4 insertions(+), 6 deletions(-)
diff --git a/PKGBUILD b/PKGBUILD
index 3be9ce9..e3d9fad 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,7 +2,7 @@
pkgbase=dxvk-async-git
pkgname=('dxvk-async-git')
-pkgver=1.10.1.r757.g7ebd3599
+pkgver=1.10.1.r782.g36f523bb
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')
@@ -49,8 +49,7 @@ build() {
--prefix "/usr/share/dxvk/x64" \
--bindir "" --libdir "" \
--buildtype "release" \
- --strip \
- -D enable_tests=false
+ --strip
ninja -C "build/x64"
meson dxvk "build/x32" \
@@ -58,8 +57,7 @@ build() {
--prefix "/usr/share/dxvk/x32" \
--bindir "" --libdir "" \
--buildtype "release" \
- --strip \
- -D enable_tests=false
+ --strip
ninja -C "build/x32"
}
@@ -74,4 +72,4 @@ package_dxvk-async-git() {
chmod +x "$pkgdir/usr/share/dxvk/setup_dxvk.sh"
# Async variable
install -Dm644 "$srcdir/dxvk.conf" "$pkgdir/etc/environment.d/dxvk.conf"
-}
\ No newline at end of file
+}
--
2.37.3
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment