diff options
Diffstat (limited to 'games/chessx/chessx.SlackBuild')
-rw-r--r-- | games/chessx/chessx.SlackBuild | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/games/chessx/chessx.SlackBuild b/games/chessx/chessx.SlackBuild index 7acb8b9ba0932..214568d1307a7 100644 --- a/games/chessx/chessx.SlackBuild +++ b/games/chessx/chessx.SlackBuild @@ -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 |