depends  -sub "SVG SSL" kdelibs  &&

depends  imake          &&
depends  libpng         &&
depends  libxau         &&
depends  libxcomposite  &&
depends  libxcursor     &&
depends  libxdmcp       &&
depends  libxfixes      &&
depends  libxft         &&
depends  libxrandr      &&
depends  glib2          &&
depends  libxtst        &&
depends  libxxf86misc   &&
depends  bdftopcf       &&
depends  xsetroot       &&
depends  xset           &&

if [[ $(installed_version kdelibs) != $VERSION ]]; then
  force_depends kdelibs
fi &&

#if  [  "$KDEBASE_AFS"   =  "y"  ]  ||
#    [  "$KDEBASE_KRB4"  =  "y"  ]  ||
#    [  "$KDEBASE_KRB5"  =  "y"  ];  then
#  message  "${MESSAGE_COLOR}AFS and KRB4 require krb5 to be compiled with krb4 support${DEFAULT_COLOR}"
#  depends  krb5
#fi  &&

source  $SECTION_DIRECTORY/KDE_DEPENDS  &&

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

optional_depends  shadow                         \
                  '--with-shadow'                \
                  '--without-shadow'             \
                  'for shadow password support'  &&

optional_depends  linux-pam                 \
                  '--with-pam=yes'          \
                  '--with-pam=no'           \
                  'for PAM authentication'  &&

optional_depends  openldap                   \
                  '--with-ldap'              \
                  '--without-ldap'           \
                  'for LDAP authentication'  &&

optional_depends  JAVA                      \
                  ''                        \
                  '--without-java'          \
                  'for Java support in konqueror'  \
                  'z-rejected'              &&

optional_depends  libraw1394              \
                  ''                      \
                  ''                      \
                  'for firewire support'  &&

optional_depends  cdparanoia              \
                  ''                      \
                  ''                      \
                  'for CD ripping'       &&

optional_depends  libvorbis               \
                  ''                      \
                  ''                      \
                  'for Ogg/Vorbis support' &&

optional_depends  lame                    \
                  ''                      \
                  ''                      \
                  'for MP3 support'      &&

optional_depends  libusb                  \
                  '--with-libusb'         \
                  '--without-libusb'      \
                  'for usb support'      &&

optional_depends  mtools                  \
                  ''                      \
                  ''                      \
                  'for direct floppy access'      &&

optional_depends  samba                   \
                  '--with-samba'          \
                  '--without-samba'       \
                  'for smb support'       &&

optional_depends  wine                    \
                  ''                      \
                  ''                      \
                  'for ActiveX support'   &&


optional_depends  cyrus-sasl                       \
                  ''                               \
                  ''                               \
                  'for Cyrus SASL authentication'  &&

optional_depends  openssl                         \
                  '--with-ssl'                    \
                  '--without-ssl'                 \
                  'to use encrypted connections'  &&

optional_depends  hal                                 \
                  '--with-hal'                        \
                  '--without-hal'                     \
                  'for automatic hardware detection'  &&


if is_depends_enabled $SPELL hal; then
  depends dbus-qt3-old
fi  &&

optional_depends  libxdamage                       \
                  '--with-composite'            \
                  '--without-composite'         \
                  'for kompmgr - kde compositing manager'  &&

optional_depends  ntp                                  \
                  ''                                   \
                  ''                                   \
                  'for network time protocol support'  &&

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

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

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

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

optional_depends  CUPS                                 \
                  ''                                   \
                  ''                                   \
                  'for CUPS printing support'          &&

optional_depends  hfsutils                             \
                  ''                                   \
                  ''                                   \
                  'for HFS filesystem utilities'       &&

optional_depends  FAM                                  \
                  ''                                   \
                  ''                                   \
                  'for filesystem monitoring'          &&

optional_depends  tiff                                 \
                  ''                                   \
                  ''                                   \
                  'for TIFF image support'             &&

optional_depends  jpeg                                 \
                  ''                                   \
                  ''                                   \
                  'for JPEG image support'             &&

optional_depends  libmng                               \
                  ''                                   \
                  ''                                   \
                  'for animated PNG support'           &&

optional_depends  freetype2                            \
                  ''                                   \
                  ''                                   \
                  'for freetype support'               &&

optional_depends  openexr                                 \
                  '--with-openexr --disable-new-ldflags'  \
                  '--without-openexr'                     \
                  'for High dynamic-range format (this will disable new LDFLAGS)'  &&

optional_depends  lm_sensors                           \
                  '--with-sensors'                     \
                  '--without-sensors'                  \
                  'for hardware monitoring'            &&

optional_depends  htdig                      \
                  ''                         \
                  ''                         \
                  'for KDE Help generation'  &&

optional_depends  sudo                            \
                  '--with-sudo-kdesu-backend'     \
                  ''                              \
                  'to use sudo as kdesu backend'  &&

optional_depends  mdnsresponder                                  \
                  '--enable-dnssd'                               \
                  '--disable-dnssd'                              \
                  'for browsing and publishing DNS-SD services'
