build: Better version checks and handling for Meson
Strip dirty and git hash. Check that there are at least 3 numbers at the beginning.
Signed-off-by: Frediano Ziglio freddy77@gmail.com
Strip dirty and git hash. Check that there are at least 3 numbers at the beginning.
Signed-off-by: Frediano Ziglio freddy77@gmail.com