summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatteo Bernardini <ponce@slackbuilds.org>2012-09-04 19:38:32 +0200
committerRobby Workman <rworkman@slackbuilds.org>2012-09-05 20:11:57 -0500
commit659d69766ef5b22e8f89b8b6e75cf5b9a36421a3 (patch)
treef024602ccc712adefb85f39cddd070834ee4049b
parent6fcc3d1c3f202db5907cacc5192b1f18f9dea318 (diff)
downloadslackbuilds-659d69766ef5b22e8f89b8b6e75cf5b9a36421a3.tar.gz
network/spice: Updated for version 0.11.3
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
-rw-r--r--network/spice/README3
-rw-r--r--network/spice/spice.SlackBuild16
-rw-r--r--network/spice/spice.info6
3 files changed, 11 insertions, 14 deletions
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 <ponce@slackbuilds.org>
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"