6.53. Meson-0.47.0

Meson is an open source build system meant to be both extremely fast, and, even more importantly, as user friendly as possible.

Approximate build time: 0.1 SBU
Required disk space: 16 MB

6.53.1. Installation of Meson

Make a fix from upstream:

sed -i '309 s/os.getcwd/-C, &/' mesonbuild/minstall.py

Compile Meson with the following command:

python3 setup.py build

This package does not come with a test suite.

Install the package:

python3 setup.py install --root=dest
cp -rv dest/* /

The meaning of the install parameters:


By default python3 setup.py install installs various files (such as man pages) into Python Eggs. With a specified root location, setup.py installs these files into a standard hierarchy. Then we can just copy the hierarchy so the files will be in the standard location.

6.53.2. Contents of Meson

Installed programs: meson, mesonconf, mesonintrospect, mesontest, and wraptool
Installed directory: /usr/lib/python3.7/site-packages/meson-0.47.0-py3.7.egg

Short Descriptions


A high productivity build system


A tool to configure Meson builds


A tool to extract information about a Meson build


Test tool for the Meson build system


Source dependency downloader