wine-staging: updated to version 9.0

This commit is contained in:
Matt Housh 2024-01-21 15:48:55 -06:00
parent d5d0e583a2
commit 35046a890c
3 changed files with 1046 additions and 1307 deletions

File diff suppressed because it is too large Load Diff

View File

@ -1,9 +1,9 @@
untrusted comment: verify with /etc/ports/contrib.pub
RWSagIOpLGJF327LODw/ow7NFG7qmewaf6PNKy8Fsu5ikExu0RKQZ7psrZ97kVl7oWjlLE9ZtdC0E5efH/UzWWFlZv1WqtOkXQg=
SHA256 (Pkgfile) = a64ea0fc2fa4152731b3bb49fe67f81e72757f2a230ef92dc46fb5803c5f4005
SHA256 (.footprint) = 4169dc6a981f2f01e4f8f8c6afa42ae4bf9f0a67d40cd1d30c885bace87b1f18
SHA256 (wine-8.21.tar.xz) = 02d6493f348168268669b62d4795df5b335be9ae06229c68f388a093d0d6b61d
SHA256 (wine-staging-8.21.tar.gz) = 735d3072caa0ba0b528b837bd20e38b5d5f6008b055fff5295d37ea7cae66ce6
RWSagIOpLGJF31yzK3291af2s0OoggG6808d4toQHHagUCafTuRJnXXJes3j2FT5DFuQ7o76YcZJd+58/zYW28HjJFhkkoW2aQg=
SHA256 (Pkgfile) = 2dd7118d0d4a22ffd99c4cd935110ec9ca5362e86a88e8384bca0a36635e32a2
SHA256 (.footprint) = 56bcb65e29eeb01823617318bd0c05209f3054803125ea2c2125ad44aa77b33f
SHA256 (wine-9.0.tar.xz) = 7cfd090a5395f5b76d95bb5defac8a312c8de4c070c1163b8b58da38330ca6ee
SHA256 (wine-staging-9.0.tar.gz) = e3b4af34214a5c962056fc1b360d1f6fc0d33d97cd3ee6d3f9d8758c2cb7f58c
SHA256 (wine-gecko-2.47.4-x86.msi) = 26cecc47706b091908f7f814bddb074c61beb8063318e9efc5a7f789857793d6
SHA256 (wine-gecko-2.47.4-x86_64.msi) = e590b7d988a32d6aa4cf1d8aa3aa3d33766fdd4cf4c89c2dcc2095ecb28d066f
SHA256 (wine-mono-8.1.0-x86.msi) = 0ed3ec533aef79b2f312155931cf7b1080009ac0c5b4c2bcfeb678ac948e0810

View File

@ -7,49 +7,28 @@
# MONO_VERSION: 8.1.0
name=wine-staging
version=8.21
version=9.0
release=1
source=(https://dl.winehq.org/wine/source/8.x/wine-${version:0:4}.tar.xz \
source=(https://dl.winehq.org/wine/source/9.0/wine-${version:0:3}.tar.xz \
https://github.com/$name/$name/archive/v$version/$name-$version.tar.gz \
https://dl.winehq.org/wine/wine-gecko/2.47.4/wine-gecko-2.47.4-x86.msi \
https://dl.winehq.org/wine/wine-gecko/2.47.4/wine-gecko-2.47.4-x86_64.msi \
https://dl.winehq.org/wine/wine-mono/8.1.0/wine-mono-8.1.0-x86.msi)
build() {
# apply staging patches
cd $name-$version
./staging/patchinstall.py DESTDIR=../wine-${version:0:4} --all
./staging/patchinstall.py DESTDIR=../wine-${version:0:3} --all
cd ..
install -d wine32 wine64
export CPPFLAGS="${CPPFLAGS/-D_FORTIFY_SOURCE=2/} -D_FORTIFY_SOURCE=0"
install -d wine64
cd wine64
../wine-${version:0:4}/configure \
../wine-${version:0:3}/configure \
--prefix=/usr \
--libdir=/usr/lib \
--enable-win64
make depend
make
make DESTDIR=$PKG install
cd ../wine32
CFLAGS="${CFLAGS} -m32"
CXXFLAGS="${CXXFLAGS} -m32"
LDFLAGS="${LDFLAGS} -m32"
export PKG_CONFIG_LIBDIR="/usr/lib32/pkgconfig"
../wine-${version:0:4}/configure \
--prefix=/usr \
--libdir=/usr/lib32 \
--x-includes=/usr/include/X11 \
--x-libraries=/usr/lib32 \
--cache-file=config.cache \
--with-wine64=../wine64
--enable-win64 \
--enable-archs=i386,x86_64
make depend
make
make DESTDIR=$PKG install
@ -66,5 +45,5 @@ build() {
rm -r $PKG/usr/share/man/??.UTF-8
install -d $PKG/etc/revdep.d
echo -e "/usr/lib/wine/x86_64-unix\n/usr/lib32/wine/i386-unix\n" > $PKG/etc/revdep.d/$name
echo -e "/usr/lib/wine/x86_64-unix\n" > $PKG/etc/revdep.d/$name
}