depends  bison      &&
depends  flex       &&
depends  fontforge  &&
depends  jpeg       &&
depends  LIBGIF     &&

if  [[ $WINE_VCS == y ]];  then
  depends  git
fi  &&

optional_depends  X11-LIBS         \
                  "--with-x"       \
                  ""               \
                  "X gui support"  &&

optional_depends  OPENGL                \
                  '--with-opengl'       \
                  '--without-opengl'    \
                  'for OpenGL support'  &&

optional_depends  ncurses             \
                  "--with-curses"     \
                  "--without-curses"  \
                  "curses gui?"       &&

optional_depends  CUPS                \
                  ""                  \
                  ""                  \
                  "printing support"  &&

optional_depends  freetype2         \
                  ""                \
                  ""                \
                  "font rendering"  &&

optional_depends  winedoc                   \
                  ""                        \
                  ""                        \
                  "for wine documentation"  &&

optional_depends  docbook-utils     \
                  ""                \
                  ""                \
                  "for building wine documentation"  &&

optional_depends  libxslt                                                  \
                  ''                                                       \
                  ''                                                       \
                  'for a functional Microsoft XML (MSXML) implementation'  &&

optional_depends  hal                                \
                  ''                                 \
                  ''                                 \
                  'for dynamic drive configuration'  &&

#
# Needs sane-config (from sane-backends), gphoto2-config, and
# gphoto2-port-config
#
#optional_depends  libgphoto2           \
#                  ''                   \
#                  ''                   \
#                  'for TWAIN support'  &&

optional_depends  openldap                                             \
                  ''                                                   \
                  ''                                                   \
                  'for Lightweight Directory Access Protocol support'  &&

optional_depends  esound                                     \
                  ''                                         \
                  ''                                         \
                  'for Enhanced Sound Daemon mixer support'  &&

optional_depends  JACK-DRIVER               \
                  ''                        \
                  ''                        \
                  'for JACK audio support'  &&

optional_depends  msttf                                  \
                  ''                                     \
                  ''                                     \
                  'for proper MS TrueType font support'  \
                  'z-rejected'                          &&

optional_depends  nas                                    \
                  ''                                     \
                  ''                                     \
                  'for NAS audio support'               &&

optional_depends  openssl                                \
                  ''                                     \
                  ''                                     \
                  'for some cryptographic support in ADVAPI32'  &&

source  $GRIMOIRE/FUNCTIONS  &&

if  check_if_xorg_modular_libs
then
  optional_depends  libxrandr                           \
                    ''                                  \
                    ''                                  \
                    'for X11 XRandr extension support'
fi
