summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorStelios Tsampas2024-05-26 17:58:59 +0300
committerStelios Tsampas2024-05-26 18:17:22 +0300
commitfd760df14d64b022cd4a2bd80c10bf031e0749b2 (patch)
tree456b49777d2edd70737376b5d320eade64ab5c14
parent824049d2fb9f975120d2ae8415e5356ed273bb14 (diff)
downloadaur-fd760df14d64b022cd4a2bd80c10bf031e0749b2.tar.gz
wine-ge-custom: Manually revert
-rw-r--r--.SRCINFO31
-rw-r--r--PKGBUILD77
2 files changed, 44 insertions, 64 deletions
diff --git a/.SRCINFO b/.SRCINFO
index ade674716f94..263830393ee3 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,13 +1,13 @@
pkgbase = wine-ge-custom
pkgdesc = A compatibility layer for running Windows programs - GloriousEggroll branch
- pkgver = GE.Proton9.5
- pkgrel = 1
+ pkgver = GE.Proton8.26
+ pkgrel = 2
epoch = 1
url = https://github.com/GloriousEggroll/wine-ge-custom
install = wine.install
arch = x86_64
arch = x86_64_v3
- license = LGPL-2.1-or-later
+ license = LGPL
makedepends = autoconf
makedepends = bison
makedepends = perl
@@ -51,12 +51,8 @@ pkgbase = wine-ge-custom
makedepends = lib32-vulkan-icd-loader
makedepends = sdl2
makedepends = lib32-sdl2
- makedepends = libcups
- makedepends = lib32-libcups
- makedepends = sane
makedepends = libgphoto2
makedepends = ffmpeg
- makedepends = samba
makedepends = opencl-headers
depends = attr
depends = lib32-attr
@@ -77,10 +73,6 @@ pkgbase = wine-ge-custom
depends = libpcap
depends = lib32-libpcap
depends = desktop-file-utils
- depends = libxkbcommon
- depends = lib32-libxkbcommon
- depends = wayland
- depends = lib32-wayland
optdepends = giflib
optdepends = lib32-giflib
optdepends = gnutls
@@ -111,28 +103,25 @@ pkgbase = wine-ge-custom
optdepends = lib32-vulkan-icd-loader
optdepends = sdl2
optdepends = lib32-sdl2
- optdepends = sane
optdepends = libgphoto2
optdepends = ffmpeg
- optdepends = cups
- optdepends = samba
optdepends = dosbox
- provides = wine=9.0
+ provides = wine=8.0
conflicts = wine
options = !staticlibs
options = !lto
options = !debug
- source = wine-ge-custom::git+https://github.com/loathingKernel/wine-ge-custom.git#tag=GE-Proton9-5
- source = 30-win32-aliases.conf
- source = wine-binfmt.conf
+ source = wine-ge-custom::git+https://github.com/GloriousEggroll/wine-ge-custom.git#commit=21f5f463cb761b94bcd00553f924f55516389f5b
source = wine-wmclass.patch
source = wine-isolate_home.patch
+ source = 30-win32-aliases.conf
+ source = wine-binfmt.conf
validpgpkeys = 5AC1A08B03BD7A313E0A955AF5E6E9EEB9461DD7
validpgpkeys = DA23579A74D4AD9AF9D3F945CEFAC8EAAF17519D
- sha512sums = efc352176d9c34f87ddebbc754e3e3f91b7c92ce5f24effc00d68d1f7da9e02e9e31be8658f384febc502d4f1b0761070867611a3c476ebe2c6d421da5628ed8
- sha512sums = 6e54ece7ec7022b3c9d94ad64bdf1017338da16c618966e8baf398e6f18f80f7b0576edf1d1da47ed77b96d577e4cbb2bb0156b0b11c183a0accf22654b0a2bb
- sha512sums = bdde7ae015d8a98ba55e84b86dc05aca1d4f8de85be7e4bd6187054bfe4ac83b5a20538945b63fb073caab78022141e9545685e4e3698c97ff173cf30859e285
+ sha512sums = SKIP
sha512sums = 30437d8ee92c5741fa50a7fe346ccfc48ba809dad0d740903a05a67781d23ea38a5094038a070a253e3fdd8046783b46a5420df6361bdd30cb229d3d88107569
sha512sums = 3dcdbd523fcbe79b9e9e9b026b9d0a5edf296514c7b48bd465d2dc05a8ca08e23ba8817e2de08edfe52286a2a2f81db42b65f71254cabe496752b9d45131d282
+ sha512sums = 6e54ece7ec7022b3c9d94ad64bdf1017338da16c618966e8baf398e6f18f80f7b0576edf1d1da47ed77b96d577e4cbb2bb0156b0b11c183a0accf22654b0a2bb
+ sha512sums = bdde7ae015d8a98ba55e84b86dc05aca1d4f8de85be7e4bd6187054bfe4ac83b5a20538945b63fb073caab78022141e9545685e4e3698c97ff173cf30859e285
pkgname = wine-ge-custom
diff --git a/PKGBUILD b/PKGBUILD
index 86a9cd8aa6a0..e2e01bcd5cda 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -6,29 +6,26 @@
# Contributor: Giovanni Scafora <giovanni@archlinux.org>
pkgname=wine-ge-custom
-_srctag=GE-Proton9-5
+_srctag=GE-Proton8-26
+_commit=21f5f463cb761b94bcd00553f924f55516389f5b
pkgver=${_srctag//-/.}
-pkgrel=1
+pkgrel=2
epoch=1
_pkgbasever=${pkgver/rc/-rc}
_winever=$_pkgbasever
#_winever=${_pkgbasever%.*}
-source=(wine-ge-custom::git+https://github.com/loathingKernel/wine-ge-custom.git#tag=${_srctag}
- 30-win32-aliases.conf
- wine-binfmt.conf)
-source+=(
+source=(wine-ge-custom::git+https://github.com/GloriousEggroll/wine-ge-custom.git#commit=${_commit}
wine-wmclass.patch
wine-isolate_home.patch
-)
-sha512sums=('efc352176d9c34f87ddebbc754e3e3f91b7c92ce5f24effc00d68d1f7da9e02e9e31be8658f384febc502d4f1b0761070867611a3c476ebe2c6d421da5628ed8'
- '6e54ece7ec7022b3c9d94ad64bdf1017338da16c618966e8baf398e6f18f80f7b0576edf1d1da47ed77b96d577e4cbb2bb0156b0b11c183a0accf22654b0a2bb'
- 'bdde7ae015d8a98ba55e84b86dc05aca1d4f8de85be7e4bd6187054bfe4ac83b5a20538945b63fb073caab78022141e9545685e4e3698c97ff173cf30859e285')
-sha512sums+=(
+ 30-win32-aliases.conf
+ wine-binfmt.conf)
+sha512sums=('SKIP'
'30437d8ee92c5741fa50a7fe346ccfc48ba809dad0d740903a05a67781d23ea38a5094038a070a253e3fdd8046783b46a5420df6361bdd30cb229d3d88107569'
'3dcdbd523fcbe79b9e9e9b026b9d0a5edf296514c7b48bd465d2dc05a8ca08e23ba8817e2de08edfe52286a2a2f81db42b65f71254cabe496752b9d45131d282'
-)
+ '6e54ece7ec7022b3c9d94ad64bdf1017338da16c618966e8baf398e6f18f80f7b0576edf1d1da47ed77b96d577e4cbb2bb0156b0b11c183a0accf22654b0a2bb'
+ 'bdde7ae015d8a98ba55e84b86dc05aca1d4f8de85be7e4bd6187054bfe4ac83b5a20538945b63fb073caab78022141e9545685e4e3698c97ff173cf30859e285')
validpgpkeys=(5AC1A08B03BD7A313E0A955AF5E6E9EEB9461DD7
DA23579A74D4AD9AF9D3F945CEFAC8EAAF17519D)
@@ -36,7 +33,7 @@ pkgdesc="A compatibility layer for running Windows programs - GloriousEggroll br
url="https://github.com/GloriousEggroll/wine-ge-custom"
arch=(x86_64 x86_64_v3)
options=(!staticlibs !lto !debug)
-license=(LGPL-2.1-or-later)
+license=(LGPL)
depends=(
attr lib32-attr
@@ -50,10 +47,6 @@ depends=(
libpcap lib32-libpcap
desktop-file-utils
)
-depends+=(
- libxkbcommon lib32-libxkbcommon
- wayland lib32-wayland
-)
makedepends=(autoconf bison perl flex mingw-w64-gcc
git
@@ -76,11 +69,8 @@ makedepends=(autoconf bison perl flex mingw-w64-gcc
gst-plugins-good lib32-gst-plugins-good
vulkan-icd-loader lib32-vulkan-icd-loader
sdl2 lib32-sdl2
- libcups lib32-libcups
- sane
libgphoto2
ffmpeg
- samba
opencl-headers
)
@@ -100,14 +90,12 @@ optdepends=(
gst-plugins-good lib32-gst-plugins-good
vulkan-icd-loader lib32-vulkan-icd-loader
sdl2 lib32-sdl2
- sane
libgphoto2
ffmpeg
- cups
- samba dosbox
+ dosbox
)
-provides=("wine=9.0")
+provides=("wine=8.0")
conflicts=('wine')
install=wine.install
@@ -117,26 +105,34 @@ prepare() {
mkdir $pkgname-{32,64}-build
pushd $pkgname
- git remote set-url origin https://github.com/loathingKernel/wine-ge-custom.git
- git submodule update --init --filter=tree:0 --recursive wine wine-staging
- ./patches/protonprep-lutris-staging.sh
- pushd wine
+ git remote set-url origin https://github.com/gloriouseggroll/wine-ge-custom.git
+ git submodule update --init --filter=tree:0 --recursive proton-wine
+ pushd proton-wine
patch -p1 -i "$srcdir"/wine-wmclass.patch
patch -p1 -i "$srcdir"/wine-isolate_home.patch
git config user.email "makepkg@aur.not"
git config user.name "makepkg aur"
- git tag wine-ge-9.0 --annotate -m "$pkgver"
- ./tools/make_specfiles
- ./tools/make_requests
- ./dlls/winevulkan/make_vulkan
+ git tag wine-ge-8.0 --annotate -m "$pkgver"
+ dlls/winevulkan/make_vulkan
+ tools/make_requests
autoreconf -f
popd
popd
+
+ # Doesn't compile without remove these flags as of 4.10
+ export CFLAGS="${CFLAGS/-fno-plt/}"
+ export LDFLAGS="${LDFLAGS/,-z,now/}"
}
build() {
+ cd "$srcdir"
+
# Doesn't compile without remove these flags as of 4.10
- export CFLAGS="$CFLAGS -ffat-lto-objects"
+ export CFLAGS="${CFLAGS/-fno-plt/}"
+ export CXXFLAGS="${CXXFLAGS/-fno-plt/}"
+ export LDFLAGS="${LDFLAGS/,-z,now/}"
+ # MingW Wine builds fail with relro
+ export LDFLAGS="${LDFLAGS/,-z,relro/}"
local -a split=($CFLAGS)
local -A flags
@@ -147,14 +143,11 @@ build() {
# From Proton
OPTIMIZE_FLAGS="-O3 -march=$march -mtune=$mtune -mfpmath=sse -pipe -fno-semantic-interposition"
SANITY_FLAGS="-fwrapv -fno-strict-aliasing"
- WARNING_FLAGS="-Wno-incompatible-pointer-types"
- COMMON_FLAGS="$OPTIMIZE_FLAGS $SANITY_FLAGS $WARNING_FLAGS -s"
+ COMMON_FLAGS="$OPTIMIZE_FLAGS $SANITY_FLAGS -s"
export LDFLAGS="-Wl,-O1,--sort-common,--as-needed"
export CROSSLDFLAGS="$LDFLAGS -Wl,--file-alignment,4096"
- cd "$srcdir"
-
msg2 "Building Wine-64..."
export CFLAGS="$COMMON_FLAGS -mcmodel=small"
@@ -163,11 +156,10 @@ build() {
export CROSSCXXFLAGS="$CXXFLAGS"
export PKG_CONFIG_PATH="/usr/lib/pkgconfig:/usr/share/pkgconfig"
cd "$srcdir/$pkgname-64-build"
- ../$pkgname/wine/configure \
+ ../$pkgname/proton-wine/configure \
--prefix=/usr \
--libdir=/usr/lib \
--with-x \
- --with-wayland \
--with-gstreamer \
--with-mingw \
--with-alsa \
@@ -188,10 +180,9 @@ build() {
export CROSSCXXFLAGS="$CXXFLAGS"
export PKG_CONFIG_PATH="/usr/lib32/pkgconfig:/usr/share/pkgconfig"
cd "$srcdir/$pkgname-32-build"
- ../$pkgname/wine/configure \
+ ../$pkgname/proton-wine/configure \
--prefix=/usr \
--with-x \
- --with-wayland \
--with-gstreamer \
--with-mingw \
--with-alsa \
@@ -228,8 +219,8 @@ package() {
i686-w64-mingw32-strip --strip-unneeded "$pkgdir"/usr/lib32/wine/i386-windows/*.{dll,exe}
x86_64-w64-mingw32-strip --strip-unneeded "$pkgdir"/usr/lib/wine/x86_64-windows/*.{dll,exe}
- find "$pkgdir"/usr/lib{,32}/wine -iname "*.a" -delete
- find "$pkgdir"/usr/lib{,32}/wine -iname "*.def" -delete
+ #find "$pkgdir"/usr/lib{,32}/wine -iname "*.a" -delete
+ #find "$pkgdir"/usr/lib{,32}/wine -iname "*.def" -delete
}
# vim:set ts=8 sts=2 sw=2 et: