summaryrefslogtreecommitdiff
path: root/network/spice-gtk/spice-gtk.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'network/spice-gtk/spice-gtk.SlackBuild')
-rw-r--r--network/spice-gtk/spice-gtk.SlackBuild16
1 files changed, 4 insertions, 12 deletions
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