depends  kdelibs  &&
depends  libexif  &&
depends  perl     &&

source  $SECTION_DIRECTORY/KDE_DEPENDS  &&

optional_depends  OPENGL                 \
                  '--with-gl'            \
                  '--without-gl'         \
                  'for 3D OpenGL modes'  &&

optional_depends  libgphoto2                   \
                  '--with-kamera'              \
                  '--without-kamera'           \
                  'for digital camera access'  &&

optional_depends  sane-backends                                    \
                  ''                                               \
                  ''                                               \
                  'needed for Kooka, the KDE scanner application'  &&

optional_depends  imlib                                            \
                  ''                                               \
                  ''                                               \
                  'needed for Kuickshow'                           &&

optional_depends  texlive                                            \
                  ''                                               \
                  ''                                               \
                  'allows import or export of TeX documents'       &&

optional_depends  tiff                                                      \
                  ''                                                        \
                  ''                                                        \
                  'to enable KDE to send, receive and view faxes'  &&

optional_depends  jpeg                                                      \
                  ''                                                        \
                  ''                                                        \
                  'to enable access to JPEG images'  &&

optional_depends  libmng                                                      \
                  ''                                                        \
                  ''                                                        \
                  'to enable access to mng images'  &&

optional_depends  poppler                                                      \
                  ''                                                        \
                  ''                                                        \
                  'to provide enhanced information about PDF files'  &&

optional_depends  openexr                                              \
                  '--with-openexr --disable-new-ldflags'               \
                  '--without-openexr'                                  \
                  'for support for the OpenEXR high-def image format (this will disable new LDFLAGS)'  &&

optional_depends  libxml2                       \
                  ''                            \
                  ''                            \
                  'for a C++ XML interface'     &&

optional_depends  libxslt                       \
                  ''                            \
                  ''                            \
                  'for XSLT support'            &&


if [[ $KSVG == y ]]; then
  depends lcms &&
  depends fontconfig &&
  depends freetype2 &&
  depends libart_lgpl &&
  depends fribidi
else
  optional_depends freetype2                     \
                  ''                            \
                  ''                            \
                  'for freetype support'        &&

  optional_depends fontconfig                    \
                  ''                            \
                  ''                            \
                  'to configure font access'
fi &&

optional_depends  POSTSCRIPT-INTERPRETER               \
                  ''                                   \
                  ''                                   \
                  'for a PostScript(R) interpreter'    &&

optional_depends  gift                          \
                  ''                            \
                  ''                            \
                  'to search images'
