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 | |
parent | f56f56f6aa5e9b35053f79344158f3853b07c0ba (diff) | |
download | slackbuilds-c00107e86d1f2a20ca18ce46fcd46b036a9d1f5f.tar.gz slackbuilds-c00107e86d1f2a20ca18ce46fcd46b036a9d1f5f.tar.xz |
system/virt-viewer: Updated for version 4.0.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to '')
-rw-r--r-- | system/virt-viewer/README | 7 | ||||
-rw-r--r-- | system/virt-viewer/slack-desc | 6 | ||||
-rw-r--r-- | system/virt-viewer/virt-viewer.SlackBuild | 16 | ||||
-rw-r--r-- | system/virt-viewer/virt-viewer.info | 6 |
4 files changed, 15 insertions, 20 deletions
diff --git a/system/virt-viewer/README b/system/virt-viewer/README index 96e0faffbb..a284cf4cc9 100644 --- a/system/virt-viewer/README +++ b/system/virt-viewer/README @@ -6,6 +6,7 @@ display of a libvirt guest OS. It is intended as a replacement for the traditional vncviewer client, since the latter does not support SSL/TLS encryption of x509 certificate authentication. -This software requires gtk-vnc and optionally, spice. If built -without libvirt, this package will only contain the remote-viewer -client, a simple VNC/SPICE viewer. +Optional dependencies: spice-gtk, libvirt + +If built without libvirt, this package will only contain the +remote-viewer client, a simple VNC/SPICE viewer. diff --git a/system/virt-viewer/slack-desc b/system/virt-viewer/slack-desc index 402d6c45b8..b48463a57e 100644 --- a/system/virt-viewer/slack-desc +++ b/system/virt-viewer/slack-desc @@ -14,6 +14,6 @@ virt-viewer: display of a libvirt guest OS. It is intended as a replacement for virt-viewer: the traditional vncviewer client, since the latter does not support virt-viewer: SSL/TLS encryption of x509 certificate authentication. virt-viewer: -virt-viewer: This software requires gtk-vnc, and optionally, spice. If built -virt-viewer: without libvirt, this package will only contain the remote-viewer -virt-viewer: client, a simple VNC/SPICE viewer. +virt-viewer: If built without libvirt, this package will only contain the +virt-viewer: remote-viewer client, a simple VNC/SPICE viewer. +virt-viewer: diff --git a/system/virt-viewer/virt-viewer.SlackBuild b/system/virt-viewer/virt-viewer.SlackBuild index babdce5fbd..84a1ece059 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 diff --git a/system/virt-viewer/virt-viewer.info b/system/virt-viewer/virt-viewer.info index cf63669f28..a3614b6b93 100644 --- a/system/virt-viewer/virt-viewer.info +++ b/system/virt-viewer/virt-viewer.info @@ -1,8 +1,8 @@ PRGNAM="virt-viewer" -VERSION="3.1" +VERSION="4.0" HOMEPAGE="http://virt-manager.org" -DOWNLOAD="https://fedorahosted.org/released/virt-viewer/virt-viewer-3.1.tar.gz" -MD5SUM="175fd5808154d98bee415650df63ab43" +DOWNLOAD="https://fedorahosted.org/released/virt-viewer/virt-viewer-4.0.tar.gz" +MD5SUM="d92d09ba29413c4aa0498e7cccf4eea2" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="gtk-vnc" |