pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/emulators/qemu qemu: Add new option and enable it by d...
details: https://anonhg.NetBSD.org/pkgsrc/rev/ab4c7bb35ece
branches: trunk
changeset: 411174:ab4c7bb35ece
user: kamil <kamil%pkgsrc.org@localhost>
date: Thu Feb 06 22:01:37 2020 +0000
description:
qemu: Add new option and enable it by default: spice
Spice-Space is a Simple Protocol for Independent Computing Environments.
diffstat:
emulators/qemu/Makefile | 4 ++--
emulators/qemu/options.mk | 13 +++++++++++--
2 files changed, 13 insertions(+), 4 deletions(-)
diffs (39 lines):
diff -r 16d862fc7c19 -r ab4c7bb35ece emulators/qemu/Makefile
--- a/emulators/qemu/Makefile Thu Feb 06 21:58:15 2020 +0000
+++ b/emulators/qemu/Makefile Thu Feb 06 22:01:37 2020 +0000
@@ -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 -r 16d862fc7c19 -r ab4c7bb35ece emulators/qemu/options.mk
--- a/emulators/qemu/options.mk Thu Feb 06 21:58:15 2020 +0000
+++ b/emulators/qemu/options.mk Thu Feb 06 22:01:37 2020 +0000
@@ -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 @@
.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
Home |
Main Index |
Thread Index |
Old Index