qemu: Add new option and enable it by default: spice
Spice-Space is a Simple Protocol for Independent Computing Environments.
This commit is contained in:
parent
9138b36ae2
commit
fefedb8307
2 changed files with 13 additions and 4 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue