mirror of
https://github.com/terrapkg/packages.git
synced 2026-06-22 11:30:38 +00:00
Compare commits
6 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 49133262bc | |||
| 69cd817b5a | |||
| 558f477752 | |||
| 17820eb121 | |||
| 3f5cc36b14 | |||
| 5faed6b731 |
@@ -24,14 +24,13 @@
|
|||||||
|
|
||||||
Name: terra-wine-dxvk
|
Name: terra-wine-dxvk
|
||||||
Version: 2.6.2
|
Version: 2.6.2
|
||||||
Release: 1%?dist
|
Release: 2%?dist
|
||||||
Summary: Vulkan-based implementation of D3D8, 9, 10 and 11 for Linux / Wine
|
Summary: Vulkan-based implementation of D3D8, 9, 10 and 11 for Linux / Wine
|
||||||
|
|
||||||
License: zlib AND MIT
|
License: zlib AND MIT
|
||||||
URL: https://github.com/doitsujin/dxvk
|
URL: https://github.com/doitsujin/dxvk
|
||||||
Source0: %{url}/archive/v%{version}/dxvk-%{version}.tar.gz
|
|
||||||
Source1: https://gitlab.freedesktop.org/frog/libdisplay-info/-/archive/%{libdisplay_commit}/libdisplay-info-%{libdisplay_shortcommit}.tar.gz
|
|
||||||
|
|
||||||
|
BuildRequires: anda-srpm-macros
|
||||||
BuildRequires: gcc
|
BuildRequires: gcc
|
||||||
BuildRequires: gcc-c++
|
BuildRequires: gcc-c++
|
||||||
BuildRequires: glslang
|
BuildRequires: glslang
|
||||||
@@ -65,7 +64,7 @@ BuildRequires: mingw32-spirv-headers
|
|||||||
Requires(pre): vulkan-tools
|
Requires(pre): vulkan-tools
|
||||||
|
|
||||||
# Disable ISA dep on WINE until I figure out what we are doing with 32-bit WINE, currently these are non-WOW64 builds
|
# Disable ISA dep on WINE until I figure out what we are doing with 32-bit WINE, currently these are non-WOW64 builds
|
||||||
Requires: terra-wine-staging
|
Requires: (terra-wine-staging or terra-wine-stable or terra-wine-dev)
|
||||||
Requires: terra-wine-dxvk-dxgi%{?_isa} = %{version}-%{release}
|
Requires: terra-wine-dxvk-dxgi%{?_isa} = %{version}-%{release}
|
||||||
Requires: vulkan-loader%{?_isa}
|
Requires: vulkan-loader%{?_isa}
|
||||||
|
|
||||||
@@ -143,8 +142,7 @@ Requires: terra-wine-dxvk-d3d8(x86-32) = %{version}-%{release}
|
|||||||
%{summary}
|
%{summary}
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%autosetup -n dxvk-%{version} -p1 -a1
|
%git_clone %{url}.git v%{version}
|
||||||
rm -rf subprojects/libdisplay-info && mv libdisplay-info-%{libdisplay_commit} subprojects/libdisplay-info
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%mingw_meson --buildtype=plain --wrap-mode=nodownload --auto-features=enabled --cross-file ../build-win%{target_x86_type}.txt --buildtype release
|
%mingw_meson --buildtype=plain --wrap-mode=nodownload --auto-features=enabled --cross-file ../build-win%{target_x86_type}.txt --buildtype release
|
||||||
|
|||||||
Reference in New Issue
Block a user