depends qt4 &&
depends cmake    &&

if [[ $SOP_KDE == y ]];then
  depends redland  &&
  depends raptor   
  depends dbus     &&
  runtime_depends virtuoso
else
  optional_depends redland '' '-DSOPRANO_DISABLE_REDLAND_BACKEND=1' 'Redland backend' &&
optional_depends raptor  '' '-DSOPRANO_DISABLE_RAPTOR_PARSER=1' 'raptor parser and serializer plugins' &&
  suggest_depends virtuoso '' '-DSOPRANO_DISABLE_VIRTUOSO_BACKEND=1' 'full-text search database' &&
  optional_depends dbus    '' '-DSOPRANO_DISABLE_DBUS=1' 'dbus integration'
fi &&
if is_depends_enabled $SPELL dbus;then
  sub_depends qt4 DBUS
fi  &&

if is_depends_enabled $SPELL virtuoso;then
  depends libiodbc
fi &&
optional_depends clucene '' '-DSOPRANO_DISABLE_CLUCENE_INDEX=1' 'full-text search index'
