depends  gtkmm2      &&
depends  gtkglextmm  &&
depends  libsigc++   &&

if [ $XML_PROVIDER = "libxml2" ]; then
	depends libxml2 "--with-libxml2" 
else
	depends expat "--without-libxml2"
fi  &&

optional_depends  plib                                 \
                  "--with-plib"                        \
                  "--without-plib"                     \
                  "enable additional import/export formats"  &&

optional_depends  python                                           \
                  "--with-python"                                  \
                  "--without-python"                               \
                  "enable python script engines"                   &&

optional_depends  graphviz                                         \
                  "--with-graphviz"                                \
                  "--without-graphviz"                             \
                  "enable graphviz source documentation diagrams"  &&

optional_depends  freetype2                       \
                  "--with-freetype2"              \
                  "--without-freetype2"           \
                  "enable freetype2 text plugin"  &&

optional_depends  yafray                  \
                  ""                      \
                  ""                      \
                  "for Yafray raytracing"  &&

optional_depends  openexr                 \
                  "--with-openexr"        \
                  "--without-openexr"     \
                  "for High Dynamic Range graphics"  &&

optional_depends  imagemagick             \
                  "--with-imagemagick"    \
                  "--without-imagemagick" \
                  "for various image formats support"  &&

optional_depends  tiff                    \
                  "--with-tiff"           \
                  "--without-tiff"        \
                  "for TIFF format support"  &&

optional_depends  boost                       \
                  "--with-external-boost"     \
                  "--without-external-boost"  \
                  "to use an external boost library"  &&

optional_depends  libgnomeui                  \
                  "--with-gnome"              \
                  "--without-gnome"           \
                  "for gnome desktop integration"
