diff options
author | Stelios Tsampas | 2021-09-26 18:47:43 +0300 |
---|---|---|
committer | Stelios Tsampas | 2021-09-26 18:47:43 +0300 |
commit | a7aae53a9ff4cbaf8dd373a355c9e321c4ebc22b (patch) | |
tree | 9599253dc7029db539a671a4866ce37715b456b5 | |
parent | 4b4ea1df13284fffbee3584ac7e06cac53706a83 (diff) | |
download | aur-a7aae53a9ff4.tar.gz |
Version 6.18-GE-1
-rw-r--r-- | .SRCINFO | 20 | ||||
-rw-r--r-- | PKGBUILD | 34 | ||||
-rw-r--r-- | wine-isolate_home.patch | 17 | ||||
-rw-r--r-- | wine-more_8x5_res.patch (renamed from wine-ge-custom-more_8x5_res.patch) | 0 | ||||
-rw-r--r-- | wine-wmclass.patch (renamed from wine-ge-custom-wmclass.patch) | 0 |
5 files changed, 49 insertions, 22 deletions
@@ -1,6 +1,6 @@ pkgbase = wine-ge-custom pkgdesc = A compatibility layer for running Windows programs - GloriousEggroll branch - pkgver = 6.16.GE.1 + pkgver = 6.18.GE.1 pkgrel = 1 url = https://github.com/GloriousEggroll/wine-ge-custom install = wine.install @@ -150,16 +150,18 @@ pkgbase = wine-ge-custom optdepends = cups optdepends = samba optdepends = dosbox - provides = wine=6.16.GE.1 - provides = wine-wow64=6.16.GE.1 + provides = wine=6.18.GE.1 + provides = wine-wow64=6.18.GE.1 conflicts = wine conflicts = wine-wow64 options = !staticlibs options = !lto - source = wine-ge-custom::git+https://github.com/GloriousEggroll/wine-ge-custom#tag=6.16-GE-1 - source = wine-gloriouseggroll::git+https://github.com/GloriousEggroll/wine.git - source = wine-ge-custom-more_8x5_res.patch - source = wine-ge-custom-wmclass.patch + source = wine-ge-custom::git+https://github.com/GloriousEggroll/wine-ge-custom.git#tag=6.18-GE-1 + source = wine::git+https://github.com/wine-mirror/wine.git + source = wine-staging::git+https://github.com/wine-staging/wine-staging.git + source = wine-more_8x5_res.patch + source = wine-wmclass.patch + source = wine-isolate_home.patch source = 30-win32-aliases.conf source = wine-binfmt.conf validpgpkeys = 5AC1A08B03BD7A313E0A955AF5E6E9EEB9461DD7 @@ -167,7 +169,9 @@ pkgbase = wine-ge-custom sha512sums = SKIP sha512sums = SKIP sha512sums = SKIP - sha512sums = SKIP + sha512sums = 13b0a9b1712eb3bf847a7bc78a46d5d32d6a8358c59b94289594811c2f25de925334aa7f76033176b49156117ada1c58bc1425a3e8514cbf305c27650a2b84e2 + sha512sums = 30437d8ee92c5741fa50a7fe346ccfc48ba809dad0d740903a05a67781d23ea38a5094038a070a253e3fdd8046783b46a5420df6361bdd30cb229d3d88107569 + sha512sums = 3dcdbd523fcbe79b9e9e9b026b9d0a5edf296514c7b48bd465d2dc05a8ca08e23ba8817e2de08edfe52286a2a2f81db42b65f71254cabe496752b9d45131d282 sha512sums = 6e54ece7ec7022b3c9d94ad64bdf1017338da16c618966e8baf398e6f18f80f7b0576edf1d1da47ed77b96d577e4cbb2bb0156b0b11c183a0accf22654b0a2bb sha512sums = bdde7ae015d8a98ba55e84b86dc05aca1d4f8de85be7e4bd6187054bfe4ac83b5a20538945b63fb073caab78022141e9545685e4e3698c97ff173cf30859e285 @@ -6,7 +6,7 @@ # Contributor: Giovanni Scafora <giovanni@archlinux.org> pkgname=wine-ge-custom -_srctag=6.16-GE-1 +_srctag=6.18-GE-1 pkgver=${_srctag//-/.} pkgrel=1 @@ -14,16 +14,20 @@ pkgrel=1 _winever=$pkgver _pkgbasever=${pkgver/rc/-rc} -source=(wine-ge-custom::git+https://github.com/GloriousEggroll/wine-ge-custom#tag=$_srctag - wine-gloriouseggroll::git+https://github.com/GloriousEggroll/wine.git - wine-ge-custom-more_8x5_res.patch - wine-ge-custom-wmclass.patch +source=(wine-ge-custom::git+https://github.com/GloriousEggroll/wine-ge-custom.git#tag=$_srctag + wine::git+https://github.com/wine-mirror/wine.git + wine-staging::git+https://github.com/wine-staging/wine-staging.git + wine-more_8x5_res.patch + wine-wmclass.patch + wine-isolate_home.patch 30-win32-aliases.conf wine-binfmt.conf) sha512sums=('SKIP' 'SKIP' 'SKIP' - 'SKIP' + '13b0a9b1712eb3bf847a7bc78a46d5d32d6a8358c59b94289594811c2f25de925334aa7f76033176b49156117ada1c58bc1425a3e8514cbf305c27650a2b84e2' + '30437d8ee92c5741fa50a7fe346ccfc48ba809dad0d740903a05a67781d23ea38a5094038a070a253e3fdd8046783b46a5420df6361bdd30cb229d3d88107569' + '3dcdbd523fcbe79b9e9e9b026b9d0a5edf296514c7b48bd465d2dc05a8ca08e23ba8817e2de08edfe52286a2a2f81db42b65f71254cabe496752b9d45131d282' '6e54ece7ec7022b3c9d94ad64bdf1017338da16c618966e8baf398e6f18f80f7b0576edf1d1da47ed77b96d577e4cbb2bb0156b0b11c183a0accf22654b0a2bb' 'bdde7ae015d8a98ba55e84b86dc05aca1d4f8de85be7e4bd6187054bfe4ac83b5a20538945b63fb073caab78022141e9545685e4e3698c97ff173cf30859e285') validpgpkeys=(5AC1A08B03BD7A313E0A955AF5E6E9EEB9461DD7 @@ -123,14 +127,16 @@ conflicts=('wine' 'wine-wow64') install=wine.install prepare() { - pushd $pkgname - git submodule init wine - git config submodule.wine.url "$srcdir"/wine-gloriouseggroll - git submodule update wine + git submodule init wine wine-staging + git config submodule.wine.url "$srcdir"/wine + git config submodule.wine-staging.url "$srcdir"/wine-staging + git submodule update wine wine-staging + patches/protonprep.sh pushd wine - patch -p1 -i "$srcdir"/wine-ge-custom-more_8x5_res.patch - patch -p1 -i "$srcdir"/wine-ge-custom-wmclass.patch + patch -p1 -i "$srcdir"/wine-more_8x5_res.patch + patch -p1 -i "$srcdir"/wine-wmclass.patch + patch -p1 -i "$srcdir"/wine-isolate_home.patch dlls/winevulkan/make_vulkan tools/make_requests autoreconf -f @@ -146,8 +152,8 @@ prepare() { # MingW Wine builds fail with relro export LDFLAGS="${LDFLAGS/,-z,relro/}" # Disable AVX instead of using 02, same as dxvk, the rest are from Proton - export CFLAGS+=" -mno-avx -mfpmath=sse -fwrapv -fno-strict-aliasing -gdwarf-2 -gstrict-dwarf" - export CXXFLAGS+=" -mno-avx -mfpmath=sse -fwrapv -fno-strict-aliasing -gdwarf-2 -gstrict-dwarf -std=c++17" + export CFLAGS+=" -mno-avx -mno-avx2 -mfpmath=sse -fwrapv -fno-strict-aliasing -gdwarf-2 -gstrict-dwarf" + export CXXFLAGS+=" -mno-avx -mno-avx2 -mfpmath=sse -fwrapv -fno-strict-aliasing -gdwarf-2 -gstrict-dwarf -std=c++17" export CROSSCFLAGS="$CFLAGS" export CROSSCXXFLAGS="$CXXFLAGS" diff --git a/wine-isolate_home.patch b/wine-isolate_home.patch new file mode 100644 index 000000000000..6fd2e5ccf06c --- /dev/null +++ b/wine-isolate_home.patch @@ -0,0 +1,17 @@ +diff --git a/dlls/shell32/shellpath.c b/dlls/shell32/shellpath.c +index 7bfa504a62f..4896bbad88f 100644 +--- a/dlls/shell32/shellpath.c ++++ b/dlls/shell32/shellpath.c +@@ -3007,7 +3007,12 @@ HRESULT WINAPI SHGetFolderPathAndSubDirW( + + /* create symbolic links rather than directories for specific + * user shell folders */ ++ const WCHAR *sandbox = _wgetenv( L"WINEUSERSANDBOX" ); ++ int isolate = 0; ++ isolate = sandbox && !strcmp(sandbox, "1"); ++ if(!isolate) { + _SHCreateSymbolicLink(folder, szBuildPath); ++ } + + /* create directory/directories */ + ret = SHCreateDirectoryExW(hwndOwner, szBuildPath, NULL); diff --git a/wine-ge-custom-more_8x5_res.patch b/wine-more_8x5_res.patch index acc09936ffd3..acc09936ffd3 100644 --- a/wine-ge-custom-more_8x5_res.patch +++ b/wine-more_8x5_res.patch diff --git a/wine-ge-custom-wmclass.patch b/wine-wmclass.patch index 43595d6a89b8..43595d6a89b8 100644 --- a/wine-ge-custom-wmclass.patch +++ b/wine-wmclass.patch |