https://bugs.winehq.org/show_bug.cgi?id=56039
--- Comment #4 from Cedric cedric.dewijs@eclipso.eu --- I'm looking at the differences between the PKGBUILD files for wine-8.21 (that can emulate windows98), and wine-9.0rc2 (that cannot emulate windows 98):
wine-8.21: https://gitlab.archlinux.org/archlinux/packaging/packages/wine/-/blob/main/P... build() { cd "$srcdir"
msg2 "Building Wine-64..."
mkdir $pkgname-64-build cd "$srcdir/$pkgname-64-build" ../$pkgname/configure \ --prefix=/usr \ --libdir=/usr/lib \ --with-x \ --with-gstreamer \ --enable-win64 # Gstreamer was disabled for FS#33655
make
_wine32opts=( --libdir=/usr/lib32 --with-wine64="$srcdir/$pkgname-64-build" )
export PKG_CONFIG_PATH="/usr/lib32/pkgconfig"
msg2 "Building Wine-32..." cd "$srcdir/$pkgname-32-build" ../$pkgname/configure \ --prefix=/usr \ --with-x \ --with-gstreamer \ "${_wine32opts[@]}"
make }
wine-9.0rc2 https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=wine-wow64 build() { # Doesn't compile without remove these flags as of 4.10 export CFLAGS="${CFLAGS/-fno-plt/} -ffat-lto-objects" export LDFLAGS="${LDFLAGS/,-z,now/}" mkdir -p $srcdir/$_name-$_pkgver/build cd $srcdir/$_name-$_pkgver/build ../configure \ --without-tests \ --prefix=/usr \ --libdir=/usr/lib \ --enable-archs=x86_64,i386 make }
It looks like the PKGBUILD for wine-8.21 builds wine twice, once in 32 bit, and once in 64 bit mode, and the wine-9.0rc2 only builds wine once, only for 64 bit.
I see this is documented on the winehq wiki: https://wiki.winehq.org/Building_Wine#Shared_WoW64
Would it work if I take the wine-8.21 PKGBUILD, and change the version numbers and checksums?