qemu: enable spice by default. Proposed without objections on tech-pkg in https://mail-index.netbsd.org/tech-pkg/2020/11/01/msg023995.html PKGREVISION++diff -r1.257 -r1.258 pkgsrc/emulators/qemu/Makefile
(maya)
@@ -1,17 +1,17 @@ | @@ -1,17 +1,17 @@ | |||
1 | # $NetBSD: Makefile,v 1.257 2020/12/04 20:45:17 nia Exp $ | 1 | # $NetBSD: Makefile,v 1.258 2020/12/15 16:50:08 maya Exp $ | |
2 | 2 | |||
3 | DISTNAME= qemu-5.1.0 | 3 | DISTNAME= qemu-5.1.0 | |
4 | PKGREVISION= 10 | 4 | PKGREVISION= 11 | |
5 | CATEGORIES= emulators | 5 | CATEGORIES= emulators | |
6 | MASTER_SITES= https://download.qemu.org/ | 6 | MASTER_SITES= https://download.qemu.org/ | |
7 | EXTRACT_SUFX= .tar.xz | 7 | EXTRACT_SUFX= .tar.xz | |
8 | 8 | |||
9 | MAINTAINER= pkgsrc-users@NetBSD.org | 9 | MAINTAINER= pkgsrc-users@NetBSD.org | |
10 | HOMEPAGE= http://www.qemu-project.org/ | 10 | HOMEPAGE= http://www.qemu-project.org/ | |
11 | COMMENT= CPU emulator using dynamic translation | 11 | COMMENT= CPU emulator using dynamic translation | |
12 | LICENSE= gnu-gpl-v2 AND gnu-lgpl-v2.1 AND mit AND modified-bsd | 12 | LICENSE= gnu-gpl-v2 AND gnu-lgpl-v2.1 AND mit AND modified-bsd | |
13 | 13 | |||
14 | USE_CURSES= resize_term wide | 14 | USE_CURSES= resize_term wide | |
15 | USE_LANGUAGES+= c c++ | 15 | USE_LANGUAGES+= c c++ | |
16 | USE_TOOLS+= bison flex gmake makeinfo perl:build pod2man pkg-config | 16 | USE_TOOLS+= bison flex gmake makeinfo perl:build pod2man pkg-config | |
17 | FAKE_NCURSES= yes | 17 | FAKE_NCURSES= yes |
@@ -1,18 +1,18 @@ | @@ -1,18 +1,18 @@ | |||
1 | # $NetBSD: options.mk,v 1.12 2020/09/27 21:27:27 jakllsch Exp $ | 1 | # $NetBSD: options.mk,v 1.13 2020/12/15 16:50:08 maya Exp $ | |
2 | 2 | |||
3 | PKG_OPTIONS_VAR= PKG_OPTIONS.qemu | 3 | PKG_OPTIONS_VAR= PKG_OPTIONS.qemu | |
4 | PKG_SUPPORTED_OPTIONS= debug-info gtk3 iscsi sdl spice | 4 | PKG_SUPPORTED_OPTIONS= debug-info gtk3 iscsi sdl spice | |
5 | PKG_SUGGESTED_OPTIONS+= iscsi | 5 | PKG_SUGGESTED_OPTIONS+= iscsi spice | |
6 | 6 | |||
7 | .include "../../mk/bsd.fast.prefs.mk" | 7 | .include "../../mk/bsd.fast.prefs.mk" | |
8 | 8 | |||
9 | .if ${OPSYS} == "Linux" | 9 | .if ${OPSYS} == "Linux" | |
10 | PKG_SUPPORTED_OPTIONS+= virtfs-proxy-helper | 10 | PKG_SUPPORTED_OPTIONS+= virtfs-proxy-helper | |
11 | .endif | 11 | .endif | |
12 | 12 | |||
13 | .if ${OPSYS} != "Darwin" | 13 | .if ${OPSYS} != "Darwin" | |
14 | # NetBSD<9.0 does not have EGL support in native X11, | 14 | # NetBSD<9.0 does not have EGL support in native X11, | |
15 | # so the QEMU OpenGL display driver cannot build. | 15 | # so the QEMU OpenGL display driver cannot build. | |
16 | . include "../../graphics/MesaLib/features.mk" | 16 | . include "../../graphics/MesaLib/features.mk" | |
17 | . if !empty(MESALIB_SUPPORTS_EGL:M[Yy][Ee][Ss]) | 17 | . if !empty(MESALIB_SUPPORTS_EGL:M[Yy][Ee][Ss]) | |
18 | PKG_SUPPORTED_OPTIONS+= opengl | 18 | PKG_SUPPORTED_OPTIONS+= opengl |