summaryrefslogtreecommitdiff
path: root/system/gtk-vnc
diff options
context:
space:
mode:
authorWilly Sudiarto Raharjo <willysr@slackbuilds.org>2019-08-25 09:02:56 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2019-08-25 09:02:56 +0700
commitf41ee674b7ab5c3a16f6295b0ba552688e412fc7 (patch)
tree71f4f9b706a904ec8c64aedff965f52103ade107 /system/gtk-vnc
parent56950d8c4dd9f540d577e0c2e804d278ef64dfec (diff)
downloadslackbuilds-f41ee674b7ab5c3a16f6295b0ba552688e412fc7.tar.gz
system/gtk-vnc: Updated for version 1.0.0.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'system/gtk-vnc')
-rw-r--r--system/gtk-vnc/gtk-vnc.SlackBuild62
-rw-r--r--system/gtk-vnc/gtk-vnc.info8
2 files changed, 13 insertions, 57 deletions
diff --git a/system/gtk-vnc/gtk-vnc.SlackBuild b/system/gtk-vnc/gtk-vnc.SlackBuild
index 0884bfe522..4f9f183cc9 100644
--- a/system/gtk-vnc/gtk-vnc.SlackBuild
+++ b/system/gtk-vnc/gtk-vnc.SlackBuild
@@ -3,7 +3,7 @@
# Slackware build script for gtk-vnc
# Copyright 2014 Will Brokenbourgh U.S.A.
-# Copyright 2014-2018 Willy Sudiarto Raharjo <willysr@slackbuilds.org>
+# Copyright 2014-2019 Willy Sudiarto Raharjo <willysr@slackbuilds.org>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -24,7 +24,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=gtk-vnc
-VERSION=${VERSION:-0.9.0}
+VERSION=${VERSION:-1.0.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -74,61 +74,17 @@ find -L $PRGNAM-$VERSION \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-# Strip jobs number from the MAKEFLAGS
-MAKEFLAGS=$(echo "$MAKEFLAGS" | sed "s/-j[0-999]//g")
-
-cp -a $PRGNAM-$VERSION $PRGNAM-$VERSION-3
-
cd $PRGNAM-$VERSION
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
-./configure \
- --prefix=/usr \
- --libdir=/usr/lib${LIBDIRSUFFIX} \
- --sysconfdir=/etc \
- --localstatedir=/var \
- --mandir=/usr/man \
- --docdir=/usr/doc/$PRGNAM-$VERSION \
- --with-examples \
- --with-libview \
- --with-python \
- --with-gtk=2.0 \
- --enable-vala \
- --enable-introspection \
- --build=$ARCH-slackware-linux
-
-# Building with -j1 to avoid surprises
-make -j1
-make install DESTDIR=$PKG
-
-# To avoid building the gtk3 version, pass GTK3=no to the script
-if [ "${GTK3:-yes}" = "yes" ]; then
-
-cd ../$PRGNAM-$VERSION-3
-
-CFLAGS="$SLKCFLAGS" \
-CXXFLAGS="$SLKCFLAGS" \
-./configure \
- --prefix=/usr \
- --libdir=/usr/lib${LIBDIRSUFFIX} \
- --sysconfdir=/etc \
- --localstatedir=/var \
- --mandir=/usr/man \
- --docdir=/usr/doc/$PRGNAM-$VERSION \
- --with-examples \
- --with-libview \
- --with-python \
- --with-gtk=3.0 \
- --enable-vala \
- --enable-introspection \
- --build=$ARCH-slackware-linux
-
-# Building with -j1 to avoid surprises
-make -j1
-make install DESTDIR=$PKG
+meson \
+ --prefix /usr \
+ --libdir lib${LIBDIRSUFFIX} \
+ --mandir /usr/man \
+ build
-fi
+DESTDIR=$PKG ninja -C build all install
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
@@ -137,7 +93,7 @@ find $PKG/usr/man -type f -exec gzip -9 {} \;
for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a AUTHORS COPYING.LIB ChangeLog INSTALL NEWS README $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a AUTHORS COPYING.LIB ChangeLog NEWS README $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
diff --git a/system/gtk-vnc/gtk-vnc.info b/system/gtk-vnc/gtk-vnc.info
index 9bae1901ad..07318cad36 100644
--- a/system/gtk-vnc/gtk-vnc.info
+++ b/system/gtk-vnc/gtk-vnc.info
@@ -1,10 +1,10 @@
PRGNAM="gtk-vnc"
-VERSION="0.9.0"
+VERSION="1.0.0"
HOMEPAGE="https://wiki.gnome.org/Projects/gtk-vnc"
-DOWNLOAD="http://ftp.gnome.org/pub/gnome/sources/gtk-vnc/0.9/gtk-vnc-0.9.0.tar.xz"
-MD5SUM="1eed0aa5d71f849eae9fa00ecf28e247"
+DOWNLOAD="http://ftp.gnome.org/pub/gnome/sources/gtk-vnc/1.0/gtk-vnc-1.0.0.tar.xz"
+MD5SUM="ff2e531525f6200be613643b9ee87fbf"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="vala python3"
+REQUIRES="vala meson"
MAINTAINER="Willy Sudiarto Raharjo"
EMAIL="willysr@slackbuilds.org"