depends alsa-lib &&
depends autoconf &&
depends bash &&
depends binutils &&
depends coreutils &&
depends cups &&
depends diffutils &&
depends file &&
depends findutils &&
depends fontconfig &&
depends freetype2 &&
depends gawk &&
depends gcc &&
depends glibc &&
depends grep &&
depends gzip &&
depends libffi &&
depends libx11 &&
depends libxext &&
depends libxi &&
depends libxrandr &&
depends libxrender &&
depends libxt &&
depends libxtst &&
depends make &&
depends PKG-CONFIG &&
depends sed &&
depends tar &&
depends unzip &&
depends which &&
depends xorgproto &&
depends zip &&

optional_depends giflib \
                 "--with-giflib=system" \
                 "--with-giflib=bundled" \
                 "Use system giflib instead of bundled" &&

optional_depends lcms \
                 "--with-lcms=system" \
                 "--with-lcms=bundled" \
                 "Use system lcms instead of bundled" &&

optional_depends JPEG \
                 "--with-libjpeg=system" \
                 "--with-libjpeg=bundled" \
                 "Use system libjpeg instead of bundled" &&

optional_depends libpng \
                 "--with-libpng=system" \
                 "--with-libpng=bundled" \
                 "Use system libpng instead of bundled" &&

optional_depends zlib \
                 "--with-zlib=system" \
                 "--with-zlib=bundled" \
                 "Use system zlib instead of bundled" &&

if [[ "$BUILD_JDK" != "$SPELL" ]]; then
  depends $BUILD_JDK
fi
