diff options
author | Daniel Bermond | 2024-01-30 23:36:42 -0300 |
---|---|---|
committer | Daniel Bermond | 2024-01-30 23:36:42 -0300 |
commit | 5e3c99e201ac26da98b4b7cd1b4c2432a4e02600 (patch) | |
tree | 030df60708682ec5b98468a6936a4d5fcd1b6e6d | |
parent | af1c7ea6fdcc356cb918991e18cdf3a3c92a6d41 (diff) | |
download | aur-5e3c99e201ac26da98b4b7cd1b4c2432a4e02600.tar.gz |
Add wayland support. Update build flags.
-rw-r--r-- | .SRCINFO | 12 | ||||
-rw-r--r-- | PKGBUILD | 11 |
2 files changed, 14 insertions, 9 deletions
@@ -1,6 +1,6 @@ pkgbase = wine-git pkgdesc = A compatibility layer for running Windows programs (git version) - pkgver = 9.0rc3.r16.geed778467ab + pkgver = 9.1.r52.ge3431a02e1d pkgrel = 1 url = https://www.winehq.org/ install = wine-git.install @@ -62,10 +62,14 @@ pkgbase = wine-git depends = lib32-libunwind depends = libxcursor depends = lib32-libxcursor + depends = libxkbcommon + depends = lib32-libxkbcommon depends = libxi depends = lib32-libxi depends = libxrandr depends = lib32-libxrandr + depends = wayland + depends = lib32-wayland optdepends = alsa-lib optdepends = lib32-alsa-lib optdepends = alsa-plugins @@ -103,9 +107,9 @@ pkgbase = wine-git optdepends = lib32-v4l-utils optdepends = wine-gecko optdepends = wine-mono - provides = wine=9.0rc3.r16.geed778467ab - provides = bin32-wine=9.0rc3.r16.geed778467ab - provides = wine-wow64=9.0rc3.r16.geed778467ab + provides = wine=9.1.r52.ge3431a02e1d + provides = bin32-wine=9.1.r52.ge3431a02e1d + provides = wine-wow64=9.1.r52.ge3431a02e1d conflicts = wine conflicts = bin32-wine conflicts = wine-wow64 @@ -3,7 +3,7 @@ # Contributor: sxe <sxxe@gmx.de> pkgname=wine-git -pkgver=9.0rc3.r16.geed778467ab +pkgver=9.1.r52.ge3431a02e1d pkgrel=1 pkgdesc='A compatibility layer for running Windows programs (git version)' arch=('x86_64') @@ -18,9 +18,10 @@ depends=( 'libpcap' 'lib32-libpcap' 'libunwind' 'lib32-libunwind' 'libxcursor' 'lib32-libxcursor' + 'libxkbcommon' 'lib32-libxkbcommon' 'libxi' 'lib32-libxi' 'libxrandr' 'lib32-libxrandr' - + 'wayland' 'lib32-wayland' ) makedepends=('git' 'perl' 'mingw-w64-gcc' 'alsa-lib' 'lib32-alsa-lib' @@ -94,9 +95,7 @@ pkgver() { } build() { - # does not compile without remove these flags as of 4.10 - export CFLAGS="${CFLAGS/-fno-plt/}" - export LDFLAGS="${LDFLAGS/,-z,now/}" + export CFLAGS+=' -ffat-lto-objects' # build wine 64-bit # (according to the wine wiki, this 64-bit/32-bit building order is mandatory) @@ -106,6 +105,7 @@ build() { --prefix='/usr' \ --libdir='/usr/lib' \ --with-x \ + --with-wayland \ --with-gstreamer \ --enable-win64 make @@ -118,6 +118,7 @@ build() { --prefix='/usr' \ --libdir='/usr/lib32' \ --with-x \ + --with-wayland \ --with-gstreamer \ --with-wine64="${srcdir}/build-64" make |