aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatteo Bernardini <ponce@slackbuilds.org>2016-08-05 11:22:02 +0200
committerDavid Spencer <idlemoor@slackbuilds.org>2016-08-05 18:10:53 +0100
commit804996bf9a0d821060fecd6cc37e873f7627bbe1 (patch)
tree370c44883078dccda9f2776e33b5c0a25993553d
parent825f4e6c5b829ffacb38d56f3b6627d1f8c04f22 (diff)
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>
-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 0b2ce6cde55ef..715b4ebdab8be 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 b2902063646e5..e8f6e9d241c51 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