summaryrefslogtreecommitdiffstats
path: root/editors/gtkspell3/DEPENDS
diff options
context:
space:
mode:
Diffstat (limited to 'editors/gtkspell3/DEPENDS')
-rwxr-xr-xeditors/gtkspell3/DEPENDS22
1 files changed, 22 insertions, 0 deletions
diff --git a/editors/gtkspell3/DEPENDS b/editors/gtkspell3/DEPENDS
new file mode 100755
index 0000000000..c70139d0e9
--- /dev/null
+++ b/editors/gtkspell3/DEPENDS
@@ -0,0 +1,22 @@
+depends enchant &&
+
+optional_depends gtk+3 \
+ "--enable-gtk3" \
+ "--disable-gtk3" \
+ "to build with gtk+3" &&
+
+optional_depends gtk+2 \
+ "--enable-gtk2" \
+ "--disable-gtk2" \
+ "to build with gtk+3" &&
+
+if ! is_depends_enabled $SPELL gtk+3 && ! is_depends_enabled $SPELL gtk+2; then
+ depends gtk+3 "--enable-gtk3"
+fi &&
+
+optional_depends gobject-introspection \
+ "--enable-introspection=yes" \
+ "--enable-introspection=no" \
+ "for introspection support" &&
+
+optional_depends gtk-doc "--enable-gtk-doc" "--disable-gtk-doc" "for documentation"