summaryrefslogtreecommitdiff
path: root/test/libtest/buffer_source.h
diff options
context:
space:
mode:
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>2023-03-22 18:35:59 +0200
committerLaurent Pinchart <laurent.pinchart@ideasonboard.com>2023-04-05 07:16:07 +0300
commit4cd9cb4a90550e0c45c85b0b00ca8a72ed13fdb4 (patch)
tree8fd31ac1d5d9ca6179594a5c285588c1cc243793 /test/libtest/buffer_source.h
parentac7511dc4c594f567ddff27ccc02c30bf6c00bfd (diff)
meson: Really fix git version parsing
The previous attempt to fix git version parsing in commit d34cefad1791 ("meson: Fix git version parsing") was too naive, and didn't take into account cases where the libcamera git version contains no or multiple '+' signs. Fixing this is more complex than a one-liner change, as meson doesn't support Python-style slicing of arrays or a length method on strings. The simplest and most versatile option is to patch the version string in the gen-version.sh script. Do so, and clarify the comments related to version handling in meson.build. Fixes: d34cefad1791 ("meson: Fix git version parsing") Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Reviewed-by: Umang Jain <umang.jain@ideasonboard.com>
Diffstat (limited to 'test/libtest/buffer_source.h')
0 files changed, 0 insertions, 0 deletions