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.
This commit is contained in:
parent
0735887c03
commit
f76d5ecb1e
|
@ -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 @@ EXTRACT_SUFX= .tar.bz2
|
|||
MAINTAINER= pkgsrc-users@NetBSD.org
|
||||
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"
|
||||
|
|
|
@ -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
|
Loading…
Reference in New Issue