mirror of
https://github.com/zoriya/astal.git
synced 2026-06-12 05:53:43 +00:00
add version constants to auth, river and wireplumber libs
This commit is contained in:
@@ -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())
|
||||
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user