diff --git a/network/spice/README b/network/spice/README index 50999aac95..a415e09d75 100644 --- a/network/spice/README +++ b/network/spice/README @@ -5,5 +5,4 @@ local machine, while trying to offload most of the intensive CPU and GPU tasks to the client. Spice is suitable for both LAN and WAN usage, without compromising on the user experience. -libcacard is an optional dependency, enabled by passing the switch -CACARD=yes +libcacard is an optional dependency. diff --git a/network/spice/spice.SlackBuild b/network/spice/spice.SlackBuild index 6c1347e41d..ee72b3f24a 100644 --- a/network/spice/spice.SlackBuild +++ b/network/spice/spice.SlackBuild @@ -4,7 +4,7 @@ # Written by Matteo Bernardini PRGNAM=spice -VERSION=${VERSION:-0.10.1} +VERSION=${VERSION:-0.11.3} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -37,10 +37,11 @@ fi DOCS="AUTHORS COPYING ChangeLog INSTALL NEWS README" -if [ "${CACARD:-no}" = "no" ]; then - with_libcacard="" +# check if libcacard is there +if pkg-config --exists libcacard ; then + with_cacard="--enable-smartcard" else - with_libcacard="--enable-smartcard" + with_cacard="--disable-smartcard" fi set -e # Exit on most errors @@ -64,13 +65,10 @@ CXXFLAGS="$SLKCFLAGS" \ ./configure \ --prefix=/usr \ --libdir=/usr/lib${LIBDIRSUFFIX} \ - --sysconfdir=/etc \ - --mandir=/usr/man \ --docdir=/usr/doc/$PRGNAM-$VERSION \ - --localstatedir=/var \ --disable-static \ - --enable-shared \ - $with_libcacard \ + --enable-client \ + $with_cacard \ --build=$ARCH-slackware-linux make diff --git a/network/spice/spice.info b/network/spice/spice.info index de210def1b..706302b81b 100644 --- a/network/spice/spice.info +++ b/network/spice/spice.info @@ -1,8 +1,8 @@ PRGNAM="spice" -VERSION="0.10.1" +VERSION="0.11.3" HOMEPAGE="http://spice-space.org" -DOWNLOAD="http://spice-space.org/download/releases/spice-0.10.1.tar.bz2" -MD5SUM="70060129e274241b4a08e23e86de29a3" +DOWNLOAD="http://spice-space.org/download/releases/spice-0.11.3.tar.bz2" +MD5SUM="11bb416cb878e5d2c7d75e700d287bd2" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="celt051 spice-protocol"