network/uTox: Updated for version 0.17.0

Signed-off-by: Christoph Willing <chris.willing@linux.com>
This commit is contained in:
Christoph Willing 2018-04-20 13:33:30 +10:00 committed by Willy Sudiarto Raharjo
parent f2adb16c3f
commit 939d1d5c01
3 changed files with 16 additions and 13 deletions

View File

@ -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.

View File

@ -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

View File

@ -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"