source  "$GRIMOIRE/KDE5_DEPENDS"  &&
optional_depends qtwebengine ' -DENABLE_QWEBENGINE=1' '' 'support QtWebEngine'
if ! is_depends_enabled $SPELL qtwebengine;then
  depends qtwebkit
fi &&
depends qtx11extras &&
depends kcompletion &&
depends kcoreaddons &&
depends ki18n     &&
depends kiconthemes &&
depends kio       &&
depends knotifications &&
depends knotifyconfig  &&
depends kservice  &&
depends ktextwidgets   &&
depends kwindowsystem  &&
depends kxmlgui   &&
depends solid     &&
depends threadweaver &&
depends JPEG      &&
depends boost     &&
depends exiv2     &&
depends lcms2     &&
depends libpgf    &&
depends libpng    &&
depends libx11    &&
depends libxml2   &&
depends libxslt   &&
depends -sub FACE OPENCV  &&
depends OPENGL    &&
depends pkgconfig &&
depends sqlite    &&
depends tiff      &&
depends zlib      &&

optional_depends  qtxmlpatterns '' '' ' For Rajce plugin' &&
optional_depends  kcalendarcore '' '' 'calendar support' &&
optional_depends  kfilemetadata5 '-DENABLE_KFILEMETADATASUPPORT=1' '-DENABLE_KFILEMETADATASUPPORT=0' 'File metadata support' &&
optional_depends  doxygen    '' '-DCMAKE_DISABLE_FIND_PACKAGE_Doxygen=1' 'build API documentation' &&
optional_depends  eigen3     '' '' 'Refocus tool support' &&
optional_depends  akonadi-contacts '' '' 'Addressbook support' &&
optional_depends  lensfun    '' '' 'lens correction support'  &&

optional_depends  marble     '' '' 'GeoLocation' &&
if is_depends_enabled $SPELL ;then
  depends kitemmodels &&
  optional_depends kbookmarks '' '' 'Bookmarks for GeoLocation'
fi &&

optional_depends  libksane     '' '' 'Scanner support' &&
optional_depends  jasper       '' '' 'JPEG2000 support' &&

optional_depends  libgphoto2 '' '' 'digital camera support' &&
if is_depends_enabled $SPELL libgphoto2;then
  depends libusb
fi &&
optional_depends  MYSQL      '' '' 'MySql database' &&
optional_depends  liblqr     '' '' 'image resizing (thumbnails)' &&
optional_depends qtav        '-DENABLE_MEDIAPLAYER=1' '-DENABLE_MEDIAPLAYER=0' 'enable multimedia support' &&
if is_depends_enabled $SPELL qtav;then
  depends LIBAVCODEC
else
  optional_depends LIBAVCODEC '' '' 'video support'
fi
