aboutsummaryrefslogtreecommitdiff
path: root/system/virt-viewer
diff options
context:
space:
mode:
Diffstat (limited to 'system/virt-viewer')
-rw-r--r--system/virt-viewer/README7
-rw-r--r--system/virt-viewer/slack-desc6
-rw-r--r--system/virt-viewer/virt-viewer.SlackBuild16
-rw-r--r--system/virt-viewer/virt-viewer.info6
4 files changed, 15 insertions, 20 deletions
diff --git a/system/virt-viewer/README b/system/virt-viewer/README
index 96e0faffbb158..a284cf4cc9c42 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 402d6c45b8127..b48463a57eb55 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 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
diff --git a/system/virt-viewer/virt-viewer.info b/system/virt-viewer/virt-viewer.info
index cf63669f2827f..a3614b6b93398 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"