diff options
Diffstat (limited to 'PKGBUILD.testing')
-rw-r--r-- | PKGBUILD.testing | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/PKGBUILD.testing b/PKGBUILD.testing index c2f8b94f753c..33f72d0c6f36 100644 --- a/PKGBUILD.testing +++ b/PKGBUILD.testing @@ -6,7 +6,7 @@ _commit=610dead69d75fe548b4349dadb3ab04e7e466095 pkgver=${_srctag//-/.} _geckover=2.47.3 _monover=8.0.0 -pkgrel=4 +pkgrel=6 epoch=2 pkgdesc="Compatibility tool for Steam Play based on Wine and additional components, GloriousEggroll's custom build" url="https://github.com/GloriousEggroll/proton-ge-custom" @@ -116,6 +116,7 @@ source=( 0001-AUR-Pkgbuild-changes.patch 0002-AUR-Do-not-update-cargo-crates.patch 0003-AUR-Remove-kaldi-openfst-vosk-api-modules-because-of.patch + 0004-AUR-Copy-DLL-dependencies-of-32bit-libvkd3d-dlls-int.patch fix_hwnd_changes_meaning.patch ) # Optional patches @@ -250,6 +251,7 @@ prepare() { patch -p1 -i "$srcdir"/0001-AUR-Pkgbuild-changes.patch patch -p1 -i "$srcdir"/0002-AUR-Do-not-update-cargo-crates.patch patch -p1 -i "$srcdir"/0003-AUR-Remove-kaldi-openfst-vosk-api-modules-because-of.patch + patch -p1 -i "$srcdir"/0004-AUR-Copy-DLL-dependencies-of-32bit-libvkd3d-dlls-int.patch patch -p1 -i "$srcdir"/fix_hwnd_changes_meaning.patch # Remove repos from srcdir to save space @@ -311,6 +313,14 @@ package() { mkdir -p "$_compatdir/${pkgname}" rsync --delete -arx dist/* "$_compatdir/${pkgname}" + # For some unknown to me reason, 32bit vkd3d (not vkd3d-proton) always links + # to libgcc_s_dw2-1.dll no matter what linker options I tried. + # Copy the required dlls into the package, they will be copied later into the prefix + # by the patched proton script. Bundling the helps to avoid making mingw-w64-gcc package + # a runtime dependency. + cp /usr/i686-w64-mingw32/bin/{libgcc_s_dw2-1.dll,libwinpthread-1.dll} \ + "$_compatdir/${pkgname}"/files/lib/vkd3d/ + mkdir -p "$pkgdir/usr/share/licenses/${pkgname}" mv "$_compatdir/${pkgname}"/LICENSE{,.OFL} \ "$pkgdir/usr/share/licenses/${pkgname}" @@ -375,6 +385,7 @@ sha256sums=('SKIP' 'SKIP' 'SKIP' 'SKIP' + 'SKIP' '20824bb565fefcad4aa978c54e0f8b9d9d17b7b52fb03fc87943150de148f06f') # Optional patches sha256sums+=( |