[debhelper-devel] Bug#795253: Add support for Meson build system
Jussi Pakkanen
jpakkane at gmail.com
Wed Aug 12 09:55:37 UTC 2015
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,
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/debhelper-devel/attachments/20150812/fb3c4cad/attachment-0001.html>
More information about the debhelper-devel
mailing list