diff options
author | Christopher Walker <kris240376@gmail.com> | 2017-01-26 20:50:05 +0000 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2017-01-28 07:38:08 +0700 |
commit | 8429aa33aafabbb43008416c85839aa6567119c0 (patch) | |
tree | c70abaa71005ffbb694a9c9e3fd67d45db7823a4 /network/owncloud-client/owncloud-client.SlackBuild | |
parent | 066b0b5a9efdf61f6ed1b444c5aedc4b5e3ba2f1 (diff) |
network/owncloud-client: Improved qt4/qt5 compatibility.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'network/owncloud-client/owncloud-client.SlackBuild')
-rw-r--r-- | network/owncloud-client/owncloud-client.SlackBuild | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/network/owncloud-client/owncloud-client.SlackBuild b/network/owncloud-client/owncloud-client.SlackBuild index 19d096e931fbb..bfa9199418b4f 100644 --- a/network/owncloud-client/owncloud-client.SlackBuild +++ b/network/owncloud-client/owncloud-client.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for owncloud-client -# Copyright 2013-2016 Christopher Walker Copperas Cove, TX +# Copyright 2013-2017 Christopher Walker Copperas Cove, TX # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -24,14 +24,14 @@ PRGNAM=owncloud-client VERSION=${VERSION:-2.2.4} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} SRCNAM=owncloudclient if [ -z "$ARCH" ]; then case "$( uname -m )" in - i?86) ARCH=i486 ;; + i?86) ARCH=i586 ;; arm*) ARCH=arm ;; *) ARCH=$( uname -m ) ;; esac @@ -42,8 +42,8 @@ TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} -if [ "$ARCH" = "i486" ]; then - SLKCFLAGS="-O2 -march=i486 -mtune=i686" +if [ "$ARCH" = "i586" ]; then + SLKCFLAGS="-O2 -march=i586 -mtune=i686" LIBDIRSUFFIX="" elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" @@ -81,6 +81,7 @@ cd build -DCMAKE_INSTALL_MANDIR=/usr/man \ -DCMAKE_INSTALL_SYSCONFDIR=/etc/$PRGNAM \ -DCMAKE_BUILD_TYPE="Release" \ + -DBUILD_WITH_QT4=${BUILD_WITH_QT4:-"yes"} \ .. make VERBOSE=1 make doc |