depends  kdelibs  &&
depends  pkgconfig &&

if list_find "$BACKENDS" "mplayer"; then
  depends  mplayer
fi  &&
if list_find "$BACKENDS" "xine"; then
  depends  xine-lib
fi  &&
if list_find "$BACKENDS" "gstreamer"; then
  depends  gst-plugins-base
fi  &&

optional_depends cairo                         \
                  '--enable-cairo'             \
                  '--disable-cairo'            \
                  "SMIL support"               &&

optional_depends expat                         \
                  '--enable-expat'             \
                  '--disable-expat'            \
                  "expat XML parsing"          &&

optional_depends arts  ""  "--without-arts"  "for arts support"  &&

optional_depends  LIBAVCODEC                    \
                  ""                            \
                  ""                            \
                  "for recording using ffmpeg"  &&

optional_depends  koffice                     \
                  ""                          \
                  "--disable-koffice-plugin"  \
                  "for koffice integration"
