proj/pram:master commit in: /

Michał Górny <[email protected]> Tue, 04 Aug 2026 14:19:55 +0000 (UTC)
Newsgroups gmane.linux.gentoo.cvs
Message-ID <1785853182.c58d116172a6cd5e0658d39930df029356f5824e.mgorny@gentoo>
commit:     c58d116172a6cd5e0658d39930df029356f5824e
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Tue Aug  4 14:19:42 2026 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Tue Aug  4 14:19:42 2026 +0000
URL:        https://gitweb.gentoo.org/proj/pram.git/commit/?id=c58d1161

meson: Read version from the script

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 meson.build | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/meson.build b/meson.build
index f56d341..f828293 100644
--- a/meson.build
+++ b/meson.build
@@ -1,7 +1,9 @@
 project('pram',
-  version: '16',
+  version: run_command(
+    'sed', '-n', '-e', 's:^VERSION=::p', 'gagit',
+    check: true).stdout().strip(),
   license: 'GPL-2.0-or-later',
-  meson_version: '>=0.49.0')
+  meson_version: '>=0.60.3')
 
 install_data('pram',
   install_dir: get_option('bindir'),