Trying to install media-libs/sdl-mixer-1.2.12-r3 with midi USE flag gives me: !!! Problem resolving dependencies for media-libs/sdl-mixer ... done! !!! The ebuild selected to satisfy "sdl-mixer" has unmet requirements. - media-libs/sdl-mixer-1.2.12-r3::gentoo USE="flac mad midi mp3 vorbis wav -fluidsynth -mikmod -mod -modplug -playtools -smpeg -static-libs -timidity" The following REQUIRED_USE flag constraints are unsatisfied: midi? ( any-of ( timidity fluidsynth ) ) The above constraints are a subset of the following complete expression: midi? ( any-of ( timidity fluidsynth ) ) timidity? ( midi ) fluidsynth? ( midi ) mp3? ( any-of ( smpeg mad ) ) smpeg? ( mp3 ) mad? ( mp3 ) mod? ( any-of ( mikmod modplug ) ) mikmod? ( mod ) modplug? ( mod ) And looking at its ebuild file its quite clear: REQUIRED_USE=" midi? ( || ( timidity fluidsynth ) ) timidity? ( midi ) fluidsynth? ( midi ) If you need "midi", either "timidity" or "fluidsynth", but both depend on "midi", which creates a circular dependency... Reproducible: Always Steps to Reproduce: 1. USE="midi" emerge -va =media-libs/sdl-mixer-1.2.12-r3 2. See the error that emerge shows
You have to turn on at least one midi implementation. I'd pick timidity.