diff options
author | Christoph Willing <chris.willing@linux.com> | 2018-04-02 10:09:27 +1000 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2018-04-07 08:13:07 +0700 |
commit | b8b6125e8a191e0eca2fd5b6c28183873a9a888a (patch) | |
tree | a5fe7c9da62da3cf8b6bafe21cc17828f8de665b /network | |
parent | c69f3498375ed916cfff085d39e3bf53bdbd5eaf (diff) | |
download | slackbuilds-b8b6125e8a191e0eca2fd5b6c28183873a9a888a.tar.gz |
network/uTox: Use git tarball to match latest c-toxcore
Signed-off-by: Christoph Willing <chris.willing@linux.com>
Diffstat (limited to 'network')
-rw-r--r-- | network/uTox/asan_off.diff | 14 | ||||
-rw-r--r-- | network/uTox/gtk2.diff | 8 | ||||
-rw-r--r-- | network/uTox/uTox.SlackBuild | 5 | ||||
-rw-r--r-- | network/uTox/uTox.info | 6 |
4 files changed, 10 insertions, 23 deletions
diff --git a/network/uTox/asan_off.diff b/network/uTox/asan_off.diff deleted file mode 100644 index f6c3ff662a..0000000000 --- a/network/uTox/asan_off.diff +++ /dev/null @@ -1,14 +0,0 @@ ---- CMakeLists.txt.orig 2017-08-23 06:19:33.000000000 +1000 -+++ CMakeLists.txt 2017-12-15 16:07:38.446002260 +1000 -@@ -73,6 +73,11 @@ - set(ASAN_DEFAULT ON) - endif() - -+# ASAN causes uTox to be slower so do no use it for release builds -+if (CMAKE_BUILD_TYPE MATCHES "Release") -+ set(ASAN_DEFAULT OFF) -+endif() -+ - ########### - # Options # - ########### diff --git a/network/uTox/gtk2.diff b/network/uTox/gtk2.diff index b135013873..b39e3f2cb4 100644 --- a/network/uTox/gtk2.diff +++ b/network/uTox/gtk2.diff @@ -1,11 +1,13 @@ ---- src/xlib/gtk.c.orig 2017-08-25 20:40:13.735005837 +1000 -+++ src/xlib/gtk.c 2017-08-25 21:35:10.165215607 +1000 -@@ -24,7 +24,7 @@ +--- src/xlib/gtk.c.orig 2018-03-26 14:52:33.000000000 +1000 ++++ src/xlib/gtk.c 2018-04-02 09:59:02.201013926 +1000 +@@ -24,8 +24,8 @@ #include <stdlib.h> #include <string.h> -#define LIBGTK_FILENAME "libgtk-3.so" +-#define LIBGTK_FILENAME_FALLBACK "libgtk-3.so.0" +#define LIBGTK_FILENAME "libgtk-x11-2.0.so" ++#define LIBGTK_FILENAME_FALLBACK "libgtk-x11-2.0.so.0" #define GTK_FILE_CHOOSER_ACTION_OPEN 0 #define GTK_FILE_CHOOSER_ACTION_SAVE 1 diff --git a/network/uTox/uTox.SlackBuild b/network/uTox/uTox.SlackBuild index 3554126800..df451c0ccf 100644 --- a/network/uTox/uTox.SlackBuild +++ b/network/uTox/uTox.SlackBuild @@ -19,8 +19,8 @@ # OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. PRGNAM=uTox -VERSION=${VERSION:-0.16.1} -BUILD=${BUILD:-2} +VERSION=${VERSION:-0.16.1.0git20180402} +BUILD=${BUILD:-1} TAG=${TAG:-_SBo} if [ -z "$ARCH" ]; then @@ -58,7 +58,6 @@ cd $TMP rm -rf $PRGNAM-$VERSION tar xvf $CWD/$PRGNAM-$VERSION.tar.gz || tar xvf $CWD/v$VERSION.tar.gz cd $PRGNAM-$VERSION -patch -p0 < $CWD/asan_off.diff chown -R root:root . find -L . \ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ diff --git a/network/uTox/uTox.info b/network/uTox/uTox.info index 4eb0194330..4781f5a36c 100644 --- a/network/uTox/uTox.info +++ b/network/uTox/uTox.info @@ -1,8 +1,8 @@ PRGNAM="uTox" -VERSION="0.16.1" +VERSION="0.16.1.0git20180402" HOMEPAGE="https://github.com/uTox/uTox" -DOWNLOAD="https://github.com/uTox/uTox/archive/v0.16.1/uTox-0.16.1.tar.gz" -MD5SUM="218e5fa1db9917d4060283225110deec" +DOWNLOAD="http://sourceforge.net/projects/slackbuildsdirectlinks/files/uTox/uTox-0.16.1.0git20180402.tar.gz" +MD5SUM="9027b62fbe606869085bf2d71c372187" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="c-toxcore libfilteraudio check" |