Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/emulators/qemu qemu: support opengl
details: https://anonhg.NetBSD.org/pkgsrc/rev/c67c0783d038
branches: trunk
changeset: 432979:c67c0783d038
user: nia <nia%pkgsrc.org@localhost>
date: Thu May 28 14:44:19 2020 +0000
description:
qemu: support opengl
bump pkgrevision
diffstat:
emulators/qemu/Makefile | 5 ++---
emulators/qemu/options.mk | 13 +++++++++++--
2 files changed, 13 insertions(+), 5 deletions(-)
diffs (55 lines):
diff -r e9e409cab82b -r c67c0783d038 emulators/qemu/Makefile
--- a/emulators/qemu/Makefile Thu May 28 14:21:50 2020 +0000
+++ b/emulators/qemu/Makefile Thu May 28 14:44:19 2020 +0000
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.244 2020/05/26 07:17:53 skrll Exp $
+# $NetBSD: Makefile,v 1.245 2020/05/28 14:44:19 nia Exp $
DISTNAME= qemu-5.0.0
-PKGREVISION= 4
+PKGREVISION= 5
CATEGORIES= emulators
MASTER_SITES= https://download.qemu.org/
EXTRACT_SUFX= .tar.xz
@@ -43,7 +43,6 @@
CONFIGURE_ARGS+= --enable-curses
CONFIGURE_ARGS+= --enable-docs
CONFIGURE_ARGS+= --enable-jemalloc
-CONFIGURE_ARGS+= --disable-opengl
CONFIGURE_ENV+= mansuffix=/${PKGMANDIR}
.if defined(PKGSRC_USE_SSP)
diff -r e9e409cab82b -r c67c0783d038 emulators/qemu/options.mk
--- a/emulators/qemu/options.mk Thu May 28 14:21:50 2020 +0000
+++ b/emulators/qemu/options.mk Thu May 28 14:44:19 2020 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: options.mk,v 1.9 2020/03/13 13:57:04 tnn Exp $
+# $NetBSD: options.mk,v 1.10 2020/05/28 14:44:19 nia Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.qemu
PKG_SUPPORTED_OPTIONS= gtk3 iscsi sdl spice
@@ -11,7 +11,8 @@
.endif
.if ${OPSYS} != "Darwin"
-PKG_SUGGESTED_OPTIONS+= sdl
+PKG_SUPPORTED_OPTIONS+= opengl
+PKG_SUGGESTED_OPTIONS+= opengl sdl
.endif
.include "../../mk/bsd.options.mk"
@@ -26,6 +27,14 @@
CONFIGURE_ARGS+= --disable-gtk
.endif
+.if !empty(PKG_OPTIONS:Mopengl)
+CONFIGURE_ARGS+= --enable-opengl
+.include "../../graphics/MesaLib/buildlink3.mk"
+.include "../../graphics/libepoxy/buildlink3.mk"
+.else
+CONFIGURE_ARGS+= --disable-opengl
+.endif
+
.if !empty(PKG_OPTIONS:Msdl)
CONFIGURE_ARGS+= --enable-sdl
.include "../../devel/SDL2/buildlink3.mk"
Home |
Main Index |
Thread Index |
Old Index