From 3b53b53a6776cf8561b3d5e61ed238f6aec28407 Mon Sep 17 00:00:00 2001 From: ghen Date: Fri, 22 Jan 2010 19:55:07 +0000 Subject: Add a "gnome" option for dasher (enabled by default), to make it possible to build the package without the gnome dependencies. XXX sometimes the canvas isn't drawn on startup. Resizing the window makes it appear (noted by Patrick Welche). --- editors/dasher/options.mk | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 editors/dasher/options.mk (limited to 'editors/dasher/options.mk') diff --git a/editors/dasher/options.mk b/editors/dasher/options.mk new file mode 100644 index 00000000000..7f4a535b323 --- /dev/null +++ b/editors/dasher/options.mk @@ -0,0 +1,37 @@ +# $NetBSD: options.mk,v 1.1 2010/01/22 19:55:07 ghen Exp $ + +PKG_OPTIONS_VAR= PKG_OPTIONS.dasher +PKG_SUPPORTED_OPTIONS= gnome +PKG_SUGGESTED_OPTIONS= gnome + +.include "../../mk/bsd.options.mk" + +PLIST_VARS= gnome + +### +### Gnome support +### +.if !empty(PKG_OPTIONS:Mgnome) +CONFIGURE_ARGS+= --with-gnome +PLIST.enchant= yes +.include "../../audio/gnome-speech/buildlink3.mk" +.include "../../devel/atk/buildlink3.mk" +.include "../../devel/at-spi/buildlink3.mk" +.include "../../devel/gettext-lib/buildlink3.mk" +BUILDLINK_API_DEPENDS.glib2+= glib2>=2.6.0 +.include "../../devel/glib2/buildlink3.mk" +.include "../../devel/libbonobo/buildlink3.mk" +.include "../../devel/libbonoboui/buildlink3.mk" +.include "../../devel/libgnome/buildlink3.mk" +.include "../../devel/libgnomeui/buildlink3.mk" +.include "../../devel/libwnck/buildlink3.mk" +.include "../../net/ORBit2/buildlink3.mk" +.include "../../sysutils/desktop-file-utils/desktopdb.mk" +.include "../../sysutils/gnome-vfs/buildlink3.mk" +.include "../../textproc/gnome-doc-utils/buildlink3.mk" +.include "../../mk/omf-scrollkeeper.mk" +.else +CONFIGURE_ARGS+= --without-gnome +CONFIGURE_ARGS+= --disable-a11y +CONFIGURE_ARGS+= --disable-nls +.endif # gnome -- cgit v1.2.3