Skip to content

Commit

Permalink
Update build docs for FLAC support
Browse files Browse the repository at this point in the history
  • Loading branch information
jangler committed Dec 7, 2022
1 parent e86df4f commit 8cd8d3d
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 2 deletions.
6 changes: 4 additions & 2 deletions docs/building_on_linux.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,16 +12,18 @@ On Ubuntu, run:

sudo apt update
sudo apt install build-essential automake autoconf-archive libsdl2-dev \
git libtool
git libtool libflac-dev

On Arch Linux:

sudo pacman -Syu
sudo pacman -S base-devel git sdl2 alsa-lib libxv libxxf86vm
sudo pacman -S base-devel git sdl2 alsa-lib libxv libxxf86vm flac

Git is not strictly required, but if you don't need it you'll need to download
a tarball manually, and your build won't have a proper version string.

FLAC libraries are optional and only used for FLAC sample loading support.

On other distros, the package names may be different. In particular, note that
`build-essential` includes the packages `gcc` and `make` on Debian-based
systems.
Expand Down
3 changes: 3 additions & 0 deletions docs/building_on_osx.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,9 @@ instead:

sudo port install automake autoconf libtool libsdl2 git

For FLAC sample loading support, you will also need development versions of the
`flac` and `libogg` libraries.

In this case, you may have to open a new terminal shell, or else you may get
warnings about the version of autoconf/automake you're using.

Expand Down
4 changes: 4 additions & 0 deletions docs/building_on_windows.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,10 @@ If asked to "enter a selection", hit Enter to go with the default.
Also, you need the following specific dependency:

pacman -S mingw-w64-x86_64-SDL2

For FLAC sample loading, you'll also need the following dependency:

pacman -S mingw-w64-x86_64-flac

Once you have installed these packages, close all your MSYS2 windows
before continuing with the instructions.
Expand Down

0 comments on commit 8cd8d3d

Please sign in to comment.