diff options
author | Michel Zou | 2019-05-21 08:24:52 +0200 |
---|---|---|
committer | Michel Zou | 2019-05-21 08:24:52 +0200 |
commit | 079388e5b6d0370d000abe0e5529b875eff93419 (patch) | |
tree | b3d070a03c2f6e3ff80e05789fc3c953078cd5c5 | |
parent | ca52cce4d0e8214ba2cefe3426c04beaa99555bf (diff) | |
download | aur-079388e5b6d0370d000abe0e5529b875eff93419.tar.gz |
avoid popups
-rw-r--r-- | .SRCINFO | 3 | ||||
-rw-r--r-- | PKGBUILD | 4 | ||||
-rw-r--r-- | mingw-wine.sh | 7 |
3 files changed, 11 insertions, 3 deletions
@@ -1,11 +1,12 @@ pkgbase = mingw-w64-wine pkgdesc = Wine wrapper for MinGW (mingw-w64) pkgver = 1 - pkgrel = 2 + pkgrel = 3 url = http://fedoraproject.org/wiki/MinGW arch = any license = MIT depends = wine + depends = xorg-server-xvfb source = mingw-wine.sh sha256sums = SKIP @@ -1,9 +1,9 @@ pkgname=mingw-w64-wine pkgver=1 -pkgrel=2 +pkgrel=3 arch=('any') pkgdesc="Wine wrapper for MinGW (mingw-w64)" -depends=('wine') +depends=('wine' 'xorg-server-xvfb') license=("MIT") url="http://fedoraproject.org/wiki/MinGW" source=("mingw-wine.sh") diff --git a/mingw-wine.sh b/mingw-wine.sh index 32ec0a495ca8..39c9ff02b2d3 100644 --- a/mingw-wine.sh +++ b/mingw-wine.sh @@ -22,5 +22,12 @@ else export WINEARCH=win32 fi +if ! test -d "${WINEPREFIX}" +then + /usr/bin/xvfb-run wineboot --init +fi + +export WINEDLLOVERRIDES="mscoree,mshtml=" + /usr/bin/wine "$@" |