Source-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc Skip building only-useful-with-Wayland packages on uns...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/c466cbef4007
branches:  trunk
changeset: 437241:c466cbef4007
user:      nia <nia%pkgsrc.org@localhost>
date:      Wed Aug 19 08:16:21 2020 +0000

description:
Skip building only-useful-with-Wayland packages on unsupported systems

diffstat:

 graphics/wld/Makefile              |  8 +++++++-
 x11/modular-xorg-xwayland/Makefile |  8 +++++++-
 x11/qt5-qtwayland/Makefile         |  8 +++++++-
 3 files changed, 21 insertions(+), 3 deletions(-)

diffs (63 lines):

diff -r 6428f3e50845 -r c466cbef4007 graphics/wld/Makefile
--- a/graphics/wld/Makefile     Wed Aug 19 08:11:49 2020 +0000
+++ b/graphics/wld/Makefile     Wed Aug 19 08:16:21 2020 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.5 2020/08/17 20:17:33 leot Exp $
+# $NetBSD: Makefile,v 1.6 2020/08/19 08:16:21 nia Exp $
 
 DISTNAME=      wld-0.0.0.20200220
 PKGREVISION=   2
@@ -29,6 +29,12 @@
 
 PKGCONFIG_OVERRIDE+=   wld.pc.in
 
+.include "../../devel/wayland/platform.mk"
+
+.if empty(PLATFORM_SUPPORTS_WAYLAND:M[Yy][Ee][Ss])
+PKG_SKIP_REASON+=      "Platform does not support Wayland"
+.endif
+
 .include "../../devel/wayland/buildlink3.mk"
 .include "../../fonts/fontconfig/buildlink3.mk"
 BUILDLINK_API_DEPENDS.libdrm+= libdrm>=2.4.83
diff -r 6428f3e50845 -r c466cbef4007 x11/modular-xorg-xwayland/Makefile
--- a/x11/modular-xorg-xwayland/Makefile        Wed Aug 19 08:11:49 2020 +0000
+++ b/x11/modular-xorg-xwayland/Makefile        Wed Aug 19 08:16:21 2020 +0000
@@ -1,9 +1,15 @@
-# $NetBSD: Makefile,v 1.8 2020/07/31 16:50:57 maya Exp $
+# $NetBSD: Makefile,v 1.9 2020/08/19 08:16:21 nia Exp $
 
 DISTNAME=      xorg-server-${XORG_VERSION}
 PKGNAME=       modular-xorg-xwayland-${XORG_VERSION}
 PKGREVISION=   2
 
+.include "../../devel/wayland/platform.mk"
+
+.if empty(PLATFORM_SUPPORTS_WAYLAND:M[Yy][Ee][Ss])
+PKG_SKIP_REASON+=      "Platform does not support Wayland"
+.endif
+
 DISTINFO_FILE=         ${.CURDIR}/../../x11/modular-xorg-server/distinfo
 PATCHDIR=              ${.CURDIR}/../../x11/modular-xorg-server/patches
 
diff -r 6428f3e50845 -r c466cbef4007 x11/qt5-qtwayland/Makefile
--- a/x11/qt5-qtwayland/Makefile        Wed Aug 19 08:11:49 2020 +0000
+++ b/x11/qt5-qtwayland/Makefile        Wed Aug 19 08:16:21 2020 +0000
@@ -1,10 +1,16 @@
-# $NetBSD: Makefile,v 1.11 2020/08/17 20:20:34 leot Exp $
+# $NetBSD: Makefile,v 1.12 2020/08/19 08:16:21 nia Exp $
 
 DISTNAME=      qtwayland-everywhere-src-${QTVERSION}
 PKGNAME=       qt5-qtwayland-${QTVERSION}
 PKGREVISION=   1
 COMMENT=       Qt5 module for Wayland support
 
+.include "../../devel/wayland/platform.mk"
+
+.if empty(PLATFORM_SUPPORTS_WAYLAND:M[Yy][Ee][Ss])
+PKG_SKIP_REASON+=      "Platform does not support Wayland"
+.endif
+
 BUILD_TARGET=          sub-src
 INSTALL_ENV+=          INSTALL_ROOT=${DESTDIR}
 INSTALLATION_DIRS+=    lib/pkgconfig



Home | Main Index | Thread Index | Old Index