bec128a5ca
The clutter build failed because GLX_FRONT_LEFT_EXT and GLX_BIND_TO_TEXTURE_RGBA_EXT were not defined. (I had MesaLib-6.4.2nb3 installed.) So add BUILDLINK_API_DEPENDS.MesaLib+= MesaLib>=7.0
33 lines
928 B
Makefile
33 lines
928 B
Makefile
# $NetBSD: options.mk,v 1.2 2009/04/11 17:19:00 reed Exp $
|
|
#
|
|
|
|
PKG_OPTIONS_VAR= PKG_OPTIONS.clutter
|
|
PKG_SUPPORTED_OPTIONS= x11
|
|
PKG_SUGGESTED_OPTIONS= x11
|
|
|
|
.include "../../mk/bsd.options.mk"
|
|
|
|
PLIST_VARS+= x11 osx
|
|
|
|
.if !empty(PKG_OPTIONS:Mx11)
|
|
PLIST.x11= yes
|
|
CONFIGURE_ARGS+= --with-x
|
|
CONFIGURE_ARGS+= --with-flavour=glx
|
|
CONFIGURE_ARGS+= --with-imagebackend=gdk-pixbuf
|
|
BUILDLINK_API_DEPENDS.MesaLib+= MesaLib>=7.0
|
|
.include "../../graphics/MesaLib/buildlink3.mk"
|
|
.include "../../x11/libX11/buildlink3.mk"
|
|
.include "../../x11/libXdamage/buildlink3.mk"
|
|
.include "../../x11/libXfixes/buildlink3.mk"
|
|
.include "../../x11/libXcomposite/buildlink3.mk"
|
|
.include "../../x11/libXi/buildlink3.mk"
|
|
.include "../../x11/gtk2/buildlink3.mk"
|
|
.else
|
|
CONFIGURE_ARGS+= --without-x
|
|
.include "../../mk/bsd.prefs.mk"
|
|
. if ${OPSYS} == Darwin
|
|
PLIST.osx= yes
|
|
CONFIGURE_ARGS+= --with-flavour=osx
|
|
CONFIGURE_ARGS+= --with-imagebackend=quartz
|
|
. endif
|
|
.endif
|