summaryrefslogtreecommitdiffstats
path: root/deps/telepathy/libaccounts-qt5/libaccounts-qt5.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'deps/telepathy/libaccounts-qt5/libaccounts-qt5.SlackBuild')
-rwxr-xr-xdeps/telepathy/libaccounts-qt5/libaccounts-qt5.SlackBuild14
1 files changed, 9 insertions, 5 deletions
diff --git a/deps/telepathy/libaccounts-qt5/libaccounts-qt5.SlackBuild b/deps/telepathy/libaccounts-qt5/libaccounts-qt5.SlackBuild
index 7dc8fb2..ab95f60 100755
--- a/deps/telepathy/libaccounts-qt5/libaccounts-qt5.SlackBuild
+++ b/deps/telepathy/libaccounts-qt5/libaccounts-qt5.SlackBuild
@@ -1,6 +1,6 @@
#!/bin/sh
-# Copyright 2015, 2016 Eric Hameleers, Eindhoven, NL
+# Copyright 2015, 2016, 2017 Eric Hameleers, Eindhoven, NL
# Copyright 2015 Patrick J. Volkerding, Sebeka, MN, USA
# All rights reserved.
#
@@ -24,7 +24,7 @@
PKGNAM=libaccounts-qt5
SRCNAM=libaccounts-qt
-VERSION=${VERSION:-"627a089_20151106git"}
+VERSION=${VERSION:-"1.15"}
BUILD=${BUILD:-1}
NUMJOBS=${NUMJOBS:--j7}
@@ -32,7 +32,7 @@ NUMJOBS=${NUMJOBS:--j7}
# Automatically determine the architecture we're building on:
if [ -z "$ARCH" ]; then
case "$(uname -m)" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) readelf /usr/bin/file -A | egrep -q "Tag_CPU.*[4,5]" && ARCH=arm || ARCH=armv7hl ;;
# Unless $ARCH is already set, use uname -m for all other archs:
*) ARCH=$(uname -m) ;;
@@ -40,8 +40,8 @@ if [ -z "$ARCH" ]; then
export ARCH
fi
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "s390" ]; then
SLKCFLAGS="-O2"
@@ -75,6 +75,10 @@ find . \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \;
+# Fix a compilation error:
+sed -i accounts-qt.pro \
+ -e 's|SUBDIRS += Accounts tests|SUBDIRS += Accounts|'
+
QTDIR=/usr/lib${LIBDIRSUFFIX}/qt5 \
PATH=$QTDIR/bin:$PATH \
qmake \