diff options
author | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2016-07-01 00:16:30 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2016-07-01 00:43:11 +0700 |
commit | c00107e86d1f2a20ca18ce46fcd46b036a9d1f5f (patch) | |
tree | c345f0430a5401c35f1b6912f86f39fee87a3429 /system/virt-viewer/virt-viewer.SlackBuild | |
parent | f56f56f6aa5e9b35053f79344158f3853b07c0ba (diff) |
system/virt-viewer: Updated for version 4.0.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'system/virt-viewer/virt-viewer.SlackBuild')
-rw-r--r-- | system/virt-viewer/virt-viewer.SlackBuild | 16 |
1 files changed, 5 insertions, 11 deletions
diff --git a/system/virt-viewer/virt-viewer.SlackBuild b/system/virt-viewer/virt-viewer.SlackBuild index babdce5fbdc75..84a1ece059c1b 100644 --- a/system/virt-viewer/virt-viewer.SlackBuild +++ b/system/virt-viewer/virt-viewer.SlackBuild @@ -5,7 +5,7 @@ # Written by Zak B. Elep, <zakame@zakame.net> PRGNAM=virt-viewer -VERSION=${VERSION:-3.1} +VERSION=${VERSION:-4.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -38,14 +38,10 @@ fi set -e -if pkg-config --exists spice-client-gtk-2.0 ; then - GTKVERS=2.0 - SPICEGTK="--with-spice-gtk" -elif pkg-config --exists spice-client-gtk-3.0 ; then - GTKVERS=3.0 +test=`pkg-config --exists spice-client-gtk-3.0` +if [ $? -eq 0 ]; then SPICEGTK="--with-spice-gtk" else - GTKVERS=2.0 SPICEGTK="--without-spice-gtk" fi @@ -68,10 +64,10 @@ CXXFLAGS="$SLKCFLAGS" \ ./configure \ --prefix=/usr \ --mandir=/usr/man \ - --with-gtk=$GTKVERS \ --docdir=/usr/doc/$PRGNAM-$VERSION \ --build=$ARCH-slackware-linux \ --disable-update-mimedb \ + --enable-static=no \ $SPICEGTK make @@ -81,9 +77,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 \ - README NEWS \ - $PKG/usr/doc/$PRGNAM-$VERSION +cp -a README NEWS $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild # If there's a ChangeLog, installing at least part of the recent history |