network/spice-gtk: Fixed notation of build deps -- REQUIRES+="vala"

Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
This commit is contained in:
Robby Workman 2012-09-13 22:42:18 -05:00
parent 2c7ad873be
commit 04b8d11564
3 changed files with 6 additions and 14 deletions

View file

@ -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.

View file

@ -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

View file

@ -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"