aboutsummaryrefslogtreecommitdiff
path: root/network
diff options
context:
space:
mode:
Diffstat (limited to 'network')
-rw-r--r--network/spice-gtk/README4
-rw-r--r--network/spice-gtk/spice-gtk.SlackBuild10
2 files changed, 8 insertions, 6 deletions
diff --git a/network/spice-gtk/README b/network/spice-gtk/README
index 0b2ce6cde55e..715b4ebdab8b 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 b2902063646e..e8f6e9d241c5 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