diff options
Diffstat (limited to 'wine/Pkgfile')
-rw-r--r-- | wine/Pkgfile | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/wine/Pkgfile b/wine/Pkgfile index f706ae7b2..b922214bb 100644 --- a/wine/Pkgfile +++ b/wine/Pkgfile @@ -4,14 +4,21 @@ # Depends on: fontconfig-32 freeglut-32 gnutls-32 lcms2-32 mpg123-32 openal-32 prelink xorg-libxcomposite-32 xorg-libxcursor-32 xorg-libxinerama-32 xorg-libxxf86dga-32 name=wine -version=3.21 +version=4.0-rc1 release=1 -source=(https://dl.winehq.org/wine/source/3.x/$name-$version.tar.xz +source=(https://dl.winehq.org/wine/source/4.0/$name-$version.tar.xz https://dl.winehq.org/wine/wine-gecko/2.47/wine_gecko-2.47-x86.msi https://dl.winehq.org/wine/wine-gecko/2.47/wine_gecko-2.47-x86_64.msi https://dl.winehq.org/wine/wine-mono/4.7.3/wine-mono-4.7.3.msi) build() { + # Allow ccache to work + mv $name-$version $name + + # https://bugs.winehq.org/show_bug.cgi?id=43530 + export CFLAGS="${CFLAGS/-fno-plt/}" + export LDFLAGS="${LDFLAGS/,-z,now/}" + install -d wine32 wine64 export CPPFLAGS="${CPPFLAGS/-D_FORTIFY_SOURCE=2/} -D_FORTIFY_SOURCE=0" |