diff --git a/emulators/qemu/Makefile b/emulators/qemu/Makefile index a54d92f0d391..f8bcf8782f05 100644 --- a/emulators/qemu/Makefile +++ b/emulators/qemu/Makefile @@ -1,7 +1,7 @@ -# $NetBSD: Makefile,v 1.229 2020/02/06 21:42:29 kamil Exp $ +# $NetBSD: Makefile,v 1.230 2020/02/06 22:01:37 kamil Exp $ DISTNAME= qemu-4.2.0 -PKGREVISION= 6 +PKGREVISION= 7 CATEGORIES= emulators MASTER_SITES= https://download.qemu.org/ EXTRACT_SUFX= .tar.xz diff --git a/emulators/qemu/options.mk b/emulators/qemu/options.mk index 1b0991e0e962..dc55214ad449 100644 --- a/emulators/qemu/options.mk +++ b/emulators/qemu/options.mk @@ -1,7 +1,8 @@ -# $NetBSD: options.mk,v 1.6 2020/01/13 02:50:25 gutteridge Exp $ +# $NetBSD: options.mk,v 1.7 2020/02/06 22:01:37 kamil Exp $ PKG_OPTIONS_VAR= PKG_OPTIONS.qemu -PKG_SUPPORTED_OPTIONS= gtk3 sdl +PKG_SUPPORTED_OPTIONS= gtk3 sdl spice +PKG_SUGGESTED_OPTIONS+= spice .include "../../mk/bsd.fast.prefs.mk" @@ -40,3 +41,11 @@ CONFIGURE_ARGS+= --enable-virtfs .else CONFIGURE_ARGS+= --disable-virtfs .endif + +.if !empty(PKG_OPTIONS:Mspice) +CONFIGURE_ARGS+= --enable-spice +.include "../../sysutils/spice-protocol/buildlink3.mk" +.include "../../sysutils/spice-server/buildlink3.mk" +.else +CONFIGURE_ARGS+= --disable-spice +.endif