summaryrefslogtreecommitdiffstats
path: root/network/spice-gtk
diff options
context:
space:
mode:
author Robby Workman2012-09-14 05:42:18 +0200
committer Robby Workman2012-09-14 23:40:35 +0200
commit04b8d1156498d5fc464d5e13ec541663e96b2913 (patch)
tree8f4bea5efefb510fc9ef6c272a7306d652307c35 /network/spice-gtk
parent2c7ad873be6b266e97c05ff94d58724df331c3dc (diff)
downloadslackbuilds-04b8d1156498d5fc464d5e13ec541663e96b2913.tar.gz
network/spice-gtk: Fixed notation of build deps -- REQUIRES+="vala"
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'network/spice-gtk')
-rw-r--r--network/spice-gtk/README2
-rw-r--r--network/spice-gtk/spice-gtk.SlackBuild16
-rw-r--r--network/spice-gtk/spice-gtk.info2
3 files changed, 6 insertions, 14 deletions
diff --git a/network/spice-gtk/README b/network/spice-gtk/README
index 87ca6581c9..93ed321ed1 100644
--- a/network/spice-gtk/README
+++ b/network/spice-gtk/README
@@ -2,4 +2,4 @@ spice-gtk (spice gtk client/libraries)
A Gtk client and libraries for spice remote desktop servers.
-vala, libcacard and usbredir are optional dependencies.
+libcacard and usbredir are optional dependencies.
diff --git a/network/spice-gtk/spice-gtk.SlackBuild b/network/spice-gtk/spice-gtk.SlackBuild
index ade0e78be3..dcc1a75935 100644
--- a/network/spice-gtk/spice-gtk.SlackBuild
+++ b/network/spice-gtk/spice-gtk.SlackBuild
@@ -5,7 +5,7 @@
PRGNAM=spice-gtk
VERSION=${VERSION:-0.12}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@@ -35,18 +35,11 @@ else
LIBDIRSUFFIX=""
fi
-# 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_cacard=""
+ with_cacard="--disable-smartcard"
fi
DOCS="AUTHORS COPYING NEWS README THANKS TODO"
@@ -81,11 +74,10 @@ CXXFLAGS="$SLKCFLAGS" \
--localstatedir=/var \
--disable-static \
--enable-shared \
- $with_vala \
--with-gtk=2.0 \
--with-audio=gstreamer \
- $with_cacard \
- --build=$ARCH-slackware-linux
+ --build=$ARCH-slackware-linux \
+ $with_cacard
make
make install DESTDIR=$PKG
diff --git a/network/spice-gtk/spice-gtk.info b/network/spice-gtk/spice-gtk.info
index 51ae104db7..64a1f17cc6 100644
--- a/network/spice-gtk/spice-gtk.info
+++ b/network/spice-gtk/spice-gtk.info
@@ -5,6 +5,6 @@ DOWNLOAD="http://spice-space.org/download/gtk/spice-gtk-0.12.tar.bz2"
MD5SUM="2fec0ba391447b5b4d9242455c55b2a3"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="spice"
+REQUIRES="spice vala"
MAINTAINER="Matteo Bernardini"
EMAIL="ponce@slackbuilds.org"