summaryrefslogtreecommitdiff
path: root/editors/dasher/options.mk
diff options
context:
space:
mode:
authorghen <ghen>2010-01-22 19:55:07 +0000
committerghen <ghen>2010-01-22 19:55:07 +0000
commit3b53b53a6776cf8561b3d5e61ed238f6aec28407 (patch)
treecdbb5cc5deac35fa5fb3928d764f27514990e1ba /editors/dasher/options.mk
parent0c27acf98c8e5f4cea22cddf5c68caced3e97f93 (diff)
downloadpkgsrc-3b53b53a6776cf8561b3d5e61ed238f6aec28407.tar.gz
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).
Diffstat (limited to 'editors/dasher/options.mk')
-rw-r--r--editors/dasher/options.mk37
1 files changed, 37 insertions, 0 deletions
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