mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-22 19:44:21 +01:00
games/chessx: Fix GUI issues.
Signed-off-by: bedlam <dave@slackbuilds.org> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
parent
fb265342af
commit
55777d8ce1
1 changed files with 5 additions and 1 deletions
|
@ -26,7 +26,7 @@ cd $(dirname $0) ; CWD=$(pwd)
|
|||
|
||||
PRGNAM=chessx
|
||||
VERSION=${VERSION:-1.5.8}
|
||||
BUILD=${BUILD:-1}
|
||||
BUILD=${BUILD:-2}
|
||||
TAG=${TAG:-_SBo}
|
||||
PKGTYPE=${PKGTYPE:-tgz}
|
||||
|
||||
|
@ -79,6 +79,10 @@ find -L . \
|
|||
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
|
||||
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
|
||||
|
||||
# Taken from Arch, fixes the GUI problems
|
||||
sed -i '/QCoreApplication::setAttribute(Qt::AA_EnableHighDpiScaling);/a\
|
||||
QCoreApplication::setAttribute(Qt::AA_DontUseNativeDialogs);' src/gui/main.cpp
|
||||
|
||||
# Compile the application with Qt
|
||||
lupdate-qt5 chessx.pro
|
||||
lrelease-qt5 i18n/*.ts
|
||||
|
|
Loading…
Reference in a new issue