add version constants to auth, river and wireplumber libs

This commit is contained in:
kotontrion
2024-09-18 20:29:21 +02:00
parent de096e16da
commit 10b9cde328
7 changed files with 71 additions and 14 deletions
@@ -3,6 +3,13 @@
#include <glib-object.h>
#define ASTAL_RIVER_MAJOR_VERSION @MAJOR_VERSION@
#define ASTAL_RIVER_MINOR_VERSION @MINOR_VERSION@
#define ASTAL_RIVER_MICRO_VERSION @MICRO_VERSION@
#define ASTAL_RIVER_VERSION "@VERSION@"
G_BEGIN_DECLS
#define ASTAL_RIVER_TYPE_OUTPUT (astal_river_output_get_type())
+15 -4
View File
@@ -1,6 +1,17 @@
astal_river_inc = include_directories('.')
astal_river_headers = files(
'astal-river.h',
config = configure_file(
input: 'astal-river.h.in',
output: 'astal-river.h',
configuration: {
'VERSION': meson.project_version(),
'MAJOR_VERSION': version_split[0],
'MINOR_VERSION': version_split[1],
'MICRO_VERSION': version_split[2],
},
)
install_headers('astal-river.h')
astal_river_inc = include_directories('.')
astal_river_headers = config
install_headers(astal_river_headers)