depends qt4 &&
depends cmake    &&

optional_depends redland '' '-DSOPRANO_DISABLE_REDLAND_BACKEND=1' 'for Redland backend' &&
optional_depends raptor  '' '-DSOPRANO_DISABLE_RAPTOR_PARSER=1' 'for raptor parser and serializer plugins' &&
optional_depends virtuoso '' '-DSOPRANO_DISABLE_VIRTUOSO_BACKEND=1' 'for full-text search database (default soprano backend)' &&
optional_depends dbus    '' '-DSOPRANO_DISABLE_DBUS=1' 'for dbus integration'

if is_depends_enabled $SPELL dbus;then
  sub_depends qt4 DBUS
fi  &&

if is_depends_enabled $SPELL virtuoso;then
  depends libiodbc
fi &&
optional_depends -sub stable clucene '' '-DSOPRANO_DISABLE_CLUCENE_INDEX=1' 'to use standalone version (not required if only used with KDE)'
