diff options
author | kamil <kamil@pkgsrc.org> | 2020-02-06 22:01:37 +0000 |
---|---|---|
committer | kamil <kamil@pkgsrc.org> | 2020-02-06 22:01:37 +0000 |
commit | 58c9d5ebf64c92217c5676471ca1e8665dde8c10 (patch) | |
tree | 4e3bfae4b14898c9e64b1f021e83925ef3f5dfde /emulators | |
parent | 2af03930e87d615d0da2289f46e3dffb446ff08f (diff) | |
download | pkgsrc-58c9d5ebf64c92217c5676471ca1e8665dde8c10.tar.gz |
qemu: Add new option and enable it by default: spice
Spice-Space is a Simple Protocol for Independent Computing Environments.
Diffstat (limited to 'emulators')
-rw-r--r-- | emulators/qemu/Makefile | 4 | ||||
-rw-r--r-- | emulators/qemu/options.mk | 13 |
2 files changed, 13 insertions, 4 deletions
diff --git a/emulators/qemu/Makefile b/emulators/qemu/Makefile index a54d92f0d39..f8bcf8782f0 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 1b0991e0e96..dc55214ad44 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 |