From: John Marshall Date: Wed, 24 Jun 2020 19:14:34 +0000 (+0100) Subject: build: gir - set nsversion from api_version var X-Git-Tag: archive/raspbian/1%0.1.106-3+rpi1^2~15^2~8^2~8 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=5aaa30190d8d7718eec2625422920e9612ca808f;p=babl.git build: gir - set nsversion from api_version var --- diff --git a/babl/meson.build b/babl/meson.build index c72fd80..1467901 100644 --- a/babl/meson.build +++ b/babl/meson.build @@ -155,16 +155,15 @@ babl = library( if build_gir # identity filter, so GIR doesn't choke on the Babl type # (since it has the same name as the Babl namespace) - identfilter_py = join_paths(meson.current_source_dir(), 'identfilter.py') - babl_gir = gnome.generate_gir(babl, sources: babl_headers, extra_args: [ - '--identifier-filter-cmd=@0@ @1@'.format(python.path(), identfilter_py), + '--identifier-filter-cmd=@0@ @1@'.format(python.path(), + meson.current_source_dir() / 'identfilter.py'), '-DBABL_IS_BEING_COMPILED', ], namespace: 'Babl', - nsversion: '0.1', + nsversion: api_version, header: 'babl.h', install: true, )