Compare commits
45 commits
vulkan_che
...
rawhide
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
1226f0fdb3 | ||
|
|
405a834ede | ||
|
|
a7d2dd0824 | ||
|
|
ab7d332972 | ||
|
|
a5e7a6fb0a | ||
|
|
ef1496d0d5 | ||
|
|
57f1e81a71 | ||
|
|
f46ae98cb6 | ||
|
|
7548ec23e7 | ||
|
|
088ee5d0b4 | ||
|
|
a275751875 | ||
|
|
9324eb0cc9 | ||
|
|
d5d23be0b0 | ||
|
|
c5fa5fe11b | ||
|
|
75435f9c2b | ||
|
|
e1f770e2f7 | ||
|
|
7eae638106 | ||
|
|
00ee270e51 | ||
|
|
3588a85235 | ||
|
|
f6d0b42fc5 | ||
|
|
65f5ad8400 | ||
|
|
202f501308 | ||
|
|
02e88e689e | ||
|
|
616966383f | ||
|
|
675985890a | ||
|
|
9b3ba8880a | ||
|
|
e23f181e7d | ||
|
|
ddd31ff8e9 | ||
|
|
ba4fb27969 | ||
|
|
df188533af | ||
|
|
1944016e23 | ||
|
|
2086f4cfa1 | ||
|
|
34ce5b1977 | ||
|
|
21ebb5cd3a | ||
|
|
c859250357 | ||
|
|
4851b3e4ad | ||
|
|
b27706605f | ||
|
|
400988c7d6 | ||
|
|
8b8e67a34a | ||
|
|
dfdb2669b2 | ||
|
|
fe8a1e4783 | ||
|
|
fed6372b79 | ||
|
|
66be1ce495 | ||
|
|
7f771a92da | ||
|
|
c18e43377d |
4 changed files with 283 additions and 132 deletions
21
.gitignore
vendored
21
.gitignore
vendored
|
|
@ -12,3 +12,24 @@
|
|||
/dxvk-1.6.tar.gz
|
||||
/dxvk-1.6.1.tar.gz
|
||||
/dxvk-1.7.tar.gz
|
||||
/dxvk-1.7.1.tar.gz
|
||||
/dxvk-1.7.2.tar.gz
|
||||
/dxvk-1.7.3.tar.gz
|
||||
/dxvk-1.8.tar.gz
|
||||
/dxvk-1.8.1.tar.gz
|
||||
/dxvk-1.9.tar.gz
|
||||
/dxvk-1.9.1.tar.gz
|
||||
/dxvk-1.9.2.tar.gz
|
||||
/dxvk-1.9.3.tar.gz
|
||||
/dxvk-1.9.4.tar.gz
|
||||
/dxvk-1.10.tar.gz
|
||||
/dxvk-1.10.1.tar.gz
|
||||
/dxvk-1.10.2.tar.gz
|
||||
/dxvk-1.10.3.tar.gz
|
||||
/dxvk-2.5.1.tar.gz
|
||||
/libdisplay-info-275e645.tar.gz
|
||||
/dxvk-2.5.2.tar.gz
|
||||
/dxvk-2.5.3.tar.gz
|
||||
/dxvk-2.6.1.tar.gz
|
||||
/dxvk-2.6.2.tar.gz
|
||||
/dxvk-2.7.1.tar.gz
|
||||
|
|
|
|||
131
changelog
Normal file
131
changelog
Normal file
|
|
@ -0,0 +1,131 @@
|
|||
* Sat Jul 22 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.10.3-3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
|
||||
|
||||
* Sat Jan 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.10.3-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
||||
|
||||
* Wed Aug 03 2022 Frantisek Zatloukal <fzatlouk@redhat.com> - 1.10.3-1
|
||||
- Release 1.10.3 (closes RHBZ#2114663)
|
||||
|
||||
* Sat Jul 23 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.10.2-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
||||
|
||||
* Thu Jul 14 2022 Frantisek Zatloukal <fzatlouk@redhat.com> - 1.10.2-1
|
||||
- Release 1.10.2
|
||||
|
||||
* Sat Apr 02 2022 Frantisek Zatloukal <fzatlouk@redhat.com> - 1.10.1-1
|
||||
- Release 1.10.1
|
||||
|
||||
* Sun Mar 06 2022 Frantisek Zatloukal <fzatlouk@redhat.com> - 1.10-1
|
||||
- Release 1.10
|
||||
- Clean up spec file, use mingw build macros
|
||||
|
||||
* Mon Jan 31 2022 Frantisek Zatloukal <fzatlouk@redhat.com> - 1.9.4-1
|
||||
- Release 1.9.4
|
||||
|
||||
* Sat Jan 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.9.3-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
||||
|
||||
* Tue Jan 11 2022 Frantisek Zatloukal <fzatlouk@redhat.com> - 1.9.3-1
|
||||
- Release 1.9.3
|
||||
|
||||
* Mon Sep 20 2021 Frantisek Zatloukal <fzatlouk@redhat.com> - 1.9.2-1
|
||||
- Release 1.9.2
|
||||
|
||||
* Thu Jul 29 2021 Frantisek Zatloukal <fzatlouk@redhat.com> - 1.9.1-1
|
||||
- Release 1.9.1
|
||||
|
||||
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.9-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
||||
|
||||
* Fri Jun 25 2021 Frantisek Zatloukal <fzatlouk@redhat.com> - 1.9-1
|
||||
- Release 1.9
|
||||
|
||||
* Fri May 14 2021 Frantisek Zatloukal <fzatlouk@redhat.com> - 1.8.1-2
|
||||
- Adapt to wine directory structure changes from wine-6.8
|
||||
|
||||
* Tue Mar 02 2021 Frantisek Zatloukal <fzatlouk@redhat.com> - 1.8.1-1
|
||||
- Release 1.8.1
|
||||
|
||||
* Mon Feb 22 2021 Frantisek Zatloukal <fzatlouk@redhat.com> - 1.8-1
|
||||
- Release 1.8
|
||||
|
||||
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.7.3-3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
||||
|
||||
* Fri Jan 22 2021 Frantisek Zatloukal <fzatlouk@redhat.com> - 1.7.3-2
|
||||
- We now have mingw-8.0 in Fedora 34, don't revert IDXGIFactory6 and IDXGIFactory7 in F34
|
||||
|
||||
* Sun Jan 17 2021 Frantisek Zatloukal <fzatlouk@redhat.com> - 1.7.3-1
|
||||
- Release 1.7.3
|
||||
- Try to blacklist lavapipe driver (hacky solution for now by catching ERROR_SURFACE_LOST_KHR from vulkaninfo)
|
||||
- Revert IDXGIFactory6 and IDXGIFactory7 changes until we get mingw >= 8.0
|
||||
|
||||
* Sun Nov 29 2020 Frantisek Zatloukal <fzatlouk@redhat.com> - 1.7.2-3
|
||||
- Backout dxvk-d3d9 from the default installation until the issues with vulkan childwindow support are solved
|
||||
|
||||
* Sat Nov 14 2020 Frantisek Zatloukal <fzatlouk@redhat.com> - 1.7.2-2
|
||||
- Blacklist Intel Haswell and Ivy Bridge from default dxvk installation
|
||||
|
||||
* Thu Oct 08 2020 Frantisek Zatloukal <fzatlouk@redhat.com> - 1.7.2-1
|
||||
- Release 1.7.2
|
||||
|
||||
* Fri Aug 14 2020 Frantisek Zatloukal <fzatlouk@redhat.com> - 1.7.1-1
|
||||
- Release 1.7.1
|
||||
|
||||
* Sun Aug 09 2020 Frantisek Zatloukal <fzatlouk@redhat.com> - 1.7-3
|
||||
- Install dxvk as primary alternative only on systems with Vulkan support
|
||||
|
||||
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.7-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
||||
|
||||
* Sun May 17 2020 Frantisek Zatloukal <fzatlouk@redhat.com> - 1.7-1
|
||||
- Release 1.7
|
||||
- Remove winelib build and fix mingw build dll names (Matias Zuniga)
|
||||
|
||||
* Mon Apr 20 2020 Frantisek Zatloukal <fzatlouk@redhat.com> - 1.6.1-1
|
||||
- Release 1.6.1
|
||||
|
||||
* Tue Mar 24 2020 Frantisek Zatloukal <fzatlouk@redhat.com> - 1.6-1
|
||||
- Release 1.6
|
||||
|
||||
* Sat Mar 07 2020 Frantisek Zatloukal <fzatlouk@redhat.com> - 1.5.5-1
|
||||
- Release 1.5.5
|
||||
|
||||
* Sun Feb 09 2020 Frantisek Zatloukal <fzatlouk@redhat.com> - 1.5.4-1
|
||||
- Release 1.5.4
|
||||
|
||||
* Fri Jan 31 2020 Frantisek Zatloukal <fzatlouk@redhat.com> - 1.5.3-1
|
||||
- Release 1.5.3
|
||||
|
||||
* Fri Jan 31 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.5.1-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
||||
|
||||
* Fri Jan 10 2020 Frantisek Zatloukal <fzatlouk@redhat.com> - 1.5.1-1
|
||||
- Release 1.5.1
|
||||
- Support D3D9 (wine-dxvk-d3d9 subpackage)
|
||||
|
||||
* Sat Dec 07 2019 Frantisek Zatloukal <fzatlouk@redhat.com> - 1.4.6-1
|
||||
- Release 1.4.6
|
||||
|
||||
* Thu Nov 21 2019 Frantisek Zatloukal <fzatlouk@redhat.com> - 1.4.5-1
|
||||
- Release 1.4.5
|
||||
|
||||
* Tue Oct 29 2019 Frantisek Zatloukal <fzatlouk@redhat.com> - 1.4.4-1
|
||||
- Release 1.4.4
|
||||
|
||||
* Sat Oct 19 2019 Frantisek Zatloukal <fzatlouk@redhat.com> - 1.4.3-1
|
||||
- Release 1.4.3
|
||||
|
||||
* Sat Sep 28 2019 Frantisek Zatloukal <fzatlouk@redhat.com> - 1.4.1-1
|
||||
- Release 1.4.1
|
||||
|
||||
* Mon Sep 23 2019 Frantisek Zatloukal <fzatlouk@redhat.com> - 1.4-1
|
||||
- Release 1.4
|
||||
|
||||
* Sun Aug 11 2019 Frantisek Zatloukal <fzatlouk@redhat.com> - 1.3.2-1
|
||||
- Release 1.3.2
|
||||
- Use alternatives for .dll files and dxgi.dll.so
|
||||
|
||||
* Thu Jul 25 2019 Frantisek Zatloukal <fzatlouk@redhat.com> - 1.3.1-1
|
||||
- Initial packaging
|
||||
3
sources
3
sources
|
|
@ -1 +1,2 @@
|
|||
SHA512 (dxvk-1.7.tar.gz) = 3a78332dbaaed71fb007ef9b441b33892bd56844dfddc72ded926108712ade34060ddb850bf3943b175aed6e89d453fb84f12fe9c00a94e03a342de61d7aed0c
|
||||
SHA512 (dxvk-2.7.1.tar.gz) = 4d8c580d6e7a4e1a3438ec60fa323c5af002a3ea2f6dc4f049832ee6cbae34177623c373ab3d3f720be3149ce3cffb5b91da5892c1bdfe22c1e86bb9dde071ca
|
||||
SHA512 (libdisplay-info-275e645.tar.gz) = 4816510f1d92d3e4ca266d29a9fbe583e9ef65af44ee2050e0b575661c1ff0ebcfb84cc499c4fdc594e0fde7261f946ca8748207b29af920605174f45ced260e
|
||||
|
|
|
|||
254
wine-dxvk.spec
254
wine-dxvk.spec
|
|
@ -1,21 +1,27 @@
|
|||
%global debug_package %{nil}
|
||||
%{?mingw_package_header}
|
||||
|
||||
%ifarch x86_64
|
||||
%global platform_identificator x86_64-redhat-linux-gnu
|
||||
# _libdir was restructured in F42 wine package to support a directory/symlink replacement
|
||||
%global _libdir %{_libdir}/wine-wow64
|
||||
|
||||
%global libdisplay_commit 275e6459c7ab1ddd4b125f28d0440716e4888078
|
||||
%global libdisplay_shortcommit %(c=%{libdisplay_commit}; echo ${c:0:7})
|
||||
|
||||
%global winepedir x86_64-windows
|
||||
%global target_x86_type 64
|
||||
%else
|
||||
%global platform_identificator i686-redhat-linux-gnu
|
||||
%global target_x86_type 32
|
||||
%endif
|
||||
%global mingw_sysroot %mingw64_sysroot
|
||||
%global mingw_build_win64 1
|
||||
%global mingw_build_win32 0
|
||||
|
||||
Name: wine-dxvk
|
||||
Version: 1.7
|
||||
Release: 1%{?dist}
|
||||
Summary: Vulkan-based D3D11 and D3D10 implementation for Linux / Wine
|
||||
Version: 2.7.1
|
||||
Release: %autorelease
|
||||
Summary: Vulkan-based implementation of D3D8, 9, 10 and 11 for Linux / Wine
|
||||
|
||||
License: zlib
|
||||
License: zlib AND MIT
|
||||
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: gcc
|
||||
BuildRequires: gcc-c++
|
||||
|
|
@ -23,7 +29,6 @@ BuildRequires: glslang
|
|||
BuildRequires: meson
|
||||
BuildRequires: wine-devel
|
||||
|
||||
%ifarch x86_64
|
||||
BuildRequires: mingw64-filesystem
|
||||
BuildRequires: mingw64-binutils
|
||||
BuildRequires: mingw64-headers
|
||||
|
|
@ -31,41 +36,36 @@ BuildRequires: mingw64-cpp
|
|||
BuildRequires: mingw64-gcc
|
||||
BuildRequires: mingw64-gcc-c++
|
||||
BuildRequires: mingw64-winpthreads-static
|
||||
%else
|
||||
BuildRequires: mingw32-filesystem
|
||||
BuildRequires: mingw32-binutils
|
||||
BuildRequires: mingw32-headers
|
||||
BuildRequires: mingw32-cpp
|
||||
BuildRequires: mingw32-gcc
|
||||
BuildRequires: mingw32-gcc-c++
|
||||
BuildRequires: mingw32-winpthreads-static
|
||||
%endif
|
||||
BuildRequires: mingw64-vulkan-headers
|
||||
BuildRequires: mingw64-spirv-headers
|
||||
|
||||
Requires: wine >= 4.13
|
||||
Recommends: wine-dxvk-dxgi%{?_isa} = %{version}-%{release}
|
||||
Requires(pre): vulkan-tools
|
||||
|
||||
Requires: wine-core%{?_isa}
|
||||
Requires: wine-dxvk-dxgi%{?_isa} = %{version}-%{release}
|
||||
Requires: vulkan-loader%{?_isa}
|
||||
|
||||
# We want x86_64 users to always have also 32 bit lib, it's the same what wine does
|
||||
%ifarch x86_64
|
||||
Requires: wine-dxvk(x86-32) = %{version}-%{release}
|
||||
%endif
|
||||
Obsoletes: wine-dxvk.i686 <= 2.6.2-1
|
||||
|
||||
# Recommend also the d3d9 (former D9VK)
|
||||
Recommends: wine-dxvk-d3d9%{?_isa} = %{version}-%{release}
|
||||
# Recommend also d3d8, d3d9, and d3d10
|
||||
Recommends: wine-dxvk-d3d8%{?_isa} = %{version}-%{release}
|
||||
Recommends: wine-dxvk-d3d9%{?_isa} = %{version}-%{release}
|
||||
Recommends: wine-dxvk-d3d10%{?_isa} = %{version}-%{release}
|
||||
|
||||
Requires(posttrans): %{_sbindir}/alternatives
|
||||
Requires(posttrans): %{_sbindir}/alternatives wine-core%{?_isa}
|
||||
Requires(preun): %{_sbindir}/alternatives
|
||||
|
||||
ExclusiveArch: %{ix86} x86_64
|
||||
ExclusiveArch: x86_64
|
||||
|
||||
Provides: bundled(libdisplay-info) = 0.3.0~dev^git%{libdisplay_shortcommit}
|
||||
|
||||
%description
|
||||
%{summary}
|
||||
|
||||
%package dxgi
|
||||
Summary: DXVK DXGI implementation
|
||||
%ifarch x86_64
|
||||
Requires: wine-dxvk-dxgi(x86-32) = %{version}-%{release}
|
||||
%endif
|
||||
|
||||
Obsoletes: wine-dxvk-dxgi.i686 <= 2.6.2-1
|
||||
|
||||
%description dxgi
|
||||
%{summary}
|
||||
|
|
@ -73,134 +73,132 @@ Requires: wine-dxvk-dxgi(x86-32) = %{version}-%{release}
|
|||
This package doesn't enable the use of this DXGI implementation,
|
||||
it should be installed and overridden per prefix.
|
||||
|
||||
%package d3d10
|
||||
Summary: DXVK D3D10 implementation
|
||||
|
||||
Requires: wine-dxvk%{?_isa} = %{version}-%{release}
|
||||
|
||||
Obsoletes: wine-dxvk-d3d10.i686 <= 2.6.2-1
|
||||
|
||||
%description d3d10
|
||||
%{summary}
|
||||
|
||||
%package d3d9
|
||||
Summary: DXVK D3D9 implementation
|
||||
|
||||
Requires: wine-dxvk%{?_isa} = %{version}-%{release}
|
||||
|
||||
# We want x86_64 users to always have also 32 bit lib, it's the same what wine does
|
||||
%ifarch x86_64
|
||||
Requires: wine-dxvk-d3d9(x86-32) = %{version}-%{release}
|
||||
%endif
|
||||
Obsoletes: wine-dxvk-d3d9.i686 <= 2.6.2-1
|
||||
|
||||
%description d3d9
|
||||
%{summary}
|
||||
|
||||
%package d3d8
|
||||
Summary: DXVK D3D8 implementation
|
||||
|
||||
Requires: wine-dxvk%{?_isa} = %{version}-%{release}
|
||||
|
||||
Obsoletes: wine-dxvk-d3d8.i686 <= 2.6.2-1
|
||||
|
||||
%description d3d8
|
||||
%{summary}
|
||||
|
||||
%prep
|
||||
%setup -q -n dxvk-%{version}
|
||||
%autosetup -n dxvk-%{version} -p1 -a1
|
||||
rm -rf subprojects/libdisplay-info && mv libdisplay-info-%{libdisplay_commit} subprojects/libdisplay-info
|
||||
|
||||
%build
|
||||
/usr/bin/meson --buildtype=plain --wrap-mode=nodownload --auto-features=enabled . %{platform_identificator} \
|
||||
--cross-file build-win%{target_x86_type}.txt --buildtype release --prefix /builddir/build/BUILD/dxvk-%{version}/build
|
||||
%meson_build
|
||||
%mingw_meson --buildtype=plain --wrap-mode=nodownload --auto-features=enabled --cross-file ../build-win%{target_x86_type}.txt --buildtype release
|
||||
%mingw_ninja
|
||||
|
||||
%install
|
||||
%meson_install
|
||||
#winebuild --builtin %%buildroot/builddir/build/BUILD/dxvk-%%{version}/build/bin/dxgi.dll
|
||||
winebuild --builtin %buildroot/builddir/build/BUILD/dxvk-%{version}/build/bin/d3d9.dll
|
||||
winebuild --builtin %buildroot/builddir/build/BUILD/dxvk-%{version}/build/bin/d3d10.dll
|
||||
winebuild --builtin %buildroot/builddir/build/BUILD/dxvk-%{version}/build/bin/d3d10core.dll
|
||||
winebuild --builtin %buildroot/builddir/build/BUILD/dxvk-%{version}/build/bin/d3d10_1.dll
|
||||
winebuild --builtin %buildroot/builddir/build/BUILD/dxvk-%{version}/build/bin/d3d11.dll
|
||||
%mingw_ninja_install
|
||||
winebuild --builtin %buildroot%mingw_sysroot/mingw/bin/dxgi.dll
|
||||
winebuild --builtin %buildroot%mingw_sysroot/mingw/bin/d3d8.dll
|
||||
winebuild --builtin %buildroot%mingw_sysroot/mingw/bin/d3d9.dll
|
||||
winebuild --builtin %buildroot%mingw_sysroot/mingw/bin/d3d10core.dll
|
||||
winebuild --builtin %buildroot%mingw_sysroot/mingw/bin/d3d11.dll
|
||||
|
||||
mkdir -p %{buildroot}%{_libdir}/wine/
|
||||
install -p -m 644 %buildroot/builddir/build/BUILD/dxvk-%{version}/build/bin/dxgi.dll %{buildroot}%{_libdir}/wine/
|
||||
install -p -m 644 %buildroot/builddir/build/BUILD/dxvk-%{version}/build/bin/d3d9.dll %{buildroot}%{_libdir}/wine/
|
||||
install -p -m 644 %buildroot/builddir/build/BUILD/dxvk-%{version}/build/bin/d3d10.dll %{buildroot}%{_libdir}/wine/
|
||||
install -p -m 644 %buildroot/builddir/build/BUILD/dxvk-%{version}/build/bin/d3d10core.dll %{buildroot}%{_libdir}/wine/
|
||||
install -p -m 644 %buildroot/builddir/build/BUILD/dxvk-%{version}/build/bin/d3d10_1.dll %{buildroot}%{_libdir}/wine/
|
||||
install -p -m 644 %buildroot/builddir/build/BUILD/dxvk-%{version}/build/bin/d3d11.dll %{buildroot}%{_libdir}/wine/
|
||||
rm -rf %buildroot/builddir/build/BUILD/dxvk-%{version}/build
|
||||
mkdir -p %{buildroot}%{_libdir}/wine/%{winepedir}/
|
||||
install -p -m 644 %buildroot%mingw_sysroot/mingw/bin/dxgi.dll %{buildroot}%{_libdir}/wine/%{winepedir}/dxvk-dxgi.dll
|
||||
install -p -m 644 %buildroot%mingw_sysroot/mingw/bin/d3d8.dll %{buildroot}%{_libdir}/wine/%{winepedir}/dxvk-d3d8.dll
|
||||
install -p -m 644 %buildroot%mingw_sysroot/mingw/bin/d3d9.dll %{buildroot}%{_libdir}/wine/%{winepedir}/dxvk-d3d9.dll
|
||||
install -p -m 644 %buildroot%mingw_sysroot/mingw/bin/d3d10core.dll %{buildroot}%{_libdir}/wine/%{winepedir}/dxvk-d3d10core.dll
|
||||
install -p -m 644 %buildroot%mingw_sysroot/mingw/bin/d3d11.dll %{buildroot}%{_libdir}/wine/%{winepedir}/dxvk-d3d11.dll
|
||||
|
||||
mv %{buildroot}%{_libdir}/wine/dxgi.dll %{buildroot}%{_libdir}/wine/dxvk-dxgi.dll
|
||||
mv %{buildroot}%{_libdir}/wine/d3d9.dll %{buildroot}%{_libdir}/wine/dxvk-d3d9.dll
|
||||
mv %{buildroot}%{_libdir}/wine/d3d10.dll %{buildroot}%{_libdir}/wine/dxvk-d3d10.dll
|
||||
mv %{buildroot}%{_libdir}/wine/d3d10core.dll %{buildroot}%{_libdir}/wine/dxvk-d3d10core.dll
|
||||
mv %{buildroot}%{_libdir}/wine/d3d10_1.dll %{buildroot}%{_libdir}/wine/dxvk-d3d10_1.dll
|
||||
mv %{buildroot}%{_libdir}/wine/d3d11.dll %{buildroot}%{_libdir}/wine/dxvk-d3d11.dll
|
||||
# Clean-up
|
||||
rm -rf %buildroot%mingw_sysroot/mingw
|
||||
|
||||
%posttrans
|
||||
%{_sbindir}/alternatives --install %{_libdir}/wine/d3d10.dll 'wine-d3d10%{?_isa}' %{_libdir}/wine/dxvk-d3d10.dll 20 \
|
||||
--slave %{_libdir}/wine/d3d10_1.dll 'wine-d3d10_1%{?_isa}' %{_libdir}/wine/dxvk-d3d10_1.dll \
|
||||
--slave %{_libdir}/wine/d3d10core.dll 'wine-d3d10core%{?_isa}' %{_libdir}/wine/dxvk-d3d10core.dll
|
||||
%{_sbindir}/alternatives --install %{_libdir}/wine/d3d11.dll 'wine-d3d11%{?_isa}' %{_libdir}/wine/dxvk-d3d11.dll 20
|
||||
if vulkaninfo |& grep "ERROR_INITIALIZATION_FAILED\|ERROR_SURFACE_LOST_KHR\|Vulkan support is incomplete" > /dev/null; then
|
||||
%{_sbindir}/alternatives --install %{_libdir}/wine/%{winepedir}/d3d11.dll 'wine-d3d11%{?_isa}' %{_libdir}/wine/%{winepedir}/dxvk-d3d11.dll 5
|
||||
else
|
||||
%{_sbindir}/alternatives --install %{_libdir}/wine/%{winepedir}/d3d11.dll 'wine-d3d11%{?_isa}' %{_libdir}/wine/%{winepedir}/dxvk-d3d11.dll 20
|
||||
fi
|
||||
|
||||
%posttrans dxgi
|
||||
if vulkaninfo |& grep "ERROR_INITIALIZATION_FAILED\|ERROR_SURFACE_LOST_KHR\|Vulkan support is incomplete" > /dev/null; then
|
||||
%{_sbindir}/alternatives --install %{_libdir}/wine/%{winepedir}/dxgi.dll 'wine-dxgi%{?_isa}' %{_libdir}/wine/%{winepedir}/dxvk-dxgi.dll 5
|
||||
else
|
||||
%{_sbindir}/alternatives --install %{_libdir}/wine/%{winepedir}/dxgi.dll 'wine-dxgi%{?_isa}' %{_libdir}/wine/%{winepedir}/dxvk-dxgi.dll 20
|
||||
fi
|
||||
|
||||
%posttrans d3d10
|
||||
if vulkaninfo |& grep "ERROR_INITIALIZATION_FAILED\|ERROR_SURFACE_LOST_KHR\|Vulkan support is incomplete" > /dev/null; then
|
||||
%{_sbindir}/alternatives --install %{_libdir}/wine/%{winepedir}/d3d10core.dll 'wine-d3d10core%{?_isa}' %{_libdir}/wine/%{winepedir}/dxvk-d3d10core.dll 5
|
||||
else
|
||||
%{_sbindir}/alternatives --install %{_libdir}/wine/%{winepedir}/d3d10core.dll 'wine-d3d10core%{?_isa}' %{_libdir}/wine/%{winepedir}/dxvk-d3d10core.dll 20
|
||||
fi
|
||||
|
||||
%posttrans d3d9
|
||||
%{_sbindir}/alternatives --install %{_libdir}/wine/d3d9.dll 'wine-d3d9%{?_isa}' %{_libdir}/wine/dxvk-d3d9.dll 20
|
||||
if vulkaninfo |& grep "ERROR_INITIALIZATION_FAILED\|ERROR_SURFACE_LOST_KHR\|Vulkan support is incomplete" > /dev/null; then
|
||||
%{_sbindir}/alternatives --install %{_libdir}/wine/%{winepedir}/d3d9.dll 'wine-d3d9%{?_isa}' %{_libdir}/wine/%{winepedir}/dxvk-d3d9.dll 5
|
||||
else
|
||||
%{_sbindir}/alternatives --install %{_libdir}/wine/%{winepedir}/d3d9.dll 'wine-d3d9%{?_isa}' %{_libdir}/wine/%{winepedir}/dxvk-d3d9.dll 20
|
||||
fi
|
||||
|
||||
%posttrans d3d8
|
||||
if vulkaninfo |& grep "ERROR_INITIALIZATION_FAILED\|ERROR_SURFACE_LOST_KHR\|Vulkan support is incomplete" > /dev/null; then
|
||||
%{_sbindir}/alternatives --install %{_libdir}/wine/%{winepedir}/d3d8.dll 'wine-d3d8%{?_isa}' %{_libdir}/wine/%{winepedir}/dxvk-d3d8.dll 5
|
||||
else
|
||||
%{_sbindir}/alternatives --install %{_libdir}/wine/%{winepedir}/d3d8.dll 'wine-d3d8%{?_isa}' %{_libdir}/wine/%{winepedir}/dxvk-d3d8.dll 20
|
||||
fi
|
||||
|
||||
%postun
|
||||
%{_sbindir}/alternatives --remove 'wine-d3d10%{?_isa}' %{_libdir}/wine/dxvk-d3d10.dll
|
||||
%{_sbindir}/alternatives --remove 'wine-d3d11%{?_isa}' %{_libdir}/wine/dxvk-d3d11.dll
|
||||
%{_sbindir}/alternatives --remove 'wine-d3d11%{?_isa}' %{_libdir}/wine/%{winepedir}/dxvk-d3d11.dll
|
||||
|
||||
%postun d3d10
|
||||
%{_sbindir}/alternatives --remove 'wine-d3d10core%{?_isa}' %{_libdir}/wine/%{winepedir}/dxvk-d3d10core.dll
|
||||
|
||||
%postun d3d9
|
||||
%{_sbindir}/alternatives --remove 'wine-d3d9%{?_isa}' %{_libdir}/wine/dxvk-d3d9.dll
|
||||
%{_sbindir}/alternatives --remove 'wine-d3d9%{?_isa}' %{_libdir}/wine/%{winepedir}/dxvk-d3d9.dll
|
||||
|
||||
%postun d3d8
|
||||
%{_sbindir}/alternatives --remove 'wine-d3d8%{?_isa}' %{_libdir}/wine/%{winepedir}/dxvk-d3d8.dll
|
||||
|
||||
%postun dxgi
|
||||
%{_sbindir}/alternatives --remove 'wine-dxgi%{?_isa}' %{_libdir}/wine/%{winepedir}/dxvk-dxgi.dll
|
||||
|
||||
%files
|
||||
%license LICENSE
|
||||
%doc README.md
|
||||
%{_libdir}/wine/dxvk-d3d10.dll
|
||||
%{_libdir}/wine/dxvk-d3d10_1.dll
|
||||
%{_libdir}/wine/dxvk-d3d10core.dll
|
||||
%{_libdir}/wine/dxvk-d3d11.dll
|
||||
%{_libdir}/wine/%{winepedir}/dxvk-d3d11.dll
|
||||
|
||||
%files d3d10
|
||||
%license LICENSE
|
||||
%{_libdir}/wine/%{winepedir}/dxvk-d3d10core.dll
|
||||
|
||||
%files d3d9
|
||||
%license LICENSE
|
||||
%{_libdir}/wine/dxvk-d3d9.dll
|
||||
%{_libdir}/wine/%{winepedir}/dxvk-d3d9.dll
|
||||
|
||||
%files d3d8
|
||||
%license LICENSE
|
||||
%{_libdir}/wine/%{winepedir}/dxvk-d3d8.dll
|
||||
|
||||
%files dxgi
|
||||
%license LICENSE
|
||||
%{_libdir}/wine/dxvk-dxgi.dll
|
||||
|
||||
%{_libdir}/wine/%{winepedir}/dxvk-dxgi.dll
|
||||
|
||||
%changelog
|
||||
* Sun May 17 2020 Frantisek Zatloukal <fzatlouk@redhat.com> - 1.7-1
|
||||
- Release 1.7
|
||||
- Remove winelib build and fix mingw build dll names (Matias Zuniga)
|
||||
|
||||
* Mon Apr 20 2020 Frantisek Zatloukal <fzatlouk@redhat.com> - 1.6.1-1
|
||||
- Release 1.6.1
|
||||
|
||||
* Tue Mar 24 2020 Frantisek Zatloukal <fzatlouk@redhat.com> - 1.6-1
|
||||
- Release 1.6
|
||||
|
||||
* Sat Mar 07 2020 Frantisek Zatloukal <fzatlouk@redhat.com> - 1.5.5-1
|
||||
- Release 1.5.5
|
||||
|
||||
* Sun Feb 09 2020 Frantisek Zatloukal <fzatlouk@redhat.com> - 1.5.4-1
|
||||
- Release 1.5.4
|
||||
|
||||
* Fri Jan 31 2020 Frantisek Zatloukal <fzatlouk@redhat.com> - 1.5.3-1
|
||||
- Release 1.5.3
|
||||
|
||||
* Fri Jan 31 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.5.1-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
||||
|
||||
* Fri Jan 10 2020 Frantisek Zatloukal <fzatlouk@redhat.com> - 1.5.1-1
|
||||
- Release 1.5.1
|
||||
- Support D3D9 (wine-dxvk-d3d9 subpackage)
|
||||
|
||||
* Sat Dec 07 2019 Frantisek Zatloukal <fzatlouk@redhat.com> - 1.4.6-1
|
||||
- Release 1.4.6
|
||||
|
||||
* Thu Nov 21 2019 Frantisek Zatloukal <fzatlouk@redhat.com> - 1.4.5-1
|
||||
- Release 1.4.5
|
||||
|
||||
* Tue Oct 29 2019 Frantisek Zatloukal <fzatlouk@redhat.com> - 1.4.4-1
|
||||
- Release 1.4.4
|
||||
|
||||
* Sat Oct 19 2019 Frantisek Zatloukal <fzatlouk@redhat.com> - 1.4.3-1
|
||||
- Release 1.4.3
|
||||
|
||||
* Sat Sep 28 2019 Frantisek Zatloukal <fzatlouk@redhat.com> - 1.4.1-1
|
||||
- Release 1.4.1
|
||||
|
||||
* Mon Sep 23 2019 Frantisek Zatloukal <fzatlouk@redhat.com> - 1.4-1
|
||||
- Release 1.4
|
||||
|
||||
* Sun Aug 11 2019 Frantisek Zatloukal <fzatlouk@redhat.com> - 1.3.2-1
|
||||
- Release 1.3.2
|
||||
- Use alternatives for .dll files and dxgi.dll.so
|
||||
|
||||
* Thu Jul 25 2019 Frantisek Zatloukal <fzatlouk@redhat.com> - 1.3.1-1
|
||||
- Initial packaging
|
||||
|
||||
%autochangelog
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue