depends  cegui      &&
depends  freetype2  &&
depends  libmng     &&
depends  pkgconfig  &&
depends  stlport    &&
depends  zziplib    &&

if    [  "$OGRE_PLATFORM"  ==  "gtk"  ];  then
  #
  # Depends on gtkmm2 == 2.0
  #
  depends  gtkmm2
elif  [  "$OGRE_PLATFORM"  ==  "sdl"  ];  then
  depends  sdl
elif  [  "$OGRE_PLATFORM"  ==  "cli"  ];  then
  depends  OPENGL
fi  &&

if  [  "$OGRE_TOOLKIT"  ==  "gtk"  ];  then
  #
  # Depends on gtkmm2 == 2.0
  #
  depends  gtkmm2
fi  &&

# in z-rejected grimoire
optional_depends  devil                                        \
                  "--enable-devil"                             \
                  "--disable-devil"                            \
                  "Use DevIL for image loading (RECOMMENDED)"  &&

optional_depends  libcg                                        \
                  "--enable-cg"                                \
                  "--disable-cg"                               \
                  "Build the nVIDIA Cg plug-in (RECOMMENDED)"  \
                  z-rejected                                  &&

optional_depends  openexr                  \
                  "--enable-openexr"       \
                  "--disable-openexr"      \
                  "Build OpenEXR plug-in"
