libsdl-org / SDL_mixer

An audio mixer that supports various file formats for Simple Directmedia Layer.
zlib License
434 stars 146 forks source link

Document library dependencies #323

Closed hottwaj closed 2 years ago

hottwaj commented 3 years ago

Hi there, first of all thanks for the awesome set of libraries

For ubuntu/debian devs like me, it would be helpful if there were some installation notes that listed required/optional dependencies that can be e.g. installed via apt?

I think the list of optional dependencies is something like:

So the following will do the trick on debian based systems:

sudo apt install libmodplug-dev libfluidsynth-dev libvorbis-dev libflac-dev libmpg123-dev libopus-dev

Thanks!

sezero commented 3 years ago

s/libopus-dev/libopusfile-dev/

slouken commented 2 years ago

You can use apt-get build-dep to install the dependencies of any package. SDL_mixer is available on Ubuntu/Debian, with a full set of specified dependencies.

Croydon commented 2 years ago

I still think that this issue needs a proper solution.

Upstream should always document their dependencies in an easily discoverable and readable way. Pointing to one downstream package manager as a solution is kinda weird.