update README for meson

related to https://github.com/i3/i3status/issues/459
This commit is contained in:
Michael Stapelberg 2021-10-31 19:24:10 +01:00
parent 90dd6b061d
commit 9e9d010226

View File

@ -16,13 +16,13 @@ i3status has the following dependencies:
* libyajl-dev * libyajl-dev
* libasound2-dev * libasound2-dev
* libnl-genl-3-dev * libnl-genl-3-dev
* autoconf (compile-time only dependency) * meson (compile-time only dependency)
* asciidoc (only for the documentation) * asciidoc (only for the documentation)
* libpulse-dev (for getting the current volume using PulseAudio) * libpulse-dev (for getting the current volume using PulseAudio)
On debian-based systems, the following line will install all requirements: On debian-based systems, the following line will install all requirements:
```bash ```bash
apt-get install autoconf libconfuse-dev libyajl-dev libasound2-dev libiw-dev asciidoc libpulse-dev libnl-genl-3-dev apt-get install autoconf libconfuse-dev libyajl-dev libasound2-dev libiw-dev asciidoc libpulse-dev libnl-genl-3-dev meson
``` ```
## Upstream ## Upstream
@ -36,10 +36,9 @@ Prefer installing i3status via your Linux distributions package manager.
If you absolutely have to build from source, use: If you absolutely have to build from source, use:
```bash ```bash
autoreconf -fi
mkdir build mkdir build
cd build cd build
../configure --disable-sanitizers meson ..
make -j$(nproc) ninja
sudo make install sudo ninja install
``` ```