From f22e8bbbc20d6893aef4f9220a9b6a2740148a2e Mon Sep 17 00:00:00 2001 From: Benoit Pierre Date: Mon, 5 Aug 2024 11:00:38 +0000 Subject: [PATCH] doc: update building documentation (#12295) Meson is now required. --- doc/Building.md | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/doc/Building.md b/doc/Building.md index 66ec9a276..f1fc28bc4 100644 --- a/doc/Building.md +++ b/doc/Building.md @@ -20,6 +20,7 @@ To get and compile the source you must have: - `gcc/g++` or `clang/clang++`: with C11 & C++17 support - `git` - `make`: version 4.1 or greater +- `meson`: version 1.2.0 or greater - `nasm` - `ninja`: optional, but recommended - `patch` @@ -41,8 +42,8 @@ Install the prerequisites using apk: ``` sudo apk add autoconf automake bash cmake coreutils curl diffutils g++ \ gcc gettext-dev git grep gzip libtool linux-headers lua5.1-busted \ - luarocks5.1 make ninja-build ninja-is-really-ninja patch perl \ - pkgconf procps-ng sdl2 tar unzip wget + luarocks5.1 make meson ninja-build ninja-is-really-ninja patch \ + perl pkgconf procps-ng sdl2 tar unzip wget ``` ### Arch Linux @@ -51,7 +52,7 @@ Install the prerequisites using pacman: ``` run0 pacman -S base-devel ca-certificates cmake gcc-libs git \ - lua51-busted luarocks nasm ninja perl sdl2 unzip wget + lua51-busted luarocks meson nasm ninja perl sdl2 unzip wget ``` ### Debian/Ubuntu @@ -61,7 +62,7 @@ Install the prerequisites using APT: ``` sudo apt-get install autoconf automake build-essential ca-certificates cmake \ gcc-multilib gettext git libsdl2-2.0-0 libtool libtool-bin lua-busted \ - lua5.1 luarocks nasm ninja-build patch perl pkg-config unzip wget + lua5.1 luarocks meson nasm ninja-build patch perl pkg-config unzip wget ``` ### Fedora/Red Hat @@ -70,8 +71,8 @@ Install the prerequisites using DNF: ``` sudo dnf install autoconf automake cmake gettext gcc gcc-c++ git libtool \ - lua5.1 luarocks nasm ninja-build patch perl-FindBin procps-ng SDL2 \ - unzip wget + lua5.1 luarocks meson nasm ninja-build patch perl-FindBin procps-ng \ + SDL2 unzip wget ``` And for busted: @@ -85,7 +86,7 @@ Install the prerequisites using [Homebrew](https://brew.sh/): ``` brew install autoconf automake binutils cmake coreutils findutils gnu-getopt \ - libtool make nasm ninja p7zip pkg-config sdl2 util-linux + libtool make meson nasm ninja p7zip pkg-config sdl2 util-linux ``` You will also have to ensure Homebrew's findutils, gnu-getopt, make & util-linux are in your path, e.g., via