depends  sdl        &&
depends  audiofile  &&

optional_depends libmikmod                    \
                 "--enable-music-libmikmod"  \
                 "--disable-music-libmikmod" \
                 "to play mods via libmikmod"

optional_depends mikmod                   \
                 "--enable-music-mod"     \
                 "--disable-music-mod"    \
                 "to play mods via mikmod"

if [[ "$SDLMIXER_TIMIDITY_MIDI" == "--enable-music-midi" ]]
then
depends TIMIDITY
fi &&

optional_depends  smpeg \
                  "--enable-music-mp3" \
                  "--disable-music-mp3 --disable-smpegtest" \
                  "to play mpeg movies and mp3 audio"  &&
optional_depends  libvorbis \
                  "--enable-music-ogg" \
                  "--disable-music-ogg" \
                  "to play OGG/Vorbis audio files"
