summaryrefslogtreecommitdiffstats
path: root/deps/telepathy/signon-ui
diff options
context:
space:
mode:
Diffstat (limited to 'deps/telepathy/signon-ui')
-rw-r--r--deps/telepathy/signon-ui/.url1
-rwxr-xr-xdeps/telepathy/signon-ui/signon-ui.SlackBuild19
-rw-r--r--deps/telepathy/signon-ui/signon-ui.url1
3 files changed, 10 insertions, 11 deletions
diff --git a/deps/telepathy/signon-ui/.url b/deps/telepathy/signon-ui/.url
new file mode 100644
index 0000000..9c68416
--- /dev/null
+++ b/deps/telepathy/signon-ui/.url
@@ -0,0 +1 @@
+https://gitlab.com/accounts-sso/signon-ui/repository/0.17+15.10.20150810-0ubuntu1/archive.tar.gz
diff --git a/deps/telepathy/signon-ui/signon-ui.SlackBuild b/deps/telepathy/signon-ui/signon-ui.SlackBuild
index a14e177..bf88037 100755
--- a/deps/telepathy/signon-ui/signon-ui.SlackBuild
+++ b/deps/telepathy/signon-ui/signon-ui.SlackBuild
@@ -1,6 +1,6 @@
#!/bin/sh
-# Copyright 2015 Eric Hameleers, Eindhoven, NL
+# Copyright 2015, 2017 Eric Hameleers, Eindhoven, NL
# Copyright 2015 Patrick J. Volkerding, Sebeka, MN, USA
# All rights reserved.
#
@@ -25,24 +25,23 @@
PKGNAM=signon-ui
SRCNAM=signon-ui
VERSION=${VERSION:-"0.17+15.10.20150810"}
-BUILD=${BUILD:-3}
+BUILD=${BUILD:-4}
NUMJOBS=${NUMJOBS:--j7}
# Automatically determine the architecture we're building on:
-MARCH=$( uname -m )
if [ -z "$ARCH" ]; then
- case "$MARCH" in
- i?86) export ARCH=i486 ;;
- armv7hl) export ARCH=$MARCH ;;
- arm*) export ARCH=arm ;;
+ case "$(uname -m)" in
+ 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:
- *) export ARCH=$MARCH ;;
+ *) ARCH=$(uname -m) ;;
esac
+ 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"
diff --git a/deps/telepathy/signon-ui/signon-ui.url b/deps/telepathy/signon-ui/signon-ui.url
deleted file mode 100644
index 5b18dc7..0000000
--- a/deps/telepathy/signon-ui/signon-ui.url
+++ /dev/null
@@ -1 +0,0 @@
-http://archive.ubuntu.com/ubuntu/pool/main/s/signon-ui/signon-ui_0.17+15.10.20150810.orig.tar.gz