Skip to content

Commit

Permalink
[proton-cachyos] Version 9.0-20240509 (#201)
Browse files Browse the repository at this point in the history
  • Loading branch information
loathingKernel authored May 10, 2024
1 parent a935537 commit 837d142
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 146 deletions.
10 changes: 3 additions & 7 deletions proton-cachyos/proton-cachyos/.SRCINFO
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
pkgbase = proton-cachyos
pkgdesc = Compatibility tool for Steam Play based on Wine and additional components, experimental branch with extra CachyOS flavour
pkgver = 9.0
pkgrel = 13
pkgrel = 14
url = https://github.com/cachyos/proton-cachyos
install = proton-cachyos.install
arch = x86_64
Expand Down Expand Up @@ -136,35 +136,31 @@ pkgbase = proton-cachyos
options = !lto
options = !debug
options = emptydirs
source = proton::git+https://github.com/CachyOS/proton-cachyos.git#branch=cachyos_9.0_20240503b
source = proton-cachyos::git+https://github.com/CachyOS/proton-cachyos.git#tag=cachyos-9.0-20240509
source = https://dl.winehq.org/wine/wine-gecko/2.47.4/wine-gecko-2.47.4-x86.tar.xz
source = https://dl.winehq.org/wine/wine-gecko/2.47.4/wine-gecko-2.47.4-x86_64.tar.xz
source = https://github.com/madewokherd/wine-mono/releases/download/wine-mono-9.1.0/wine-mono-9.1.0-x86.tar.xz
source = https://github.com/madewokherd/xalia/releases/download/xalia-0.4.1/xalia-0.4.1-net48-mono.zip
source = server-Enable-link-time-optimization.patch
source = amd-fsr.patch
source = optimization.patch
source = dxvk-reflex.patch
source = wine-reflex.patch
source = fastsync.patch
source = disable-fastsync.patch
source = wayland-upstream.patch
source = apex-fix.patch
source = media-converter.patch
sha256sums = SKIP
sha256sums = b22f030b48c0f8843a19c2027b97c200912c359c18b948106746b0240e7cabcf
sha256sums = 2cfc8d5c948602e21eff8a78613e1826f2d033df9672cace87fed56e8310afb6
sha256sums = fd88fc7e537d058d7a8abf0c1ebc90c574892a466de86706a26d254710a82814
sha256sums = 601169d0203b291fbfd946b356a9538855e01de22abd470ded73baf312c88767
sha256sums = a652c3289fb444efb2fbd8b5757484e21ffe6a537b3a3f9a0fbb04a9a10afcba
sha256sums = 369193510b9309fc9cb80fc204220599583677a59976c7f434c2a33871b0cbe1
sha256sums = f619015fa7c8c782023f46b2752d34726fcfec0c62746675f88ce0a3cfa6cc76
sha256sums = 2f30e393b5e6c371a68ad6b5b6693d35412d30ba7e3963bc65a650c9c29ff569
sha256sums = 7b36b2ddf9e61d095f44aa7f7d41107addbbf9c435f338840718af3fd426f53f
sha256sums = 36e601bf53a3e938bffd0b6f02432930a53a652b732a503aa29944c043def690
sha256sums = aca568c20741784b0a9ae4628e97eff1e9b1a4643974bd8c36ae0d692450f2c3
sha256sums = 25776bc421be4a083c64f1fd232bbd67e24bde6ad9975281ad716dc2ce4d7888
sha256sums = 416350c345db4c680f825d89b0eea79dbef668f671b18f7f792bbeb4b9e59e18
sha256sums = a35e3484d386531aa26f6a7d1ea8e73f92ff6328c689e802c5de7e2f0f50ab11
sha256sums = b211d9fbbf454b580ffe5a9fba8d8c57d14507def5a84afc37966805623df272

pkgname = proton-cachyos
31 changes: 12 additions & 19 deletions proton-cachyos/proton-cachyos/PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,13 @@
# Maintainer: loathingkernel <loathingkernel _a_ gmail _d_ com>

pkgname=proton-cachyos
_srctag=9.0-20240411
_branch=cachyos_9.0_20240503b
_srctag=9.0-20240509
_commit=
pkgver=9.0
_geckover=2.47.4
_monover=9.1.0
_xaliaver=0.4.1
pkgrel=13
pkgrel=14
pkgdesc="Compatibility tool for Steam Play based on Wine and additional components, experimental branch with extra CachyOS flavour"
url="https://github.com/cachyos/proton-cachyos"
arch=(x86_64 x86_64_v3)
Expand Down Expand Up @@ -94,19 +93,17 @@ optdepends=(
provides=('proton')
install=${pkgname}.install
source=(
proton::git+https://github.com/CachyOS/proton-cachyos.git#branch=${_branch}
proton-cachyos::git+https://github.com/CachyOS/proton-cachyos.git#tag=cachyos-${_srctag}
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
https://github.com/madewokherd/xalia/releases/download/xalia-${_xaliaver}/xalia-${_xaliaver}-net48-mono.zip
server-Enable-link-time-optimization.patch
amd-fsr.patch
optimization.patch
dxvk-reflex.patch
wine-reflex.patch
fastsync.patch
disable-fastsync.patch
wayland-upstream.patch
apex-fix.patch
media-converter.patch
)
noextract=(
Expand Down Expand Up @@ -157,15 +154,15 @@ prepare() {

[ ! -d build ] && mkdir build

cd proton
cd proton-cachyos

[ ! -d contrib ] && mkdir -p contrib
mv "$srcdir"/wine-gecko-${_geckover}-x86{,_64}.tar.xz contrib/
mv "$srcdir"/wine-mono-${_monover}-x86.tar.xz contrib/
mv "$srcdir"/xalia-${_xaliaver}-net48-mono.zip contrib/

# Explicitly set origin URL for submodules using relative paths
git remote set-url origin https://github.com/ValveSoftware/Proton.git
git remote set-url origin https://github.com/CachyOS/proton-cachyos.git
git submodule update --init --filter=tree:0 --recursive

for rustlib in gst-plugins-rs; do
Expand All @@ -178,17 +175,18 @@ prepare() {
popd
done

cd $srcdir/proton
# echo "Disable Fastsync as default"
# patch -Np1 -i "$srcdir"/disable-fastsync.patch

# Manually apply backport, to not depend on the latest srctag from loathing
local _c _l
for _c in "${_backports[@]}"; do
if [[ "${_c}" == *..* ]]; then _l='--reverse'; else _l='--max-count=1'; fi
git log --oneline "${_l}" "${_c}"
git cherry-pick --mainline 1 --no-commit "${_c}"
done
cd $srcdir/proton/wine

cd $srcdir/proton-cachyos/wine
echo "Wine: Enable LTO for wineserver"
patch -Np1 -i "$srcdir"/server-Enable-link-time-optimization.patch
echo "Wine: FSR"
Expand All @@ -200,23 +198,20 @@ prepare() {
## Dropped due failures with GCC 14
# echo "Wine: Enable Fastsync/NTSync"
# patch -Np1 -i "$srcdir"/fastsync.patch
echo "Wine: Fixup Apex"
patch -Np1 -i "$srcdir"/apex-fix.patch
echo "Wine: Add env var for media converter"
patch -Np1 -i "$srcdir"/media-converter.patch
cd $srcdir/proton/dxvk

cd $srcdir/proton-cachyos/dxvk
echo "dxvk: Enable Reflex"
patch -Np1 -i "$srcdir"/dxvk-reflex.patch


}

build() {
export PATH="$(pwd)/wrappers:$PATH"

cd build
ROOTLESS_CONTAINER="" \
../proton/configure.sh \
../proton-cachyos/configure.sh \
--container-engine="none" \
--proton-sdk-image="" \
--build-name="${pkgname}"
Expand Down Expand Up @@ -292,19 +287,17 @@ package() {
$(find "$_monodir" -iname "*x86_64.dll" -or -iname "*x86_64.exe")
}

sha256sums=('SKIP'
sha256sums=('b22f030b48c0f8843a19c2027b97c200912c359c18b948106746b0240e7cabcf'
'2cfc8d5c948602e21eff8a78613e1826f2d033df9672cace87fed56e8310afb6'
'fd88fc7e537d058d7a8abf0c1ebc90c574892a466de86706a26d254710a82814'
'601169d0203b291fbfd946b356a9538855e01de22abd470ded73baf312c88767'
'a652c3289fb444efb2fbd8b5757484e21ffe6a537b3a3f9a0fbb04a9a10afcba'
'369193510b9309fc9cb80fc204220599583677a59976c7f434c2a33871b0cbe1'
'f619015fa7c8c782023f46b2752d34726fcfec0c62746675f88ce0a3cfa6cc76'
'2f30e393b5e6c371a68ad6b5b6693d35412d30ba7e3963bc65a650c9c29ff569'
'7b36b2ddf9e61d095f44aa7f7d41107addbbf9c435f338840718af3fd426f53f'
'36e601bf53a3e938bffd0b6f02432930a53a652b732a503aa29944c043def690'
'aca568c20741784b0a9ae4628e97eff1e9b1a4643974bd8c36ae0d692450f2c3'
'25776bc421be4a083c64f1fd232bbd67e24bde6ad9975281ad716dc2ce4d7888'
'416350c345db4c680f825d89b0eea79dbef668f671b18f7f792bbeb4b9e59e18'
'a35e3484d386531aa26f6a7d1ea8e73f92ff6328c689e802c5de7e2f0f50ab11'
'b211d9fbbf454b580ffe5a9fba8d8c57d14507def5a84afc37966805623df272')

96 changes: 0 additions & 96 deletions proton-cachyos/proton-cachyos/apex-fix.patch

This file was deleted.

24 changes: 0 additions & 24 deletions proton-cachyos/proton-cachyos/optimization.patch

This file was deleted.

0 comments on commit 837d142

Please sign in to comment.