PKGNAME=libspice-gtk
PKGSEC=libs
PKGDEP="libcacard gtk-3 pulseaudio usbredir libsoup-3 lz4 usbutils gstreamer \
        json-glib opus"
BUILDDEP="gobject-introspection gtk-doc vala spice-protocol intltool \
          wayland-protocols"
PKGDES="GTK+ client and libraries for SPICE remote desktop servers"

# FIXME: WebDAV support disabled temporarily due to incomplete libsoup-2.4/3.0
# transition. Re-enable with GNOME update.
MESON_AFTER=(
    -Dgtk=enabled
    -Dwayland-protocols=enabled
    -Dwebdav=disabled
    -Dbuiltin-mjpeg=false
    -Dusbredir=enabled
    -Dlibcap-ng=enabled
    -Dpolkit=enabled
    -Dpie=true
    -Dcoroutine=ucontext
    -Dintrospection=enabled
    -Dvapi=enabled
    -Dalignment-checks=false
    -Dlz4=enabled
    -Dsasl=enabled
    -Dopus=enabled
    -Dsmartcard=enabled
    -Degl=enabled
    -Dgtk_doc=enabled
    -Drecorder=false
    -Dvalgrind=false
)
