pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/graphics/MesaLib MesaLib: enable wayland where supported



details:   https://anonhg.NetBSD.org/pkgsrc/rev/e795e709a110
branches:  trunk
changeset: 420521:e795e709a110
user:      nia <nia%pkgsrc.org@localhost>
date:      Sat Jan 04 01:50:32 2020 +0000

description:
MesaLib: enable wayland where supported

diffstat:

 graphics/MesaLib/Makefile   |  3 ++-
 graphics/MesaLib/options.mk |  8 +++++++-
 2 files changed, 9 insertions(+), 2 deletions(-)

diffs (35 lines):

diff -r 766b13a0f81e -r e795e709a110 graphics/MesaLib/Makefile
--- a/graphics/MesaLib/Makefile Sat Jan 04 01:49:26 2020 +0000
+++ b/graphics/MesaLib/Makefile Sat Jan 04 01:50:32 2020 +0000
@@ -1,7 +1,8 @@
-# $NetBSD: Makefile,v 1.179 2019/12/08 13:07:20 nia Exp $
+# $NetBSD: Makefile,v 1.180 2020/01/04 01:50:32 nia Exp $
 
 DISTNAME=      mesa-19.2.7
 PKGNAME=       ${DISTNAME:S/mesa/MesaLib/}
+PKGREVISION=   1
 CATEGORIES=    graphics
 MASTER_SITES=  https://mesa.freedesktop.org/archive/
 EXTRACT_SUFX=  .tar.xz
diff -r 766b13a0f81e -r e795e709a110 graphics/MesaLib/options.mk
--- a/graphics/MesaLib/options.mk       Sat Jan 04 01:49:26 2020 +0000
+++ b/graphics/MesaLib/options.mk       Sat Jan 04 01:50:32 2020 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: options.mk,v 1.77 2019/12/08 13:07:20 nia Exp $
+# $NetBSD: options.mk,v 1.78 2020/01/04 01:50:32 nia Exp $
 
 PKG_OPTIONS_VAR=               PKG_OPTIONS.MesaLib
 
@@ -12,6 +12,12 @@
 
 PKG_SUGGESTED_OPTIONS+=                x11
 
+.include "../../devel/wayland/platform.mk"
+
+.if ${PLATFORM_SUPPORTS_WAYLAND} == "yes"
+PKG_SUGGESTED_OPTIONS+=                wayland
+.endif
+
 # The LLVM option enables JIT accelerated software rendering and is also
 # required to support the latest RADEON GPUs.
 #



Home | Main Index | Thread Index | Old Index