[libcamera-devel] [RFC 0/1] Save version string with meson dist

Naushir Patuck naush at raspberrypi.com
Wed Oct 13 12:16:49 CEST 2021


Hi,

This is the second attempt to fix the loss of versioning information when
building from tarball source files.

As per the reply in the last email on this subject, The meson dist command now
saves the version string in a file in the release tarball.  The build system
picks up the version string from this file if present.  If the file is not
present, it uses the utils/gen-version.sh script to generate one as we currently
do.

Thanks,
Naush

Naushir Patuck (1):
  build: Preserve upstream git versioning using meson dist

 meson.build               | 30 ++++++++++++++++++++----------
 src/libcamera/meson.build | 11 +++++------
 utils/run-dist.sh         |  9 +++++++++
 3 files changed, 34 insertions(+), 16 deletions(-)
 create mode 100644 utils/run-dist.sh

-- 
2.25.1



More information about the libcamera-devel mailing list