pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/emulators/qemu



Module Name:    pkgsrc
Committed By:   nia
Date:           Thu May 28 14:44:19 UTC 2020

Modified Files:
        pkgsrc/emulators/qemu: Makefile options.mk

Log Message:
qemu: support opengl

bump pkgrevision


To generate a diff of this commit:
cvs rdiff -u -r1.244 -r1.245 pkgsrc/emulators/qemu/Makefile
cvs rdiff -u -r1.9 -r1.10 pkgsrc/emulators/qemu/options.mk

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/emulators/qemu/Makefile
diff -u pkgsrc/emulators/qemu/Makefile:1.244 pkgsrc/emulators/qemu/Makefile:1.245
--- pkgsrc/emulators/qemu/Makefile:1.244        Tue May 26 07:17:53 2020
+++ pkgsrc/emulators/qemu/Makefile      Thu May 28 14:44:19 2020
@@ -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+=      --mandir=${PREFIX}/${PK
 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)

Index: pkgsrc/emulators/qemu/options.mk
diff -u pkgsrc/emulators/qemu/options.mk:1.9 pkgsrc/emulators/qemu/options.mk:1.10
--- pkgsrc/emulators/qemu/options.mk:1.9        Fri Mar 13 13:57:04 2020
+++ pkgsrc/emulators/qemu/options.mk    Thu May 28 14:44:19 2020
@@ -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 @@ PKG_SUPPORTED_OPTIONS+=       virtfs-proxy-hel
 .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+=     --enable-gtk
 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