persistent_remove LIBGSF_BRANCH &&

depends slibtool LIBTOOL=slibtool-shared &&
depends GETTEXT &&
depends glib2 &&
depends zlib &&
depends libxml2 &&
depends PKG-CONFIG &&
depends xml-parser-expat &&
depends intltool &&

optional_depends bzip2 \
                 "--with-bz2" \
                 "--without-bz2" \
                 "build additional wrappers for BZ2" &&

optional_depends gvfs \
                 "--with-gio" \
                 "--without-gio" \
                 "build additional wrappers for GIO" &&

optional_depends pygtk2 \
                 "--with-python" \
                 "--without-python" \
                 "build with the python support" &&

if is_depends_enabled $SPELL pygtk2; then
  depends python
fi &&

optional_depends gtk-doc \
                 "--enable-gtk-doc" \
                 "--disable-gtk-doc" \
                 "build documentation with gtk-doc" &&

optional_depends gdk-pixbuf2 \
                 "--with-gdk-pixbuf" \
                 "--without-gdk-pixbuf" \
                 "to use GDK PixBuf image library" &&

optional_depends gobject-introspection \
                 "--enable-introspection=yes" \
                 "--enable-introspection=no" \
                 "for GObject introspection"
