From 179d249e17403b72f5e3ca645ad6705d6c59825c Mon Sep 17 00:00:00 2001 From: Matteo Bernardini Date: Tue, 4 Sep 2012 19:40:59 +0200 Subject: network/spice-gtk: Updated for version 0.12 Signed-off-by: Matteo Bernardini --- network/spice-gtk/README | 3 +-- network/spice-gtk/spice-gtk.SlackBuild | 16 ++++++++++++---- network/spice-gtk/spice-gtk.info | 6 +++--- 3 files changed, 16 insertions(+), 9 deletions(-) (limited to 'network/spice-gtk') diff --git a/network/spice-gtk/README b/network/spice-gtk/README index c729f4c138..87ca6581c9 100644 --- a/network/spice-gtk/README +++ b/network/spice-gtk/README @@ -2,5 +2,4 @@ spice-gtk (spice gtk client/libraries) A Gtk client and libraries for spice remote desktop servers. -vala is an optional dependency and can be enabled with the -parameter VALA=yes. +vala, libcacard and usbredir are optional dependencies. diff --git a/network/spice-gtk/spice-gtk.SlackBuild b/network/spice-gtk/spice-gtk.SlackBuild index 97a696fd18..ade0e78be3 100644 --- a/network/spice-gtk/spice-gtk.SlackBuild +++ b/network/spice-gtk/spice-gtk.SlackBuild @@ -4,7 +4,7 @@ # Written by Matteo Bernardini PRGNAM=spice-gtk -VERSION=${VERSION:-0.7} +VERSION=${VERSION:-0.12} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -35,10 +35,18 @@ else LIBDIRSUFFIX="" fi -if [ "${VALA:-no}" = "no" ]; then +# check if vala is there +if pkg-config --exists libvala-0.18 ; then + with_vala="--enable-vala" +else with_vala="" +fi + +# check if libcacard is there +if pkg-config --exists libcacard ; then + with_cacard="--enable-smartcard" else - with_vala="--enable-vala" + with_cacard="" fi DOCS="AUTHORS COPYING NEWS README THANKS TODO" @@ -76,7 +84,7 @@ CXXFLAGS="$SLKCFLAGS" \ $with_vala \ --with-gtk=2.0 \ --with-audio=gstreamer \ - --disable-smartcard \ + $with_cacard \ --build=$ARCH-slackware-linux make diff --git a/network/spice-gtk/spice-gtk.info b/network/spice-gtk/spice-gtk.info index 4ff9af183d..51ae104db7 100644 --- a/network/spice-gtk/spice-gtk.info +++ b/network/spice-gtk/spice-gtk.info @@ -1,8 +1,8 @@ PRGNAM="spice-gtk" -VERSION="0.7" +VERSION="0.12" HOMEPAGE="http://spice-space.org" -DOWNLOAD="http://spice-space.org/download/gtk/spice-gtk-0.7.tar.bz2" -MD5SUM="a47ca51ef4bb27cab35ddbfb9e6c0fff" +DOWNLOAD="http://spice-space.org/download/gtk/spice-gtk-0.12.tar.bz2" +MD5SUM="2fec0ba391447b5b4d9242455c55b2a3" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="spice" -- cgit v1.2.3