pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/graphics/glw graphics/glw: Enable Motif support.
details: https://anonhg.NetBSD.org/pkgsrc/rev/f3314f16898d
branches: trunk
changeset: 390548:f3314f16898d
user: vins <vins%pkgsrc.org@localhost>
date: Thu Dec 22 06:26:20 2022 +0000
description:
graphics/glw: Enable Motif support.
Optionally build package with motif support (enabled by default).
This adds support for GLwMDrawingArea widget classes.
Required by graphics/xmakemol (currently in wip).
Update LICENSE.
Bump revision.
diffstat:
graphics/glw/Makefile | 8 +++++---
graphics/glw/options.mk | 17 +++++++++++++++++
2 files changed, 22 insertions(+), 3 deletions(-)
diffs (50 lines):
diff -r 65240868eff4 -r f3314f16898d graphics/glw/Makefile
--- a/graphics/glw/Makefile Thu Dec 22 02:06:55 2022 +0000
+++ b/graphics/glw/Makefile Thu Dec 22 06:26:20 2022 +0000
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.4 2022/12/21 17:26:55 vins Exp $
+# $NetBSD: Makefile,v 1.5 2022/12/22 06:26:20 vins Exp $
DISTNAME= glw-8.0.0
-PKGREVISION= 1
+PKGREVISION= 2
CATEGORIES= graphics
MASTER_SITES= https://mesa.freedesktop.org/archive/glw/
EXTRACT_SUFX= .tar.bz2
@@ -9,12 +9,14 @@
MAINTAINER= pkgsrc-users%NetBSD.org@localhost
HOMEPAGE= https://cgit.freedesktop.org/mesa/glw/
COMMENT= GL widget for Athena and Motif
-#LICENSE= https://cgit.freedesktop.org/mesa/glw/tree/README
+LICENSE= sgi-free-software-b-v2.0
GNU_CONFIGURE= yes
USE_LIBTOOL= yes
USE_TOOLS+= pkg-config
+.include "options.mk"
+
PKGCONFIG_OVERRIDE+= glw.pc.in
.include "../../graphics/MesaLib/buildlink3.mk"
diff -r 65240868eff4 -r f3314f16898d graphics/glw/options.mk
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/graphics/glw/options.mk Thu Dec 22 06:26:20 2022 +0000
@@ -0,0 +1,17 @@
+# $NetBSD: options.mk,v 1.1 2022/12/22 06:26:20 vins Exp $
+
+PKG_OPTIONS_VAR= PKG_OPTIONS.glw
+PKG_SUPPORTED_OPTIONS+= motif
+PKG_SUGGESTED_OPTIONS= motif
+
+.include "../../mk/bsd.options.mk"
+
+##
+## Enable Motif:
+## XmPrimitive widget class support.
+##
+.if !empty(PKG_OPTIONS:Mmotif)
+. include "../../mk/motif.buildlink3.mk"
+#CFLAGS+= -D__GLX_MOTIF=1
+CONFIGURE_ARGS+= --enable-motif
+.endif
Home |
Main Index |
Thread Index |
Old Index