desktop/qt5ct: Updated for version 0.29.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
parent
5f867769c6
commit
cccc008047
|
@ -2,7 +2,7 @@
|
|||
|
||||
# Slackware build script for <appname>
|
||||
|
||||
# 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
|
||||
|
||||
|
|
|
@ -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"
|
||||
|
|
Loading…
Reference in New Issue