Web lists-archives.com

Re: Debian packaging with meson

On Fri, Feb 17, 2017 at 11:29:35PM +0000, Simon McVittie wrote:
> On Fri, 17 Feb 2017 at 18:08:01 -0500, Jeremy Bicha wrote:
> > GNOME 3.24 modules have begun including meson build scripts.
> It looks as though Meson approximately follows the Autotools-like
> build pipeline that dh assumes, so something like this should work:

> override_dh_auto_build:
> 	cd debian/build && ninja -v
> override_dh_auto_test:
> 	cd debian/build && ninja test
> override_dh_auto_install:
> 	cd debian/build && DESTDIR=${CURDIR}/debian/tmp ninja install

Note that this won't work unless we rename ninja-build to ninja.

That's actually possible now -- I've RoQAed RM of ninja (#848359) so the
name is free for reuse, but the renaming can't commence until Stretch is

(I haven't ever used meson nor ninja{,-build}, so I don't know more.)

Autotools hint: to do a zx-spectrum build on a pdp11 host, type:
  ./configure --host=zx-spectrum --build=pdp11