summaryrefslogtreecommitdiffstats
path: root/graphics/gexiv2/DEPENDS
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/gexiv2/DEPENDS')
-rwxr-xr-xgraphics/gexiv2/DEPENDS14
1 files changed, 13 insertions, 1 deletions
diff --git a/graphics/gexiv2/DEPENDS b/graphics/gexiv2/DEPENDS
index 2f4509e927..664e78d111 100755
--- a/graphics/gexiv2/DEPENDS
+++ b/graphics/gexiv2/DEPENDS
@@ -1 +1,13 @@
-depends exiv2
+depends exiv2 &&
+optional_depends gobject-introspection \
+ "--enable-introspection" \
+ "" \
+ "for GObject introspection, required for python bindings" &&
+if is_depends_enabled $SPELL gobject-introspection; then
+ depends PYTHON &&
+ if is_depends_enabled $SPELL python; then
+ depends pygobject
+ else
+ depends pygobject3
+ fi
+fi