From cccc0080479b962c414bd51c86fb65bb7e7224b6 Mon Sep 17 00:00:00 2001 From: Alexander Verbovetsky Date: Sat, 28 Jan 2017 03:08:51 +0700 Subject: desktop/qt5ct: Updated for version 0.29. Signed-off-by: Willy Sudiarto Raharjo --- desktop/qt5ct/qt5ct.SlackBuild | 18 +++++++++++++++--- desktop/qt5ct/qt5ct.info | 6 +++--- 2 files changed, 18 insertions(+), 6 deletions(-) (limited to 'desktop/qt5ct') diff --git a/desktop/qt5ct/qt5ct.SlackBuild b/desktop/qt5ct/qt5ct.SlackBuild index fbdca3ffbe48..94d82086ffb9 100644 --- a/desktop/qt5ct/qt5ct.SlackBuild +++ b/desktop/qt5ct/qt5ct.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for -# Copyright 2016, Alexander Verbovetsky, Moscow, Russia +# Copyright 2016-2017, Alexander Verbovetsky, Moscow, Russia # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -23,7 +23,7 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=qt5ct -VERSION=${VERSION:-0.27} +VERSION=${VERSION:-0.29} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -40,6 +40,16 @@ TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} +if [ "$ARCH" = "i586" ]; then + SLKCFLAGS="-O2 -march=i586 -mtune=i686" +elif [ "$ARCH" = "i686" ]; then + SLKCFLAGS="-O2 -march=i686 -mtune=i686" +elif [ "$ARCH" = "x86_64" ]; then + SLKCFLAGS="-O2 -fPIC" +else + SLKCFLAGS="-O2" +fi + set -e rm -rf $PKG @@ -55,7 +65,9 @@ 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 {} \; -qmake-qt5 +qmake-qt5 \ + QMAKE_CFLAGS="$SLKCFLAGS" \ + QMAKE_CXXFLAGS="$SLKCFLAGS" make make install INSTALL_ROOT=$PKG diff --git a/desktop/qt5ct/qt5ct.info b/desktop/qt5ct/qt5ct.info index 3978c61f6679..8957a8b70439 100644 --- a/desktop/qt5ct/qt5ct.info +++ b/desktop/qt5ct/qt5ct.info @@ -1,8 +1,8 @@ PRGNAM="qt5ct" -VERSION="0.27" +VERSION="0.29" HOMEPAGE="http://qt5ct.sourceforge.net" -DOWNLOAD="http://downloads.sourceforge.net/project/qt5ct/qt5ct-0.27.tar.bz2" -MD5SUM="dd6706fe7647499899dfe015dedae3bf" +DOWNLOAD="http://downloads.sourceforge.net/project/qt5ct/qt5ct-0.29.tar.bz2" +MD5SUM="ddace0ebc60c2e6f354c2b924ae2a788" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="qt5" -- cgit v1.2.3