summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristoph Willing <chris.willing@linux.com>2018-04-20 13:33:30 +1000
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2018-04-21 07:43:03 +0700
commit939d1d5c015b22a869fd36a8647e688ca12552d5 (patch)
tree0e138a19268a71e2cf5459dd8ddd05ee5d001a66
parentf2adb16c3f296f39571d56f611fe7342357fe622 (diff)
downloadslackbuilds-939d1d5c015b22a869fd36a8647e688ca12552d5.tar.gz
network/uTox: Updated for version 0.17.0
Signed-off-by: Christoph Willing <chris.willing@linux.com>
-rw-r--r--network/uTox/README6
-rw-r--r--network/uTox/uTox.SlackBuild15
-rw-r--r--network/uTox/uTox.info8
3 files changed, 16 insertions, 13 deletions
diff --git a/network/uTox/README b/network/uTox/README
index f73ded322f..4363fd4613 100644
--- a/network/uTox/README
+++ b/network/uTox/README
@@ -1,9 +1,9 @@
Lightweight Tox client that uses Xlib.
Supports many features and is on-par with other Tox clients.
-To build with GTK3 support instead of the default GTK2, execute:
- GTK3=yes ./uTox.Slackbuild
+To build with GTK2 support instead of the default GTK3, execute:
+ GTK2=yes ./uTox.Slackbuild
Since version 0.13.1, uTox REQUIRES libraries from the c-toxcore
package. Please note c-toxcore's README which recommends removal
-the toxcore package prior to building.
+of any existing c-toxcore package prior to building.
diff --git a/network/uTox/uTox.SlackBuild b/network/uTox/uTox.SlackBuild
index df451c0ccf..f7c9185db5 100644
--- a/network/uTox/uTox.SlackBuild
+++ b/network/uTox/uTox.SlackBuild
@@ -3,7 +3,7 @@
# Slackware build script for uTox
#
# Copyright 2015 Gethyn ThomasQuail <gethyn@bloodbathsoftworks.com>
-# Copyright 2016-2017 Christoph Willing Brisbane, Australia
+# Copyright 2016-2018 Christoph Willing Brisbane, Australia
# All rights reserved.
#
# Permission to use, copy, modify, and/or distribute this software for any
@@ -19,7 +19,7 @@
# OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
PRGNAM=uTox
-VERSION=${VERSION:-0.16.1.0git20180402}
+VERSION=${VERSION:-0.17.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -55,9 +55,10 @@ set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
-rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.gz || tar xvf $CWD/v$VERSION.tar.gz
-cd $PRGNAM-$VERSION
+rm -rf ${PRGNAM}-${VERSION}
+tar xvf $CWD/${PRGNAM}-${VERSION}.tar.gz
+cd ${PRGNAM}-${VERSION}
+tar xvf $CWD/${PRGNAM}ThirdParty-${VERSION}.tar.gz
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
@@ -65,8 +66,8 @@ 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 {} \;
-# Use GTK2 as default
-[ "${GTK3:-no}" != "yes" ] && patch -p0 < $CWD/gtk2.diff
+# Optionally use GTK2
+[ "${GTK2:-no}" != "no" ] && patch -p0 < $CWD/gtk2.diff
mkdir -p build
cd build
diff --git a/network/uTox/uTox.info b/network/uTox/uTox.info
index 4781f5a36c..2d7048d178 100644
--- a/network/uTox/uTox.info
+++ b/network/uTox/uTox.info
@@ -1,8 +1,10 @@
PRGNAM="uTox"
-VERSION="0.16.1.0git20180402"
+VERSION="0.17.0"
HOMEPAGE="https://github.com/uTox/uTox"
-DOWNLOAD="http://sourceforge.net/projects/slackbuildsdirectlinks/files/uTox/uTox-0.16.1.0git20180402.tar.gz"
-MD5SUM="9027b62fbe606869085bf2d71c372187"
+DOWNLOAD="https://github.com/uTox/uTox/archive/v0.17.0/uTox-0.17.0.tar.gz \
+ http://sourceforge.net/projects/slackbuildsdirectlinks/files/uTox/uToxThirdParty-0.17.0.tar.gz"
+MD5SUM="44b9ce10dcb8a5db75b5f8d7c2208f9e \
+ 32228d1e9022920983ab064330145e2f"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="c-toxcore libfilteraudio check"