summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobby Workman <rworkman@slackbuilds.org>2013-11-12 00:16:42 -0600
committerRobby Workman <rworkman@slackbuilds.org>2013-11-12 01:25:04 -0600
commit8d8226877cdcbd4c45fca02c124e0adbf0df7a93 (patch)
treec2a86a067c2790df47b47c6f9e7964bb28df3e93
parentd06aa2e9314567147d551c3695a4c82dbd3c64b7 (diff)
downloadslackbuilds-8d8226877cdcbd4c45fca02c124e0adbf0df7a93.tar.gz
system/virt-viewer: Updated for version 0.5.7.
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
-rw-r--r--system/virt-viewer/README6
-rw-r--r--system/virt-viewer/slack-desc4
-rw-r--r--system/virt-viewer/virt-viewer.SlackBuild17
-rw-r--r--system/virt-viewer/virt-viewer.info6
4 files changed, 23 insertions, 10 deletions
diff --git a/system/virt-viewer/README b/system/virt-viewer/README
index c4e3eee334..96e0faffbb 100644
--- a/system/virt-viewer/README
+++ b/system/virt-viewer/README
@@ -6,6 +6,6 @@ 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 (>= 0.9.7), this package will only contain the
-remote-viewer client, a simple VNC/SPICE viewer.
+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.
diff --git a/system/virt-viewer/slack-desc b/system/virt-viewer/slack-desc
index 85fb3edbc5..402d6c45b8 100644
--- a/system/virt-viewer/slack-desc
+++ b/system/virt-viewer/slack-desc
@@ -15,5 +15,5 @@ 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 (>= 0.9.7), this package will only contain the
-virt-viewer: remote-viewer client, a simple VNC/SPICE viewer.
+virt-viewer: without libvirt, this package will only contain the remote-viewer
+virt-viewer: client, a simple VNC/SPICE viewer.
diff --git a/system/virt-viewer/virt-viewer.SlackBuild b/system/virt-viewer/virt-viewer.SlackBuild
index 36bc26703e..38a8246f8b 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:-0.5.5}
+VERSION=${VERSION:-0.5.7}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -38,6 +38,17 @@ fi
set -e
+if pkg-config --exists spice-client-gtk-2.0.pc ; then
+ GTKVERS=2.0
+ SPICEGTK="--with-spice-gtk"
+elif pkg-config --exists spice-client-gtk-3.0.pc ; then
+ GTKVERS=3.0
+ SPICEGTK="--with-spice-gtk"
+else
+ GTKVERS=2.0
+ SPICEGTK="--without-spice-gtk"
+fi
+
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
@@ -57,8 +68,10 @@ CXXFLAGS="$SLKCFLAGS" \
./configure \
--prefix=/usr \
--mandir=/usr/man \
+ --with-gtk=$GTKVERS \
--docdir=/usr/doc/$PRGNAM-$VERSION \
- --build=$ARCH-slackware-linux
+ --build=$ARCH-slackware-linux \
+ $SPICEGTK
make
make install-strip DESTDIR=$PKG
diff --git a/system/virt-viewer/virt-viewer.info b/system/virt-viewer/virt-viewer.info
index 37f42a1090..8c7e7f049d 100644
--- a/system/virt-viewer/virt-viewer.info
+++ b/system/virt-viewer/virt-viewer.info
@@ -1,8 +1,8 @@
PRGNAM="virt-viewer"
-VERSION="0.5.5"
+VERSION="0.5.7"
HOMEPAGE="http://virt-manager.org"
-DOWNLOAD="http://virt-manager.org/download/sources/virt-viewer/virt-viewer-0.5.5.tar.gz"
-MD5SUM="a5516d33a29df5d135611c4667c03f77"
+DOWNLOAD="https://fedorahosted.org/released/virt-viewer/virt-viewer-0.5.7.tar.gz"
+MD5SUM="c0d6d2de66e61df6c2ad339625c58a2a"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="gtk-vnc %README%"