diff options
author | Stelios Tsampas | 2023-07-22 01:03:59 +0300 |
---|---|---|
committer | Stelios Tsampas | 2023-07-22 01:03:59 +0300 |
commit | 4742abec93b5f67372381775912f31b4aa278e93 (patch) | |
tree | be65a1e8911612a7d6465dbd545864412c1b5324 | |
parent | 398f9377dc17f97d31cde78af36fc81d71dd038d (diff) | |
download | aur-4742abec93b5f67372381775912f31b4aa278e93.tar.gz |
[proton] Version 8.0-3
-rw-r--r-- | .SRCINFO | 59 | ||||
-rw-r--r-- | 0001-AUR-Pkgbuild-changes.patch | 38 | ||||
-rw-r--r-- | 0002-AUR-Do-not-update-cargo-crates.patch | 2 | ||||
-rw-r--r-- | 0004-AUR-Copy-DLL-dependencies-of-32bit-libvkd3d-dlls-int.patch | 4 | ||||
-rw-r--r-- | PKGBUILD | 132 | ||||
-rw-r--r-- | PKGBUILD.testing | 126 |
6 files changed, 43 insertions, 318 deletions
@@ -1,7 +1,7 @@ pkgbase = proton pkgdesc = Compatibility tool for Steam Play based on Wine and additional components - pkgver = 8.0.2.3 - pkgrel = 9 + pkgver = 8.0.3.3 + pkgrel = 1 epoch = 1 url = https://github.com/ValveSoftware/Proton install = proton.install @@ -154,37 +154,13 @@ pkgbase = proton optdepends = vulkan-icd-loader optdepends = lib32-vulkan-icd-loader optdepends = libgphoto2 - optdepends = dosbox noextract = wine-gecko-2.47.3-x86.tar.xz noextract = wine-gecko-2.47.3-x86_64.tar.xz noextract = wine-mono-7.4.1-x86.tar.xz options = !staticlibs options = !lto options = emptydirs - source = proton::git+https://github.com/ValveSoftware/Proton.git#tag=proton-8.0-2c - source = wine-valve::git+https://github.com/ValveSoftware/wine.git - source = dxvk::git+https://github.com/doitsujin/dxvk.git - source = openvr::git+https://github.com/ValveSoftware/openvr.git - source = liberation-fonts::git+https://github.com/liberationfonts/liberation-fonts.git - source = gstreamer::git+https://gitlab.freedesktop.org/gstreamer/gstreamer.git - source = gst-plugins-base::git+https://gitlab.freedesktop.org/gstreamer/gst-plugins-base.git - source = gst-plugins-good::git+https://gitlab.freedesktop.org/gstreamer/gst-plugins-good.git - source = gst-orc::git+https://gitlab.freedesktop.org/gstreamer/orc.git - source = vkd3d-proton::git+https://github.com/HansKristian-Work/vkd3d-proton.git - source = OpenXR-SDK::git+https://github.com/KhronosGroup/OpenXR-SDK.git - source = dxvk-nvapi::git+https://github.com/jp7677/dxvk-nvapi.git - source = vkd3d-valve::git+https://github.com/ValveSoftware/vkd3d.git - source = Vulkan-Headers::git+https://github.com/KhronosGroup/Vulkan-Headers.git - source = SPIRV-Headers::git+https://github.com/KhronosGroup/SPIRV-Headers.git - source = Vulkan-Loader::git+https://github.com/KhronosGroup/Vulkan-Loader.git - source = glslang::git+https://github.com/KhronosGroup/glslang.git - source = gst-libav::git+https://gitlab.freedesktop.org/gstreamer/gst-libav.git - source = ffmpeg::git+https://git.ffmpeg.org/ffmpeg.git - source = dav1d::git+https://code.videolan.org/videolan/dav1d.git - source = gst-plugins-rs::git+https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs.git - source = dxil-spirv::git+https://github.com/HansKristian-Work/dxil-spirv.git - source = graphene::git+https://github.com/ebassi/graphene.git - source = libdisplay-info-dxvk::git+https://gitlab.freedesktop.org/JoshuaAshton/libdisplay-info.git + source = proton::git+https://github.com/ValveSoftware/Proton.git#tag=proton-8.0-3c source = https://dl.winehq.org/wine/wine-gecko/2.47.3/wine-gecko-2.47.3-x86.tar.xz source = https://dl.winehq.org/wine/wine-gecko/2.47.3/wine-gecko-2.47.3-x86_64.tar.xz source = https://github.com/madewokherd/wine-mono/releases/download/wine-mono-7.4.1/wine-mono-7.4.1-x86.tar.xz @@ -193,35 +169,12 @@ pkgbase = proton source = 0004-AUR-Copy-DLL-dependencies-of-32bit-libvkd3d-dlls-int.patch source = fix_hwnd_changes_meaning.patch sha256sums = SKIP - sha256sums = SKIP - sha256sums = SKIP - sha256sums = SKIP - sha256sums = SKIP - sha256sums = SKIP - sha256sums = SKIP - sha256sums = SKIP - sha256sums = SKIP - sha256sums = SKIP - sha256sums = SKIP - sha256sums = SKIP - sha256sums = SKIP - sha256sums = SKIP - sha256sums = SKIP - sha256sums = SKIP - sha256sums = SKIP - sha256sums = SKIP - sha256sums = SKIP - sha256sums = SKIP - sha256sums = SKIP - sha256sums = SKIP - sha256sums = SKIP - sha256sums = SKIP sha256sums = 08d318f3dd6440a8a777cf044ccab039b0d9c8809991d2180eb3c9f903135db3 sha256sums = 0beac419c20ee2e68a1227b6e3fa8d59fec0274ed5e82d0da38613184716ef75 sha256sums = 1286afc67b0a329f5e2d98d9e803ca5906a841ad5486e9b3b1fefa1124b15622 - sha256sums = 353dc247853634613803706729e060bed6e7af7eb33e1dc0dfb1bc44b71518c1 - sha256sums = 83f66f5eb2bc9d2c29febdc4ad4e34ea971a24a754f3fb5e28426eb6a038f80f - sha256sums = c1655a32751a266247dcce7214b9176763b22ab6fa3ec0622675562ef79ec4a7 + sha256sums = e8f649ad4a7010fce360561b12de69cc37d6a2a6f4484fc990426cc68958d1b5 + sha256sums = 96f1f6891a12dae0c8da9ba2407f5a69cac239e5f1a75b814d5053b86892127b + sha256sums = 48fa081f39997e3f8eb876dba94d77045a6e4df92739556f9ebb1a8ad6c4281d sha256sums = 20824bb565fefcad4aa978c54e0f8b9d9d17b7b52fb03fc87943150de148f06f pkgname = proton diff --git a/0001-AUR-Pkgbuild-changes.patch b/0001-AUR-Pkgbuild-changes.patch index c924f2810fd4..d126f226bb5e 100644 --- a/0001-AUR-Pkgbuild-changes.patch +++ b/0001-AUR-Pkgbuild-changes.patch @@ -1,4 +1,4 @@ -From 76edbeb0192b761d6c299073b4826e8a7ccf2147 Mon Sep 17 00:00:00 2001 +From 30e1791d50391930e871ba17acb44d47a6d7bd83 Mon Sep 17 00:00:00 2001 From: Stelios Tsampas <loathingkernel@gmail.com> Date: Tue, 7 Feb 2023 21:58:22 +0200 Subject: [PATCH 1/3] AUR Pkgbuild changes @@ -19,7 +19,7 @@ Subject: [PATCH 1/3] AUR Pkgbuild changes 12 files changed, 83 insertions(+), 39 deletions(-) diff --git a/Makefile.in b/Makefile.in -index fc46bafc..3f015828 100644 +index 29142391..1fc3af27 100644 --- a/Makefile.in +++ b/Makefile.in @@ -50,14 +50,23 @@ else @@ -145,33 +145,33 @@ index fc46bafc..3f015828 100644 DXVK_MESON_ARGS64 = --bindir=$(DXVK_DST64)/lib64/wine/dxvk DXVK_DEPENDS = glslang -+DXVK_CPPFLAGS= -msse -msse2 -+DXVK_LDFLAGS= -static -static-libgcc -static-libstdc++ ++DXVK_CPPFLAGS = -msse -msse2 ++DXVK_LDFLAGS = -static -static-libgcc -static-libstdc++ + $(eval $(call rules-source,dxvk,$(SRCDIR)/dxvk)) $(eval $(call rules-meson,dxvk,32,CROSS)) $(eval $(call rules-meson,dxvk,64,CROSS)) -@@ -488,6 +526,9 @@ $(OBJ)/.dxvk-post-build32: +@@ -493,6 +531,9 @@ $(OBJ)/.dxvk-post-build32: DXVK_NVAPI_MESON_ARGS32 = --bindir=$(DXVK_NVAPI_DST32)/lib/wine/nvapi DXVK_NVAPI_MESON_ARGS64 = --bindir=$(DXVK_NVAPI_DST64)/lib64/wine/nvapi -+DXVK_NVAPI_CPPFLAGS= -msse -msse2 -+DXVK_NVAPI_LDFLAGS= -static -static-libgcc -static-libstdc++ ++DXVK_NVAPI_CPPFLAGS = -msse -msse2 ++DXVK_NVAPI_LDFLAGS = -static -static-libgcc -static-libstdc++ + $(eval $(call rules-source,dxvk-nvapi,$(SRCDIR)/dxvk-nvapi)) $(eval $(call rules-meson,dxvk-nvapi,32,CROSS)) $(eval $(call rules-meson,dxvk-nvapi,64,CROSS)) -@@ -558,6 +599,9 @@ VKD3D_PROTON_MESON_ARGS32 = --bindir=$(VKD3D_PROTON_DST32)/lib/wine/vkd3d-proton +@@ -563,6 +604,9 @@ VKD3D_PROTON_MESON_ARGS32 = --bindir=$(VKD3D_PROTON_DST32)/lib/wine/vkd3d-proton VKD3D_PROTON_MESON_ARGS64 = --bindir=$(VKD3D_PROTON_DST64)/lib64/wine/vkd3d-proton VKD3D_PROTON_DEPENDS = glslang -+VKD3D_PROTON_CPPFLAGS= -msse -msse2 -+VKD3D_PROTON_LDFLAGS= -static -static-libgcc -static-libstdc++ ++VKD3D_PROTON_CPPFLAGS = -msse -msse2 ++VKD3D_PROTON_LDFLAGS = -static -static-libgcc -static-libstdc++ + $(eval $(call rules-source,vkd3d-proton,$(SRCDIR)/vkd3d-proton)) $(eval $(call rules-meson,vkd3d-proton,32,CROSS)) $(eval $(call rules-meson,vkd3d-proton,64,CROSS)) -@@ -813,14 +857,14 @@ $(FONTS_OBJ)/source-han/%.ttf: $$(%.ttf_CIDFONT) $$(%.ttf_FEATURES) $$(%.ttf_SEQ +@@ -822,14 +866,14 @@ $(FONTS_OBJ)/source-han/%.ttf: $$(%.ttf_CIDFONT) $$(%.ttf_FEATURES) $$(%.ttf_SEQ mkdir -p $(FONTS_OBJ)/source-han # Do not immediately create the target file, so that make is interrupted # it will restart again @@ -189,7 +189,7 @@ index fc46bafc..3f015828 100644 mv $@.tmp $@ $(FONTS_OBJ)/ume-gothic/%.ttf: $$(%.ttf_FONT) $$(%.ttf_NAMETABLE_PATCH) -@@ -830,12 +874,12 @@ $(FONTS_OBJ)/ume-gothic/%.ttf: $$(%.ttf_FONT) $$(%.ttf_NAMETABLE_PATCH) +@@ -839,12 +883,12 @@ $(FONTS_OBJ)/ume-gothic/%.ttf: $$(%.ttf_FONT) $$(%.ttf_NAMETABLE_PATCH) ttx -o $@ -m $($(notdir $@)_FONT) $(FONTS_OBJ)/ume-gothic/$(notdir $(basename $($(notdir $@)_NAMETABLE_PATCH))).ttx $(simsun.ttc): $(simsun.ttf) $(nsimsun.ttf) @@ -205,7 +205,7 @@ index fc46bafc..3f015828 100644 $(micross.ttf): $(FONTS)/scripts/merge.py $(noto_sans.ttf) $(noto_sans_arabic.ttf) $(noto_sans_armenian.ttf) $(noto_sans_bengali.ttf) $(noto_sans_coptic.ttf) \ $(noto_sans_georgian.ttf) $(noto_sans_gujarati.ttf) $(noto_sans_hebrew.ttf) $(noto_sans_khmer.ttf) $(noto_sans_tamil.ttf) \ -@@ -961,8 +1005,8 @@ all-dist: $(DIST_OVR32) $(DIST_OVR64) +@@ -970,8 +1014,8 @@ all-dist: $(DIST_OVR32) $(DIST_OVR64) ## default_pfx: wine gst_good gst_libav gst_plugins_rs lsteamclient steamexe vrclient wineopenxr dxvk dxvk-nvapi vkd3d-proton @@ -248,10 +248,10 @@ index 5ac60e8b..e580cd20 100644 "from_oslist" "windows" "to_oslist" "linux" diff --git a/configure.sh b/configure.sh -index f7b70544..98ca6ca7 100755 +index bc3ccc65..faa4d6e3 100755 --- a/configure.sh +++ b/configure.sh -@@ -123,6 +123,7 @@ function configure() { +@@ -128,6 +128,7 @@ function configure() { CONTAINER_MOUNT_OPTS=:Z fi @@ -259,7 +259,7 @@ index f7b70544..98ca6ca7 100755 if [[ -n "$arg_container_engine" ]]; then check_container_engine "$arg_container_engine" "$steamrt_image" || die "Specified container engine \"$arg_container_engine\" doesn't work" else -@@ -135,6 +136,7 @@ function configure() { +@@ -140,6 +141,7 @@ function configure() { die "${arg_container_engine:-Container engine discovery} has failed. Please fix your setup." fi fi @@ -420,7 +420,7 @@ index 5c3b59a3..ed6589e0 100644 winebuild --$(lastword $(subst ., ,$(4))) --fake-module -E "$(basename $(4)).spec" -o "$(4).fake" mkdir -p $$($(2)_LIBDIR$(3))/$(LIBDIR_WINE_$(3)) diff --git a/proton b/proton -index 7b8fed6c..f337e57c 100755 +index 11e5bab8..e288a61d 100755 --- a/proton +++ b/proton @@ -423,7 +423,6 @@ class Proton: @@ -431,7 +431,7 @@ index 7b8fed6c..f337e57c 100755 def path(self, d): return self.base_dir + d -@@ -1621,8 +1620,6 @@ if __name__ == "__main__": +@@ -1643,8 +1642,6 @@ if __name__ == "__main__": g_proton = Proton(os.path.dirname(sys.argv[0])) @@ -440,7 +440,7 @@ index 7b8fed6c..f337e57c 100755 g_compatdata = CompatData(os.environ["STEAM_COMPAT_DATA_PATH"]) -@@ -1631,7 +1628,8 @@ if __name__ == "__main__": +@@ -1653,7 +1650,8 @@ if __name__ == "__main__": g_session.init_wine() if g_proton.missing_default_prefix(): diff --git a/0002-AUR-Do-not-update-cargo-crates.patch b/0002-AUR-Do-not-update-cargo-crates.patch index 743ad2dd254d..c5d1ce4d371c 100644 --- a/0002-AUR-Do-not-update-cargo-crates.patch +++ b/0002-AUR-Do-not-update-cargo-crates.patch @@ -1,4 +1,4 @@ -From e803f1659dc3f2c42cb30b1389c66d427725d678 Mon Sep 17 00:00:00 2001 +From fe1e557f5cbbd6091e47978a18ce4d182dfd7ed4 Mon Sep 17 00:00:00 2001 From: Stelios Tsampas <loathingkernel@gmail.com> Date: Sun, 19 Mar 2023 10:56:59 +0200 Subject: [PATCH 2/3] AUR Do not update cargo crates diff --git a/0004-AUR-Copy-DLL-dependencies-of-32bit-libvkd3d-dlls-int.patch b/0004-AUR-Copy-DLL-dependencies-of-32bit-libvkd3d-dlls-int.patch index 1370897d753e..c3e2c5ed7046 100644 --- a/0004-AUR-Copy-DLL-dependencies-of-32bit-libvkd3d-dlls-int.patch +++ b/0004-AUR-Copy-DLL-dependencies-of-32bit-libvkd3d-dlls-int.patch @@ -1,4 +1,4 @@ -From 368a49743bcd9ed7b9a4f2dc2b49a117bbe1654a Mon Sep 17 00:00:00 2001 +From 6ec0e7d263b1026f2703cb19c5444fd7eb22663b Mon Sep 17 00:00:00 2001 From: Stelios Tsampas <loathingkernel@gmail.com> Date: Wed, 12 Jul 2023 03:16:34 +0300 Subject: [PATCH 3/3] AUR Copy DLL dependencies of 32bit libvkd3d dlls into the @@ -20,7 +20,7 @@ a runtime dependency. 1 file changed, 9 insertions(+) diff --git a/proton b/proton -index f337e57c..72274575 100755 +index e288a61d..01d414c2 100755 --- a/proton +++ b/proton @@ -911,6 +911,15 @@ class CompatData: @@ -1,12 +1,12 @@ # Maintainer: loathingkernel <loathingkernel _a_ gmail _d_ com> pkgname=proton -_srctag=8.0-2c +_srctag=8.0-3c _commit= -pkgver=8.0.2.3 # pkgver=${_srctag//-/.} +pkgver=8.0.3.3 # pkgver=${_srctag//-/.} _geckover=2.47.3 _monover=7.4.1 -pkgrel=9 +pkgrel=1 epoch=1 pkgdesc="Compatibility tool for Steam Play based on Wine and additional components" url="https://github.com/ValveSoftware/Proton" @@ -75,36 +75,12 @@ optdepends=( gst-plugins-base-libs lib32-gst-plugins-base-libs vulkan-icd-loader lib32-vulkan-icd-loader libgphoto2 - dosbox ) makedepends=(${makedepends[@]} ${depends[@]}) install=${pkgname}.install source=( proton::git+https://github.com/ValveSoftware/Proton.git#tag=proton-${_srctag} - wine-valve::git+https://github.com/ValveSoftware/wine.git - dxvk::git+https://github.com/doitsujin/dxvk.git - openvr::git+https://github.com/ValveSoftware/openvr.git - liberation-fonts::git+https://github.com/liberationfonts/liberation-fonts.git - gstreamer::git+https://gitlab.freedesktop.org/gstreamer/gstreamer.git - gst-plugins-base::git+https://gitlab.freedesktop.org/gstreamer/gst-plugins-base.git - gst-plugins-good::git+https://gitlab.freedesktop.org/gstreamer/gst-plugins-good.git - gst-orc::git+https://gitlab.freedesktop.org/gstreamer/orc.git - vkd3d-proton::git+https://github.com/HansKristian-Work/vkd3d-proton.git - OpenXR-SDK::git+https://github.com/KhronosGroup/OpenXR-SDK.git - dxvk-nvapi::git+https://github.com/jp7677/dxvk-nvapi.git - vkd3d-valve::git+https://github.com/ValveSoftware/vkd3d.git - Vulkan-Headers::git+https://github.com/KhronosGroup/Vulkan-Headers.git - SPIRV-Headers::git+https://github.com/KhronosGroup/SPIRV-Headers.git - Vulkan-Loader::git+https://github.com/KhronosGroup/Vulkan-Loader.git - glslang::git+https://github.com/KhronosGroup/glslang.git - gst-libav::git+https://gitlab.freedesktop.org/gstreamer/gst-libav.git - ffmpeg::git+https://git.ffmpeg.org/ffmpeg.git - dav1d::git+https://code.videolan.org/videolan/dav1d.git - gst-plugins-rs::git+https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs.git - dxil-spirv::git+https://github.com/HansKristian-Work/dxil-spirv.git - graphene::git+https://github.com/ebassi/graphene.git - libdisplay-info-dxvk::git+https://gitlab.freedesktop.org/JoshuaAshton/libdisplay-info.git https://dl.winehq.org/wine/wine-gecko/${_geckover}/wine-gecko-${_geckover}-x86{,_64}.tar.xz https://github.com/madewokherd/wine-mono/releases/download/wine-mono-${_monover}/wine-mono-${_monover}-x86.tar.xz 0001-AUR-Pkgbuild-changes.patch @@ -165,68 +141,10 @@ prepare() { mv "$srcdir"/wine-gecko-${_geckover}-x86{,_64}.tar.xz contrib/ mv "$srcdir"/wine-mono-${_monover}-x86.tar.xz contrib/ - _submodules=( - wine-valve::wine - dxvk - openvr - liberation-fonts::fonts/liberation-fonts - gstreamer - gst-plugins-base - gst-plugins-good - gst-orc - vkd3d-proton - OpenXR-SDK - dxvk-nvapi - vkd3d-valve::vkd3d - Vulkan-Headers - SPIRV-Headers - Vulkan-Loader - glslang - gst-libav - ffmpeg - dav1d - gst-plugins-rs - graphene - ) + git -c protocol.file.allow=always submodule update --init --filter=tree:0 --recursive - for submodule in "${_submodules[@]}"; do - git submodule init "${submodule#*::}" - git submodule set-url "${submodule#*::}" "$srcdir"/"${submodule%::*}" - git -c protocol.file.allow=always submodule update "${submodule#*::}" - done - - pushd dxvk - git submodule init include/{vulkan,spirv} - git submodule set-url include/vulkan "$srcdir/Vulkan-Headers" - git submodule set-url include/spirv "$srcdir/SPIRV-Headers" - git -c protocol.file.allow=always submodule update include/{vulkan,spirv} - - git submodule init subprojects/libdisplay-info - git submodule set-url subprojects/libdisplay-info "$srcdir/libdisplay-info-dxvk" - git -c protocol.file.allow=always submodule update subprojects/libdisplay-info - popd - - pushd vkd3d-proton - for submodule in subprojects/{dxil-spirv,Vulkan-Headers,SPIRV-Headers}; do - git submodule init "${submodule}" - git submodule set-url "${submodule}" "$srcdir"/"${submodule#*/}" - git -c protocol.file.allow=always submodule update "${submodule}" - done - pushd subprojects/dxil-spirv - git submodule init third_party/spirv-headers - git submodule set-url third_party/spirv-headers "$srcdir"/SPIRV-Headers - git -c protocol.file.allow=always submodule update third_party/spirv-headers - popd - popd - - pushd dxvk-nvapi - git submodule init external/Vulkan-Headers - git submodule set-url external/Vulkan-Headers "$srcdir"/Vulkan-Headers - git -c protocol.file.allow=always submodule update external/Vulkan-Headers - popd - - for submodule in gst-plugins-rs media-converter; do - pushd $submodule + for rustlib in gst-plugins-rs media-converter; do + pushd $rustlib export RUSTUP_TOOLCHAIN=stable export CARGO_HOME="${SRCDEST}"/proton-cargo cargo fetch --locked --target "i686-unknown-linux-gnu" @@ -238,15 +156,6 @@ prepare() { patch -p1 -i "$srcdir"/0002-AUR-Do-not-update-cargo-crates.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 - for submodule in "${_submodules[@]}"; do - rm -rf "$srcdir"/"${submodule%::*}" - done - rm -rf "$srcdir"/dxil-spirv - rm -rf "$srcdir"/Vulkan-Headers - rm -rf "$srcdir"/SPIRV-Headers - rm -rf "$srcdir"/libdisplay-info-dxvk } build() { @@ -340,35 +249,12 @@ package() { } sha256sums=('SKIP' - 'SKIP' - 'SKIP' - 'SKIP' - 'SKIP' - 'SKIP' - 'SKIP' - 'SKIP' - 'SKIP' - 'SKIP' - 'SKIP' - 'SKIP' - 'SKIP' - 'SKIP' - 'SKIP' - 'SKIP' - 'SKIP' - 'SKIP' - 'SKIP' - 'SKIP' - 'SKIP' - 'SKIP' - 'SKIP' - 'SKIP' '08d318f3dd6440a8a777cf044ccab039b0d9c8809991d2180eb3c9f903135db3' '0beac419c20ee2e68a1227b6e3fa8d59fec0274ed5e82d0da38613184716ef75' '1286afc67b0a329f5e2d98d9e803ca5906a841ad5486e9b3b1fefa1124b15622' - '353dc247853634613803706729e060bed6e7af7eb33e1dc0dfb1bc44b71518c1' - '83f66f5eb2bc9d2c29febdc4ad4e34ea971a24a754f3fb5e28426eb6a038f80f' - 'c1655a32751a266247dcce7214b9176763b22ab6fa3ec0622675562ef79ec4a7' + 'e8f649ad4a7010fce360561b12de69cc37d6a2a6f4484fc990426cc68958d1b5' + '96f1f6891a12dae0c8da9ba2407f5a69cac239e5f1a75b814d5053b86892127b' + '48fa081f39997e3f8eb876dba94d77045a6e4df92739556f9ebb1a8ad6c4281d' '20824bb565fefcad4aa978c54e0f8b9d9d17b7b52fb03fc87943150de148f06f') # Optional patches sha256sums+=( diff --git a/PKGBUILD.testing b/PKGBUILD.testing index dd2d984cb5ca..041eacefd4c0 100644 --- a/PKGBUILD.testing +++ b/PKGBUILD.testing @@ -1,12 +1,12 @@ # Maintainer: loathingkernel <loathingkernel _a_ gmail _d_ com> pkgname=proton -_srctag=8.0-2c +_srctag=8.0-3c _commit= -pkgver=8.0.2.3 # pkgver=${_srctag//-/.} +pkgver=8.0.3.3 # pkgver=${_srctag//-/.} _geckover=2.47.3 _monover=7.4.1 -pkgrel=9 +pkgrel=1 epoch=1 pkgdesc="Compatibility tool for Steam Play based on Wine and additional components" url="https://github.com/ValveSoftware/Proton" @@ -75,36 +75,12 @@ optdepends=( gst-plugins-base-libs lib32-gst-plugins-base-libs vulkan-icd-loader lib32-vulkan-icd-loader libgphoto2 - dosbox ) makedepends=(${makedepends[@]} ${depends[@]}) install=${pkgname}.install source=( proton::git+https://github.com/ValveSoftware/Proton.git#tag=proton-${_srctag} - wine-valve::git+https://github.com/ValveSoftware/wine.git - dxvk::git+https://github.com/doitsujin/dxvk.git - openvr::git+https://github.com/ValveSoftware/openvr.git - liberation-fonts::git+https://github.com/liberationfonts/liberation-fonts.git - gstreamer::git+https://gitlab.freedesktop.org/gstreamer/gstreamer.git - gst-plugins-base::git+https://gitlab.freedesktop.org/gstreamer/gst-plugins-base.git - gst-plugins-good::git+https://gitlab.freedesktop.org/gstreamer/gst-plugins-good.git - gst-orc::git+https://gitlab.freedesktop.org/gstreamer/orc.git - vkd3d-proton::git+https://github.com/HansKristian-Work/vkd3d-proton.git - OpenXR-SDK::git+https://github.com/KhronosGroup/OpenXR-SDK.git - dxvk-nvapi::git+https://github.com/jp7677/dxvk-nvapi.git - vkd3d-valve::git+https://github.com/ValveSoftware/vkd3d.git - Vulkan-Headers::git+https://github.com/KhronosGroup/Vulkan-Headers.git - SPIRV-Headers::git+https://github.com/KhronosGroup/SPIRV-Headers.git - Vulkan-Loader::git+https://github.com/KhronosGroup/Vulkan-Loader.git - glslang::git+https://github.com/KhronosGroup/glslang.git - gst-libav::git+https://gitlab.freedesktop.org/gstreamer/gst-libav.git - ffmpeg::git+https://git.ffmpeg.org/ffmpeg.git - dav1d::git+https://code.videolan.org/videolan/dav1d.git - gst-plugins-rs::git+https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs.git - dxil-spirv::git+https://github.com/HansKristian-Work/dxil-spirv.git - graphene::git+https://github.com/ebassi/graphene.git - libdisplay-info-dxvk::git+https://gitlab.freedesktop.org/JoshuaAshton/libdisplay-info.git https://dl.winehq.org/wine/wine-gecko/${_geckover}/wine-gecko-${_geckover}-x86{,_64}.tar.xz https://github.com/madewokherd/wine-mono/releases/download/wine-mono-${_monover}/wine-mono-${_monover}-x86.tar.xz 0001-AUR-Pkgbuild-changes.patch @@ -165,68 +141,10 @@ prepare() { mv "$srcdir"/wine-gecko-${_geckover}-x86{,_64}.tar.xz contrib/ mv "$srcdir"/wine-mono-${_monover}-x86.tar.xz contrib/ - _submodules=( - wine-valve::wine - dxvk - openvr - liberation-fonts::fonts/liberation-fonts - gstreamer - gst-plugins-base - gst-plugins-good - gst-orc - vkd3d-proton - OpenXR-SDK - dxvk-nvapi - vkd3d-valve::vkd3d - Vulkan-Headers - SPIRV-Headers - Vulkan-Loader - glslang - gst-libav - ffmpeg - dav1d - gst-plugins-rs - graphene - ) + git -c protocol.file.allow=always submodule update --init --filter=tree:0 --recursive - for submodule in "${_submodules[@]}"; do - git submodule init "${submodule#*::}" - git submodule set-url "${submodule#*::}" "$srcdir"/"${submodule%::*}" - git -c protocol.file.allow=always submodule update "${submodule#*::}" - done - - pushd dxvk - git submodule init include/{vulkan,spirv} - git submodule set-url include/vulkan "$srcdir/Vulkan-Headers" - git submodule set-url include/spirv "$srcdir/SPIRV-Headers" - git -c protocol.file.allow=always submodule update include/{vulkan,spirv} - - git submodule init subprojects/libdisplay-info - git submodule set-url subprojects/libdisplay-info "$srcdir/libdisplay-info-dxvk" - git -c protocol.file.allow=always submodule update subprojects/libdisplay-info - popd - - pushd vkd3d-proton - for submodule in subprojects/{dxil-spirv,Vulkan-Headers,SPIRV-Headers}; do - git submodule init "${submodule}" - git submodule set-url "${submodule}" "$srcdir"/"${submodule#*/}" - git -c protocol.file.allow=always submodule update "${submodule}" - done - pushd subprojects/dxil-spirv - git submodule init third_party/spirv-headers - git submodule set-url third_party/spirv-headers "$srcdir"/SPIRV-Headers - git -c protocol.file.allow=always submodule update third_party/spirv-headers - popd - popd - - pushd dxvk-nvapi - git submodule init external/Vulkan-Headers - git submodule set-url external/Vulkan-Headers "$srcdir"/Vulkan-Headers - git -c protocol.file.allow=always submodule update external/Vulkan-Headers - popd - - for submodule in gst-plugins-rs media-converter; do - pushd $submodule + for rustlib in gst-plugins-rs media-converter; do + pushd $rustlib export RUSTUP_TOOLCHAIN=stable export CARGO_HOME="${SRCDEST}"/proton-cargo cargo fetch --locked --target "i686-unknown-linux-gnu" @@ -238,15 +156,6 @@ prepare() { patch -p1 -i "$srcdir"/0002-AUR-Do-not-update-cargo-crates.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 - for submodule in "${_submodules[@]}"; do - rm -rf "$srcdir"/"${submodule%::*}" - done - rm -rf "$srcdir"/dxil-spirv - rm -rf "$srcdir"/Vulkan-Headers - rm -rf "$srcdir"/SPIRV-Headers - rm -rf "$srcdir"/libdisplay-info-dxvk } build() { @@ -343,29 +252,6 @@ package() { } sha256sums=('SKIP' - 'SKIP' - 'SKIP' - 'SKIP' - 'SKIP' - 'SKIP' - 'SKIP' - 'SKIP' - 'SKIP' - 'SKIP' - 'SKIP' - 'SKIP' - 'SKIP' - 'SKIP' - 'SKIP' - 'SKIP' - 'SKIP' - 'SKIP' - 'SKIP' - 'SKIP' - 'SKIP' - 'SKIP' - 'SKIP' - 'SKIP' '08d318f3dd6440a8a777cf044ccab039b0d9c8809991d2180eb3c9f903135db3' '0beac419c20ee2e68a1227b6e3fa8d59fec0274ed5e82d0da38613184716ef75' '1286afc67b0a329f5e2d98d9e803ca5906a841ad5486e9b3b1fefa1124b15622' |