diff options
author | Stelios Tsampas | 2024-03-05 00:54:40 +0200 |
---|---|---|
committer | Stelios Tsampas | 2024-03-05 00:58:04 +0200 |
commit | d51628f662c6f7d791bf61627362da00bc853593 (patch) | |
tree | daa4cd37e3a06ff96ade8df3e325c942e37a5c4e | |
parent | 26eaad4f956121ea964bef11759d20b31fe38c52 (diff) | |
download | aur-d51628f662c6f7d791bf61627362da00bc853593.tar.gz |
[proton-experimental] Wineserver LTO
-rw-r--r-- | .SRCINFO | 4 | ||||
-rw-r--r-- | PKGBUILD | 7 | ||||
-rw-r--r-- | server-Enable-link-time-optimization.patch | 24 |
3 files changed, 32 insertions, 3 deletions
@@ -1,7 +1,7 @@ pkgbase = proton-experimental pkgdesc = Compatibility tool for Steam Play based on Wine and additional components, experimental branch pkgver = 9.0.20240301 - pkgrel = 3 + pkgrel = 4 epoch = 1 url = https://github.com/ValveSoftware/Proton install = proton-experimental.install @@ -144,6 +144,7 @@ pkgbase = proton-experimental source = 0007-AUR-Enable-winewayland.patch source = 0001-fshack-AMD-FSR-complete.patch source = 4947.patch + source = server-Enable-link-time-optimization.patch sha256sums = SKIP sha256sums = 2cfc8d5c948602e21eff8a78613e1826f2d033df9672cace87fed56e8310afb6 sha256sums = fd88fc7e537d058d7a8abf0c1ebc90c574892a466de86706a26d254710a82814 @@ -157,5 +158,6 @@ pkgbase = proton-experimental sha256sums = b7297cabb316eb9621ec1abade892143392eba5fdbd3bd496df7992a7c9d7358 sha256sums = 3d308f8e87361669267fa52b986c24f1dea1913156a045f43ea04e02f7444b18 sha256sums = 0f9ddda17319e3ef23ee847c0a740bf74847796d4b3cf61b05feb9aa3141b7c7 + sha256sums = SKIP pkgname = proton-experimental @@ -6,7 +6,7 @@ _commit= pkgver=${_srctag//-/.} _geckover=2.47.4 _monover=9.0.0 -pkgrel=3 +pkgrel=4 epoch=1 pkgdesc="Compatibility tool for Steam Play based on Wine and additional components, experimental branch" url="https://github.com/ValveSoftware/Proton" @@ -99,6 +99,7 @@ source+=( 0007-AUR-Enable-winewayland.patch 0001-fshack-AMD-FSR-complete.patch 4947.patch + server-Enable-link-time-optimization.patch ) noextract=( wine-gecko-${_geckover}-{x86,x86_64}.tar.xz @@ -176,6 +177,7 @@ prepare() { pushd wine patch -p1 -i "$srcdir"/0001-fshack-AMD-FSR-complete.patch patch -p1 -i "$srcdir"/4947.patch + patch -p1 -i "$srcdir"/server-Enable-link-time-optimization.patch popd } @@ -285,4 +287,5 @@ sha256sums=('SKIP' '89baf181f197a6156507841c018fd81c8f934f77161ba90f5ee6466677428235' 'b7297cabb316eb9621ec1abade892143392eba5fdbd3bd496df7992a7c9d7358' '3d308f8e87361669267fa52b986c24f1dea1913156a045f43ea04e02f7444b18' - '0f9ddda17319e3ef23ee847c0a740bf74847796d4b3cf61b05feb9aa3141b7c7') + '0f9ddda17319e3ef23ee847c0a740bf74847796d4b3cf61b05feb9aa3141b7c7' + 'SKIP') diff --git a/server-Enable-link-time-optimization.patch b/server-Enable-link-time-optimization.patch new file mode 100644 index 000000000000..3b7367cc1562 --- /dev/null +++ b/server-Enable-link-time-optimization.patch @@ -0,0 +1,24 @@ +From 20947fbd978f98d430c2d586806487dc41844051 Mon Sep 17 00:00:00 2001 +From: Torge Matthies <openglfreak@googlemail.com> +Date: Tue, 7 Dec 2021 21:51:07 +0100 +Subject: [PATCH] server: Enable link-time optimization. + +--- + server/Makefile.in | 3 ++- + 1 file changed, 2 insertions(+), 1 deletion(-) + +diff --git a/server/Makefile.in b/server/Makefile.in +index 739d0517339..2885cff4d10 100644 +--- a/server/Makefile.in ++++ b/server/Makefile.in +@@ -49,6 +49,7 @@ MANPAGES = \ + wineserver.fr.UTF-8.man.in \ + wineserver.man.in + +-UNIX_LIBS = $(LDEXECFLAGS) $(RT_LIBS) $(INOTIFY_LIBS) $(PROCSTAT_LIBS) ++UNIX_LIBS = $(LDEXECFLAGS) $(RT_LIBS) $(INOTIFY_LIBS) $(PROCSTAT_LIBS) -flto=auto -flto-partition=one -fdevirtualize-at-ltrans $(CFLAGS) ++EXTRADEFS = -flto=auto -flto-partition=one -fdevirtualize-at-ltrans + + unicode_EXTRADEFS = -DNLSDIR="\"${nlsdir}\"" -DBIN_TO_NLSDIR=\"`${MAKEDEP} -R ${bindir} ${nlsdir}`\" +-- +2.34.1 |