Update to spice-gtk-0.38.

This commit is contained in:
ajacoutot 2020-04-03 10:32:09 +00:00
parent 1e09aa6e82
commit cc7b6d9610
4 changed files with 48 additions and 88 deletions

View File

@ -1,15 +1,14 @@
# $OpenBSD: Makefile,v 1.44 2020/03/14 14:44:19 ajacoutot Exp $
# $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.37
EXTRACT_SUFX= .tar.bz2
REVISION= 0
DISTNAME= spice-gtk-0.38
EXTRACT_SUFX= .tar.xz
CATEGORIES= x11 net
SHARED_LIBS += spice-client-glib-2.0 6.0 # 14.0
SHARED_LIBS += spice-client-gtk-3.0 4.0 # 5.0
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
@ -18,29 +17,26 @@ MAINTAINER= Antoine Jacoutot <ajacoutot@openbsd.org>
# LGPLv2.1
PERMIT_PACKAGE= Yes
WANTLIB += FLAC ICE SM X11 X11-xcb Xcomposite Xcursor Xdamage
WANTLIB += Xext Xfixes Xi Xinerama Xrandr Xrender Xtst atk-1.0
WANTLIB += atk-bridge-2.0 c cairo cairo-gobject crypto dbus-1
WANTLIB += epoxy execinfo expat ffi fontconfig freetype fribidi
WANTLIB += gdk-3 gdk_pixbuf-2.0 gio-2.0 glib-2.0 gmodule-2.0 gobject-2.0
WANTLIB += graphite2 gstapp-1.0 gstaudio-1.0 gstbase-1.0 gstreamer-1.0
WANTLIB += gsttag-1.0 gstvideo-1.0 gthread-2.0 gtk-3 harfbuzz
WANTLIB += iconv intl jpeg json-glib-1.0 lz4 m ogg opus orc-0.4
WANTLIB += pango-1.0 pangocairo-1.0 pangoft2-1.0 pcre pixman-1
WANTLIB += png pthread pulse pulse-mainloop-glib sasl2 sndfile
WANTLIB += ssl vorbis vorbisenc xcb xcb-render xcb-shm z
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= lang/python
MODULES= devel/meson \
lang/python
MODPY_RUNDEP= No
MODPY_VERSION= ${MODPY_DEFAULT_VERSION_3}
BUILD_DEPENDS= devel/gobject-introspection \
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 \
textproc/asciidoc
sysutils/usbutils
RUN_DEPENDS= sysutils/usbutils
@ -49,31 +45,24 @@ RUN_DEPENDS += devel/spice-protocol
LIB_DEPENDS= archivers/lz4 \
audio/opus \
audio/pulseaudio \
devel/json-glib \
multimedia/gstreamer1/plugins-base \
security/cyrus-sasl2 \
x11/gtk+3
USE_GMAKE= Yes
MODGNU_CONFIG_GUESS_DIRS= \
${WRKSRC} \
${WRKSRC}/subprojects/spice-common
CONFIGURE_STYLE= gnu
CONFIGURE_ARGS= --disable-smartcard \
--disable-usbredir \
--enable-introspection \
--enable-vala \
--enable-gstaudio \
--enable-lz4
CONFIGURE_ARGS= -Dsmartcard=disabled \
-Dusbredir=disabled \
-Dpulse=disabled \
-Dcelt051=disabled \
-Dgtk_doc=disabled
# XXX requires new phodav port
CONFIGURE_ARGS += --disable-webdav
CONFIGURE_ARGS += -Dwebdav=disabled
CONFIGURE_ENV= CPPFLAGS="-I${X11BASE}/include -I${LOCALBASE}/include" \
LDFLAGS="-L${X11BASE}/lib -L${LOCALBASE}/lib"
# XXX requires libacl
CONFIGURE_ARGS += -Dpolkit=disabled
# XXX requires the makecontext function (ucontext)
CONFIGURE_ARGS += -Dcoroutine=gthread
.include <bsd.port.mk>

View File

@ -1,2 +1,2 @@
SHA256 (spice-gtk-0.37.tar.bz2) = Hyi3Bkcq05HNp5qT/XtMegPoS4j8Rt2zXd2+MjySO7c=
SIZE (spice-gtk-0.37.tar.bz2) = 1303111
SHA256 (spice-gtk-0.38.tar.xz) = Wul0cxuvK0ExbU8LOuDC5H8Av/kaWmF+GJzT3tzZbY4=
SIZE (spice-gtk-0.38.tar.xz) = 796112

View File

@ -0,0 +1,16 @@
$OpenBSD: patch-man_meson_build,v 1.1 2020/04/03 10:32:09 ajacoutot Exp $
https://gitlab.freedesktop.org/spice/spice-gtk/-/merge_requests/40
Index: man/meson.build
--- man/meson.build.orig
+++ man/meson.build
@@ -5,7 +5,7 @@ if pod2man.found()
output : 'spice-client.1',
input : 'spice-client.pod',
install : true,
- install_dir : spice_gtk_datadir / 'man' / 'man1',
+ install_dir : join_paths(get_option('prefix'), get_option('mandir'), 'man1'),
build_by_default : true,
command : [pod2man, '-c', 'Spice-GTK Documentation', '@INPUT@', '@OUTPUT@'])
endif

View File

@ -1,4 +1,4 @@
@comment $OpenBSD: PLIST,v 1.13 2019/11/07 10:09:09 ajacoutot Exp $
@comment $OpenBSD: PLIST,v 1.14 2020/04/03 10:32:09 ajacoutot Exp $
@bin bin/spicy
@bin bin/spicy-screenshot
@bin bin/spicy-stats
@ -36,63 +36,18 @@ include/spice-client-gtk-3.0/spice-widget.h
include/spice-client-gtk-3.0/usb-device-widget.h
lib/girepository-1.0/SpiceClientGLib-2.0.typelib
lib/girepository-1.0/SpiceClientGtk-3.0.typelib
lib/libspice-client-glib-2.0.a
lib/libspice-client-glib-2.0.la
@lib lib/libspice-client-glib-2.0.so.${LIBspice-client-glib-2.0_VERSION}
lib/libspice-client-gtk-3.0.a
lib/libspice-client-gtk-3.0.la
@lib lib/libspice-client-gtk-3.0.so.${LIBspice-client-gtk-3.0_VERSION}
lib/pkgconfig/spice-client-glib-2.0.pc
lib/pkgconfig/spice-client-gtk-3.0.pc
@man man/man1/spice-client.1
share/gir-1.0/SpiceClientGLib-2.0.gir
share/gir-1.0/SpiceClientGtk-3.0.gir
share/gtk-doc/html/spice-gtk/
share/gtk-doc/html/spice-gtk/SpiceAudio.html
share/gtk-doc/html/spice-gtk/SpiceChannel.html
share/gtk-doc/html/spice-gtk/SpiceCursorChannel.html
share/gtk-doc/html/spice-gtk/SpiceDisplay.html
share/gtk-doc/html/spice-gtk/SpiceDisplayChannel.html
share/gtk-doc/html/spice-gtk/SpiceFileTransferTask.html
share/gtk-doc/html/spice-gtk/SpiceGtkSession.html
share/gtk-doc/html/spice-gtk/SpiceInputsChannel.html
share/gtk-doc/html/spice-gtk/SpiceMainChannel.html
share/gtk-doc/html/spice-gtk/SpicePlaybackChannel.html
share/gtk-doc/html/spice-gtk/SpicePortChannel.html
share/gtk-doc/html/spice-gtk/SpiceRecordChannel.html
share/gtk-doc/html/spice-gtk/SpiceSession.html
share/gtk-doc/html/spice-gtk/SpiceSmartcardChannel.html
share/gtk-doc/html/spice-gtk/SpiceSmartcardManager.html
share/gtk-doc/html/spice-gtk/SpiceUsbDeviceManager.html
share/gtk-doc/html/spice-gtk/SpiceUsbDeviceWidget.html
share/gtk-doc/html/spice-gtk/SpiceUsbredirChannel.html
share/gtk-doc/html/spice-gtk/SpiceWebdavChannel.html
share/gtk-doc/html/spice-gtk/annotation-glossary.html
share/gtk-doc/html/spice-gtk/api-index-full.html
share/gtk-doc/html/spice-gtk/api-reference.html
share/gtk-doc/html/spice-gtk/application-support.html
share/gtk-doc/html/spice-gtk/ch01.html
share/gtk-doc/html/spice-gtk/ch02.html
share/gtk-doc/html/spice-gtk/ch03.html
share/gtk-doc/html/spice-gtk/home.png
share/gtk-doc/html/spice-gtk/index.html
share/gtk-doc/html/spice-gtk/left-insensitive.png
share/gtk-doc/html/spice-gtk/left.png
share/gtk-doc/html/spice-gtk/object-tree.html
share/gtk-doc/html/spice-gtk/right-insensitive.png
share/gtk-doc/html/spice-gtk/right.png
share/gtk-doc/html/spice-gtk/spice-gtk-SpiceQmpPort.html
share/gtk-doc/html/spice-gtk/spice-gtk-SpiceURI.html
share/gtk-doc/html/spice-gtk/spice-gtk-Utilities.html
share/gtk-doc/html/spice-gtk/spice-gtk-spice-version.html
share/gtk-doc/html/spice-gtk/spice-gtk.devhelp2
share/gtk-doc/html/spice-gtk/style.css
share/gtk-doc/html/spice-gtk/up-insensitive.png
share/gtk-doc/html/spice-gtk/up.png
share/locale/cs/LC_MESSAGES/spice-gtk.mo
share/locale/de/LC_MESSAGES/spice-gtk.mo
share/locale/fr/LC_MESSAGES/spice-gtk.mo
share/locale/it/LC_MESSAGES/spice-gtk.mo
share/locale/ru/LC_MESSAGES/spice-gtk.mo
share/vala/vapi/spice-client-glib-2.0.deps
share/vala/vapi/spice-client-glib-2.0.vapi
share/vala/vapi/spice-client-gtk-3.0.deps