mirror of
https://github.com/zoriya/astal.git
synced 2026-06-05 10:59:34 +00:00
add version constants to auth, river and wireplumber libs
This commit is contained in:
@@ -4,6 +4,12 @@
|
||||
#include <gio/gio.h>
|
||||
#include <glib-object.h>
|
||||
|
||||
|
||||
#define ASTAL_AUTH_MAJOR_VERSION @MAJOR_VERSION@
|
||||
#define ASTAL_AUTH_MINOR_VERSION @MINOR_VERSION@
|
||||
#define ASTAL_AUTH_MICRO_VERSION @MICRO_VERSION@
|
||||
#define ASTAL_AUTH_VERSION "@VERSION@"
|
||||
|
||||
G_BEGIN_DECLS
|
||||
|
||||
#define ASTAL_AUTH_TYPE_PAM (astal_auth_pam_get_type())
|
||||
@@ -1,4 +1,17 @@
|
||||
astal_auth_inc = include_directories('.')
|
||||
astal_auth_headers = files('astal-auth.h')
|
||||
|
||||
install_headers('astal-auth.h')
|
||||
config = configure_file(
|
||||
input: 'astal-auth.h.in',
|
||||
output: 'astal-auth.h',
|
||||
configuration: {
|
||||
'VERSION': meson.project_version(),
|
||||
'MAJOR_VERSION': version_split[0],
|
||||
'MINOR_VERSION': version_split[1],
|
||||
'MICRO_VERSION': version_split[2],
|
||||
},
|
||||
)
|
||||
|
||||
|
||||
astal_auth_inc = include_directories('.')
|
||||
astal_auth_headers = config
|
||||
|
||||
install_headers(astal_auth_headers)
|
||||
|
||||
Reference in New Issue
Block a user