network/spice-gtk: Noted the new optional dependency phodav.

Removed the gtk+2 building option (not supported anymore)

Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
This commit is contained in:
Matteo Bernardini 2016-08-05 11:22:02 +02:00 committed by David Spencer
parent 825f4e6c5b
commit 804996bf9a
2 changed files with 8 additions and 6 deletions

View file

@ -1,5 +1,3 @@
A Gtk client and libraries for spice remote desktop servers.
By default the GTK+3 version is built: if you need the GTK+2 one,
pass to the build script the variable GTK=2
libcacard, usbredir and opus are optional dependencies.
libcacard, usbredir, phodav and opus are optional dependencies.

View file

@ -56,7 +56,7 @@ fi
# enable support for usbredir and libcacard, if available
if pkg-config --exists libusbredirhost; then usbredir="en"; else usbredir="dis"; fi
if pkg-config --exists libcacard; then cacard="en"; else cacard="dis"; fi
if [ "$GTK" = "2" ]; then gtkver="2"; else gtkver="3"; fi
if pkg-config --exists libphodav-2.0; then phodav="en"; else phodav="dis"; fi
DOCS="AUTHORS COPYING NEWS README THANKS TODO"
@ -93,11 +93,15 @@ CXXFLAGS="$SLKCFLAGS" \
--localstatedir=/var \
--disable-static \
--enable-shared \
--with-gtk=$gtkver.0 \
--with-audio=gstreamer \
--with-gtk=3.0 \
--enable-gstaudio=yes \
--enable-gstvideo=yes \
--disable-maintainer-mode \
--enable-vala \
--enable-dbus=yes \
--${usbredir}able-usbredir \
--${cacard}able-smartcard \
--${phodav}able-webdav \
--build=$ARCH-slackware-linux
make