mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-22 19:44:21 +01:00
system/virt-viewer: Updated for version 4.0.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
parent
f56f56f6aa
commit
c00107e86d
4 changed files with 15 additions and 20 deletions
|
@ -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.
|
||||
|
|
|
@ -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:
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue