Sat Jan 4 01:50:32 2020 UTC ()
MesaLib: enable wayland where supported


(nia)
diff -r1.179 -r1.180 pkgsrc/graphics/MesaLib/Makefile
diff -r1.77 -r1.78 pkgsrc/graphics/MesaLib/options.mk

cvs diff -r1.179 -r1.180 pkgsrc/graphics/MesaLib/Makefile (expand / switch to unified diff)

--- pkgsrc/graphics/MesaLib/Makefile 2019/12/08 13:07:20 1.179
+++ pkgsrc/graphics/MesaLib/Makefile 2020/01/04 01:50:32 1.180
@@ -1,17 +1,18 @@ @@ -1,17 +1,18 @@
1# $NetBSD: Makefile,v 1.179 2019/12/08 13:07:20 nia Exp $ 1# $NetBSD: Makefile,v 1.180 2020/01/04 01:50:32 nia Exp $
2 2
3DISTNAME= mesa-19.2.7 3DISTNAME= mesa-19.2.7
4PKGNAME= ${DISTNAME:S/mesa/MesaLib/} 4PKGNAME= ${DISTNAME:S/mesa/MesaLib/}
 5PKGREVISION= 1
5CATEGORIES= graphics 6CATEGORIES= graphics
6MASTER_SITES= https://mesa.freedesktop.org/archive/ 7MASTER_SITES= https://mesa.freedesktop.org/archive/
7EXTRACT_SUFX= .tar.xz 8EXTRACT_SUFX= .tar.xz
8 9
9MAINTAINER= nia@NetBSD.org 10MAINTAINER= nia@NetBSD.org
10HOMEPAGE= https://www.mesa3d.org/ 11HOMEPAGE= https://www.mesa3d.org/
11COMMENT= Open source OpenGL implementation 12COMMENT= Open source OpenGL implementation
12LICENSE= mit 13LICENSE= mit
13 14
14USE_TOOLS+= bison flex pkg-config xgettext 15USE_TOOLS+= bison flex pkg-config xgettext
15USE_LANGUAGES= c99 c++14 16USE_LANGUAGES= c99 c++14
16USE_LIBTOOL= yes 17USE_LIBTOOL= yes
17 18

cvs diff -r1.77 -r1.78 pkgsrc/graphics/MesaLib/options.mk (expand / switch to unified diff)

--- pkgsrc/graphics/MesaLib/options.mk 2019/12/08 13:07:20 1.77
+++ pkgsrc/graphics/MesaLib/options.mk 2020/01/04 01:50:32 1.78
@@ -1,27 +1,33 @@ @@ -1,27 +1,33 @@
1# $NetBSD: options.mk,v 1.77 2019/12/08 13:07:20 nia Exp $ 1# $NetBSD: options.mk,v 1.78 2020/01/04 01:50:32 nia Exp $
2 2
3PKG_OPTIONS_VAR= PKG_OPTIONS.MesaLib 3PKG_OPTIONS_VAR= PKG_OPTIONS.MesaLib
4 4
5.include "features.mk" 5.include "features.mk"
6 6
7PKG_SUPPORTED_OPTIONS+= llvm vulkan x11 7PKG_SUPPORTED_OPTIONS+= llvm vulkan x11
8 8
9.if ${MESALIB_SUPPORTS_DRI} == "yes" 9.if ${MESALIB_SUPPORTS_DRI} == "yes"
10PKG_SUPPORTED_OPTIONS+= wayland 10PKG_SUPPORTED_OPTIONS+= wayland
11.endif 11.endif
12 12
13PKG_SUGGESTED_OPTIONS+= x11 13PKG_SUGGESTED_OPTIONS+= x11
14 14
 15.include "../../devel/wayland/platform.mk"
 16
 17.if ${PLATFORM_SUPPORTS_WAYLAND} == "yes"
 18PKG_SUGGESTED_OPTIONS+= wayland
 19.endif
 20
15# The LLVM option enables JIT accelerated software rendering and is also 21# The LLVM option enables JIT accelerated software rendering and is also
16# required to support the latest RADEON GPUs. 22# required to support the latest RADEON GPUs.
17# 23#
18# Enable it by default on platforms where such GPUs might be encountered or 24# Enable it by default on platforms where such GPUs might be encountered or
19# LLVM-accelerated software rendering might be useful. 25# LLVM-accelerated software rendering might be useful.
20.if ${MESALIB_SUPPORTS_DRI} == "yes" && \ 26.if ${MESALIB_SUPPORTS_DRI} == "yes" && \
21 ${OPSYS} != "SunOS" && \ 27 ${OPSYS} != "SunOS" && \
22 (${MACHINE_ARCH} == "i386" || \ 28 (${MACHINE_ARCH} == "i386" || \
23 ${MACHINE_ARCH} == "x86_64" || \ 29 ${MACHINE_ARCH} == "x86_64" || \
24 ${MACHINE_ARCH} == "aarch64") 30 ${MACHINE_ARCH} == "aarch64")
25PKG_SUGGESTED_OPTIONS+= llvm 31PKG_SUGGESTED_OPTIONS+= llvm
26.endif 32.endif
27 33