diff options
author | Zach van Rijn <me@zv.io> | 2023-02-04 04:08:35 +0000 |
---|---|---|
committer | Zach van Rijn <me@zv.io> | 2023-02-05 10:30:18 -0600 |
commit | 5c682aa7dd41ef75ca341a0b3c00c5506dbf7be9 (patch) | |
tree | 504153a9651908aefb4cae2bbcfbdd278479822f /user/wine/APKBUILD | |
parent | acc601bde0d1f241e5683d8fd1e365bf60d9d52f (diff) | |
download | packages-5c682aa7dd41ef75ca341a0b3c00c5506dbf7be9.tar.gz packages-5c682aa7dd41ef75ca341a0b3c00c5506dbf7be9.tar.bz2 packages-5c682aa7dd41ef75ca341a0b3c00c5506dbf7be9.tar.xz packages-5c682aa7dd41ef75ca341a0b3c00c5506dbf7be9.zip |
user/wine: bump { 7.0 --> 8.1 }. fixes #959.
The addition of 'options="textrels"' follows
what Gentoo is doing (same files affected):
https://gitweb.gentoo.org/repo/gentoo.git
/tree/app-emulation/wine-vanilla
/wine-vanilla-8.1.ebuild
?id=2d66e9a07e972cfd20dc12146c31293faa682f2b#n124
Diffstat (limited to 'user/wine/APKBUILD')
-rw-r--r-- | user/wine/APKBUILD | 15 |
1 files changed, 11 insertions, 4 deletions
diff --git a/user/wine/APKBUILD b/user/wine/APKBUILD index 58057dba5..ee5f01e7f 100644 --- a/user/wine/APKBUILD +++ b/user/wine/APKBUILD @@ -4,13 +4,16 @@ # Contributor: Martell Malone <martell@marinelayer.io> # Maintainer: A. Wilcox <awilfox@adelielinux.org> pkgname=wine -pkgver=7.0 +pkgver=8.1 pkgrel=0 pkgdesc="Compatibility layer for running Windows programs" url="https://www.winehq.org/" arch="pmmx x86 x86_64" license="LGPL-2.0+" options="!check" +case $CARCH in +pmmx|x86) options="$options textrels" +esac depends="" depends_dev="$pkgname perl" makedepends="fontconfig-dev freetype-dev ncurses-dev openldap-dev openssl-dev @@ -21,7 +24,11 @@ makedepends="fontconfig-dev freetype-dev ncurses-dev openldap-dev openssl-dev gstreamer-dev krb5-dev libgphoto2-dev libusb-dev bison flex autoconf automake libtool gst-plugins-base-dev" subpackages="$pkgname-dev $pkgname-doc" -source="http://dl.winehq.org/$pkgname/source/${pkgver%.[1-9]}/$pkgname-$pkgver.tar.xz +case "${pkgver}" in + *.0*) _pkgver=${pkgver%%.*}.0; ;; + *) _pkgver=${pkgver%%.*}.x; ;; +esac +source="https://dl.winehq.org/$pkgname/source/${_pkgver}/$pkgname-$pkgver.tar.xz headers.patch printer.patch rpath.patch @@ -58,7 +65,7 @@ build() { $_win64 make LDFLAGS="$LDFLAGS -no-pie" \ tools/widl/widl tools/winebuild/winebuild tools/winegcc/winegcc tools/wrc/wrc \ - loader/wine$_ldrsuffix loader/wine${_ldrsuffix}-preloader server/wineserver + loader/wine${_ldrsuffix} loader/wine${_ldrsuffix}-preloader server/wineserver make } @@ -89,7 +96,7 @@ dev() { done } -sha512sums="eec17b046ed5447eb540f421c9b2748d9419ce087496c2743a9914fd27bbe5ff9da0cfe47d3cd76fa97323bd1188a1d82b1eef4968d86ed1957dc1a95e28529c wine-7.0.tar.xz +sha512sums="3f0477c26f293cf928acbdae2ffb98740ac227a605ec90f3ab3d35c0dbca2037529ff4e4de0b69cc975579ad14dc2fb8b52e050cfd99cffcc627418cf8cb4346 wine-8.1.tar.xz 04b4035ad7db762bf965bce095457be9e96292a799c4443c9b93fd572e49371a4bfe297bc3cf720c1e1f7338585767309ec9d84e83db64109883c1782cef40ba headers.patch 26c72d45329eaf6f0f361edf08a2984ecc99d892bff3d0932928514db5882bebd5744627aa3a63f0715fc308e12364879356d5e94b334d7c6dc9ea3ff854e423 printer.patch ade85bee3df634bfb69ae6a27f262708c68c0f9b7be894b44c17fdf14ce5fe8093b1ce2eb7ecca2ca245d9f9b7a1e62ff061449e44acb277c1f03a44449d5191 rpath.patch" |