summaryrefslogtreecommitdiffstats
path: root/gnome2-apps/galculator/DEPENDS
diff options
context:
space:
mode:
Diffstat (limited to 'gnome2-apps/galculator/DEPENDS')
-rwxr-xr-xgnome2-apps/galculator/DEPENDS21
1 files changed, 17 insertions, 4 deletions
diff --git a/gnome2-apps/galculator/DEPENDS b/gnome2-apps/galculator/DEPENDS
index 376aa43a9a..a9051cbdc2 100755
--- a/gnome2-apps/galculator/DEPENDS
+++ b/gnome2-apps/galculator/DEPENDS
@@ -1,4 +1,17 @@
-depends gtk+2 &&
-depends glib2 &&
-depends libglade2 &&
-depends xml-parser-expat
+depends glib2 &&
+depends xml-parser-expat &&
+
+optional_depends gtk+3 \
+ "--enable-gtk3" \
+ "--disable-gtk3" \
+ "to use GTK+3 instead of GTK+2" &&
+
+if ! is_depends_enabled $SPELL gtk+3; then
+ depends gtk+2 &&
+ depends libglade2
+fi &&
+
+optional_depends gettext \
+ "--enable-nls" \
+ "--disable-nls" \
+ "to use Native Language Support"