Skip to content
Snippets Groups Projects
Commit e088372b authored by alice's avatar alice Committed by alice
Browse files

community/wine: upgrade to 7.17

parent 99df9862
No related branches found
No related tags found
2 merge requests!39304[3.16] main/expat: security upgrade to 2.4.9,!38850community/wine: upgrade to 7.17
Pipeline #135929 passed
......@@ -6,7 +6,7 @@
# Contributor: Craig Andrews <candrews@integralblue.com>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=wine
pkgver=7.16
pkgver=7.17
pkgrel=0
pkgdesc="A compatibility layer for running Windows programs"
url="https://www.winehq.org"
......@@ -25,6 +25,7 @@ makedepends="
flex-dev
fontconfig-dev
freetype-dev
giflib-dev
gnutls-dev
gstreamer-dev
gst-plugins-base-dev
......@@ -64,10 +65,13 @@ prepare() {
}
build() {
local _win64 _no_pie
case "$CARCH" in
x86_64) _win64=--enable-win64;;
x86) _no_pie="-no-pie";;
x86_64)
local _win64=--enable-win64
;;
x86)
local _no_pie="-no-pie"
;;
esac
./configure \
--build=$CBUILD \
......@@ -82,14 +86,8 @@ build() {
--with-x \
--with-vulkan \
$_win64
make LDFLAGS="$LDFLAGS $_no_pie" \
tools/widl/widl \
tools/winebuild/winebuild \
tools/widl/widl \
tools/winebuild/winebuild \
tools/winegcc/winegcc \
tools/wrc/wrc
make -j6
make LDFLAGS="$LDFLAGS $_no_pie" tools/winedump/winedump
make
}
check() {
......@@ -109,6 +107,15 @@ package() {
rm "$pkgdir"/usr/bin/$file
ln -sf /usr/bin/wineapploader "$pkgdir"/usr/bin/$file
done
case "$CARCH" in
x86_64)
x86_64-w64-mingw32-strip --strip-unneeded "$pkgdir"/usr/lib/wine/x86_64-windows/*.dll
;;
x86)
i686-w64-mingw32-strip --strip-unneeded "$pkgdir"/usr/lib/wine/i386-windows/*.dll
;;
esac
}
dev() {
......@@ -130,6 +137,6 @@ doc() {
}
sha512sums="
5085c7c1b0e762c508f33775f7f0aa41e94cb75805bb649093addad25f90f7f57d5101ba96227f58a6f18b3ae228bd004df11ec1c033692ad130e9b5279ea19e wine-7.16.tar.xz
fd8017e6174db0047a3957db3045b2ad9024e07b1e2f81800521f0b7e7f7660add6a08e09bc60e3d140816cec70aae8324fe15643bd05e541f22f66ffda52508 wine-7.17.tar.xz
d42a367d30b93fe36b8d6418d53f3c931debef2e9b77bc73e22fff04f5f0d7b9e6622beb78592c814beb32ca214fb7e9c019c652fb2612c61358ba162a520b9d rpath.patch
"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment