Package: debhelper
Version: 9.20150811
Severity: wishlist

Please add support for building packages using the Meson build system. The
exact build steps to take are the following.

Configuring

Create a build directory. Meson supports all the standard CFLAGS etc so
assuming they are set the configuration is done by running this in the
build dir:

meson --buildtype=plain --prefix=/usr <path to source dir> <additional
flags>

Compiling

To compile, run 'ninja -v' in the build dir. The -v causes all build
commands to be printed so the compile flag checker will work. Ninja
parallelises itself automatically based on the number of CPUs on the
machine. To override add an explicit '-j number' to the invocation.

Testing

To test, run 'ninja test' in the build dir. Tests are run automatically in
parallel. To manually specify number of processes, set the
MESON_TESTTHREADS environment variable to the number of CPUs to use.

Installing

Meson obeys DESTDIR so installation only requires a "ninja install" in the
build dir.

Thanks,

Reply via email to