summaryrefslogtreecommitdiffstats
path: root/network/spice-gtk/spice-gtk.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'network/spice-gtk/spice-gtk.SlackBuild')
-rw-r--r--network/spice-gtk/spice-gtk.SlackBuild10
1 files changed, 7 insertions, 3 deletions
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