diff options
author | Robby Workman <rworkman@slackbuilds.org> | 2013-11-12 00:16:42 -0600 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2013-11-12 01:25:04 -0600 |
commit | 8d8226877cdcbd4c45fca02c124e0adbf0df7a93 (patch) | |
tree | c2a86a067c2790df47b47c6f9e7964bb28df3e93 /system/virt-viewer/virt-viewer.SlackBuild | |
parent | d06aa2e9314567147d551c3695a4c82dbd3c64b7 (diff) |
system/virt-viewer: Updated for version 0.5.7.
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'system/virt-viewer/virt-viewer.SlackBuild')
-rw-r--r-- | system/virt-viewer/virt-viewer.SlackBuild | 17 |
1 files changed, 15 insertions, 2 deletions
diff --git a/system/virt-viewer/virt-viewer.SlackBuild b/system/virt-viewer/virt-viewer.SlackBuild index 36bc26703e494..38a8246f8b74e 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 |