depends  g++        &&
depends  pkgconfig  &&

if [[ $FFM = ffmpeg ]];then
  depends LIBAVCODEC   '--with-ffmpeg --without-gstreamer --without-quicktime'
elif [[ $FFM = gstreamer ]]; then
  depends gstreamer '--with-gstreamer --without-ffmpeg --without-quicktime'
elif [[ $FFM = libquicktime ]];then
  depends libquicktime '--with-quicktime --without-gstreamer --without-ffmpeg'
fi &&

optional_depends jpeg   '' '' 'JPEG support' &&
optional_depends jasper '' '' 'JPEG-2000 support' &&
optional_depends tiff   '' '' 'TIFF support' &&
optional_depends python       '--with-python'    '--without-python' ''   &&
optional_depends swig         '--with-swig'      '--without-swig' ''   &&
optional_depends xine-lib     '--with-xine'      '--without-xine' ''   &&
optional_depends libraw1394   '--with-1394libs'  '--without-1394libs'     'Firewire support' &&
optional_depends unicap       '--with-unicap'    '--without-unicap'       'video capture'    &&
optional_depends gtk+2        '--with-gtk'       '--without-gtk' 'gtk+ 2.0 windows'
