From 804996bf9a0d821060fecd6cc37e873f7627bbe1 Mon Sep 17 00:00:00 2001 From: Matteo Bernardini Date: Fri, 5 Aug 2016 11:22:02 +0200 Subject: network/spice-gtk: Noted the new optional dependency phodav. Removed the gtk+2 building option (not supported anymore) Signed-off-by: Matteo Bernardini --- network/spice-gtk/README | 4 +--- network/spice-gtk/spice-gtk.SlackBuild | 10 +++++++--- 2 files changed, 8 insertions(+), 6 deletions(-) (limited to 'network/spice-gtk') diff --git a/network/spice-gtk/README b/network/spice-gtk/README index 0b2ce6cde5..715b4ebdab 100644 --- a/network/spice-gtk/README +++ b/network/spice-gtk/README @@ -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. diff --git a/network/spice-gtk/spice-gtk.SlackBuild b/network/spice-gtk/spice-gtk.SlackBuild index b290206364..e8f6e9d241 100644 --- a/network/spice-gtk/spice-gtk.SlackBuild +++ b/network/spice-gtk/spice-gtk.SlackBuild @@ -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 -- cgit v1.2.3