diff options
author | Munzir Taha | 2023-04-27 19:55:44 +0300 |
---|---|---|
committer | Munzir Taha | 2023-04-27 19:55:44 +0300 |
commit | a7eef2a9f8cd0641ddfc59b69d6c891f58214325 (patch) | |
tree | cbaf2139b275eec29f65b6d5321764d0c97c9e2a | |
parent | 0368c385189555bff9ad7763dfecf03b26eb8f7e (diff) | |
download | aur-a7eef2a9f8cd0641ddfc59b69d6c891f58214325.tar.gz |
Patch to fix KDE Dialog
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 8 |
2 files changed, 8 insertions, 2 deletions
@@ -1,7 +1,7 @@ pkgbase = chessx pkgdesc = Cross-platform chess database and PGN viewer pkgver = 1.5.8 - pkgrel = 1 + pkgrel = 2 url = http://chessx.sourceforge.net arch = x86_64 license = GPL2 @@ -2,7 +2,7 @@ pkgname=chessx pkgver=1.5.8 -pkgrel=1 +pkgrel=2 pkgdesc="Cross-platform chess database and PGN viewer" arch=(x86_64) url=http://chessx.sourceforge.net @@ -13,6 +13,12 @@ conflicts=($pkgname-svn) source=("https://sourceforge.net/projects/$pkgname/files/$pkgname/$pkgver/$pkgname-$pkgver.tgz") sha256sums=('7affad2b50872c5b7f46f9b3c8f559d9cd27c5f470c1bf647bbb939a6ed111a3') +prepare() { + cd $pkgname-$pkgver + sed -i '/QCoreApplication::setAttribute(Qt::AA_EnableHighDpiScaling);/a\ + QCoreApplication::setAttribute(Qt::AA_DontUseNativeDialogs);' src/gui/main.cpp +} + build() { cd $pkgname-$pkgver lrelease i18n/*.ts |