openbsd-ports/x11/spice-gtk/Makefile
2020-04-03 10:32:09 +00:00

69 lines
1.7 KiB
Makefile

# $OpenBSD: Makefile,v 1.45 2020/04/03 10:32:09 ajacoutot Exp $
COMMENT= GTK client and libraries for SPICE remote desktop servers
DISTNAME= spice-gtk-0.38
EXTRACT_SUFX= .tar.xz
CATEGORIES= x11 net
SHARED_LIBS += spice-client-glib-2.0 6.1 # 14.0
SHARED_LIBS += spice-client-gtk-3.0 4.1 # 5.0
HOMEPAGE= http://www.spice-space.org/page/Spice-Gtk
MAINTAINER= Antoine Jacoutot <ajacoutot@openbsd.org>
# LGPLv2.1
PERMIT_PACKAGE= Yes
WANTLIB += X11 c cairo crypto gdk-3 gdk_pixbuf-2.0 gio-2.0 glib-2.0
WANTLIB += gobject-2.0 gstapp-1.0 gstaudio-1.0 gstbase-1.0 gstreamer-1.0
WANTLIB += gstvideo-1.0 gtk-3 intl jpeg json-glib-1.0 lz4 m opus
WANTLIB += pixman-1 sasl2 ssl z
MASTER_SITES= http://www.spice-space.org/download/gtk/
MODULES= devel/meson \
lang/python
MODPY_RUNDEP= No
MODPY_VERSION= ${MODPY_DEFAULT_VERSION_3}
BUILD_DEPENDS= devel/gettext,-tools \
devel/gobject-introspection \
devel/py-parsing${MODPY_FLAVOR} \
devel/py-six${MODPY_FLAVOR} \
devel/spice-protocol \
lang/vala \
sysutils/usbutils
RUN_DEPENDS= sysutils/usbutils
# "Requires: spice-protocol" in spice-client-glib-2.0.pc
RUN_DEPENDS += devel/spice-protocol
LIB_DEPENDS= archivers/lz4 \
audio/opus \
devel/json-glib \
multimedia/gstreamer1/plugins-base \
security/cyrus-sasl2 \
x11/gtk+3
CONFIGURE_ARGS= -Dsmartcard=disabled \
-Dusbredir=disabled \
-Dpulse=disabled \
-Dcelt051=disabled \
-Dgtk_doc=disabled
# XXX requires new phodav port
CONFIGURE_ARGS += -Dwebdav=disabled
# XXX requires libacl
CONFIGURE_ARGS += -Dpolkit=disabled
# XXX requires the makecontext function (ucontext)
CONFIGURE_ARGS += -Dcoroutine=gthread
.include <bsd.port.mk>