mirror of
https://github.com/zoriya/astal.git
synced 2026-06-08 12:10:31 +00:00
add version constants to auth, river and wireplumber libs
This commit is contained in:
Vendored
-4
@@ -1,4 +0,0 @@
|
||||
|
||||
#include "astal/wireplumber/audio.h"
|
||||
#include "astal/wireplumber/endpoint.h"
|
||||
#include "astal/wireplumber/wp.h"
|
||||
@@ -0,0 +1,14 @@
|
||||
|
||||
#ifndef WP_H
|
||||
#define WP_H
|
||||
|
||||
#include "astal/wireplumber/audio.h"
|
||||
#include "astal/wireplumber/endpoint.h"
|
||||
#include "astal/wireplumber/wp.h"
|
||||
|
||||
#define ASTAL_WP_MAJOR_VERSION @MAJOR_VERSION@
|
||||
#define ASTAL_WP_MINOR_VERSION @MINOR_VERSION@
|
||||
#define ASTAL_WP_MICRO_VERSION @MICRO_VERSION@
|
||||
#define ASTAL_WP_VERSION "@VERSION@"
|
||||
|
||||
#endif // WP_H
|
||||
@@ -1,8 +1,18 @@
|
||||
astal_wireplumber_inc = include_directories('.', 'astal/wireplumber', 'private')
|
||||
astal_wireplumber_headers = files(
|
||||
'astal-wp.h',
|
||||
|
||||
config = configure_file(
|
||||
input: 'astal-wp.h.in',
|
||||
output: 'astal-wp.h',
|
||||
configuration: {
|
||||
'VERSION': meson.project_version(),
|
||||
'MAJOR_VERSION': version_split[0],
|
||||
'MINOR_VERSION': version_split[1],
|
||||
'MICRO_VERSION': version_split[2],
|
||||
},
|
||||
)
|
||||
|
||||
astal_wireplumber_inc = include_directories('.', 'astal/wireplumber', 'private')
|
||||
astal_wireplumber_headers = config
|
||||
|
||||
install_headers(astal_wireplumber_headers)
|
||||
|
||||
subdir('astal/wireplumber')
|
||||
|
||||
Reference in New Issue
Block a user