summaryrefslogtreecommitdiffstats
path: root/graphics-libs/libgxps/DEPENDS
diff options
context:
space:
mode:
Diffstat (limited to 'graphics-libs/libgxps/DEPENDS')
-rwxr-xr-xgraphics-libs/libgxps/DEPENDS49
1 files changed, 47 insertions, 2 deletions
diff --git a/graphics-libs/libgxps/DEPENDS b/graphics-libs/libgxps/DEPENDS
index d91a2dce68..f9f62050f7 100755
--- a/graphics-libs/libgxps/DEPENDS
+++ b/graphics-libs/libgxps/DEPENDS
@@ -1,2 +1,47 @@
-depends git &&
-depends libarchive
+depends glib2 &&
+depends cairo &&
+depends libarchive &&
+depends freetype2 &&
+
+if [[ $LIBGXPS_BRANCH == scm ]]; then
+ depends git &&
+ depends gnome-common2 &&
+ depends gtk-doc &&
+ depends gobject-introspection
+else
+ optional_depends gtk-doc \
+ "--enable-gtk-doc" \
+ "--disable-gtk-doc" \
+ "to build documentation" &&
+
+ optional_depends gobject-introspection \
+ "--enable-introspection=yes" \
+ "--enable-introspection=no" \
+ "to enable introspection"
+
+fi &&
+
+optional_depends libpng "" "" "to build xpstopng tool" &&
+optional_depends -sub PDF cairo "" "" "to build xpstopdf tool" &&
+optional_depends -sub PS cairo "" "" "to build xpstops tool" &&
+optional_depends -sub SVG cairo "" "" "to build xpstosvg tool" &&
+
+optional_depends man \
+ "--enable-man" \
+ "--disable-man" \
+ "to install tools man pages" &&
+
+optional_depends JPEG \
+ "--with-libjpeg" \
+ "--without-libjpeg" \
+ "for JPEG support" &&
+
+optional_depends tiff \
+ "--with-libtiff" \
+ "--without-libtiff" \
+ "for Tiff support" &&
+
+optional_depends lcms2 \
+ "--with-liblcms2" \
+ "--without-liblcms2" \
+ "for Little CMS 2 support"