depends  bison      &&  # Is this really needed?
depends  PKG-CONFIG  &&
depends  libxml2 &&
# make icu usage explicit
if is_depends_enabled libxml2 icu;then
  depends icu
fi &&


optional_depends  DEVICE-MANAGER  "udevscriptdir=$INSTALL_ROOT/lib/udev"  ""  \
                          "for kernel UDEV support"

optional_depends  lockdev  "" "" "serial port locking" &&
optional_depends  gettext  "--enable-nls" "--disable-nls" "NLS support" &&
optional_depends  libexif  "--with-exif"  "--without-exif"  \
      "extracts additional image information provided by most cameras"  &&

optional_depends JPEG "" "" "for JPEG mangling support" &&
optional_depends gd "" "" "for GD conversion support" &&

optional_depends  libtool  "--with-ltdl"  "--without-ltdl"  \
      "an alternative way of opening shared libraries"  &&

optional_depends libusb "" "" "enable use of cameras connected though the USB port"  &&

optional_depends  dbus     ""  ""  "for dbus support"          &&

# Currently broken, disabling it
# even if with current doxygen disabling hack that would be impossible to build anyway
#optional_depends gtk-doc                         \
#                 "--enable-docs"                 \
#                 "--disable-docs"                \
#                 "Build documentation with gtk-doc"  &&

if [ $DOXYGEN = 'y' ]; then
  depends doxygen
fi
