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/83ac84d411a9
branches:  trunk
changeset: 346842:83ac84d411a9
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 8436230e3115 -r 83ac84d411a9 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 8436230e3115 -r 83ac84d411a9 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