diff options
author | Aylur <[email protected]> | 2024-07-17 08:41:24 +0200 |
---|---|---|
committer | GitHub <[email protected]> | 2024-07-17 08:41:24 +0200 |
commit | b18faefdf0eec619bbcf086954471fefc9a7751a (patch) | |
tree | 16f09877f05644f161beb0ac2ebe05fddcff9afb | |
parent | 9a484bdee02904034449961612fd5b2cdbe6a337 (diff) |
move c header back to astal-tray.h (#2)
* move c header back to astal-tray.h
as discussed before, placing the header to astal/tray.h breaks it when
using it from another vala project
* fix header location
---------
Co-authored-by: kotontrion <[email protected]>
-rw-r--r-- | src/meson.build | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/meson.build b/src/meson.build index bfbe11c..b2229b0 100644 --- a/src/meson.build +++ b/src/meson.build @@ -2,7 +2,6 @@ version_split = meson.project_version().split('.') api_version = version_split[0] + '.' + version_split[1] gir = 'AstalTray-' + api_version + '.gir' typelib = 'AstalTray-' + api_version + '.typelib' -so = 'lib' + meson.project_name() + '.so.' + meson.project_version() config = configure_file( input: 'config.vala.in', @@ -51,7 +50,7 @@ if get_option('lib') meson.project_name(), sources, dependencies: deps, - vala_header: meson.project_name().replace('astal-', '') + '.h', + vala_header: meson.project_name() + '.h', vala_vapi: meson.project_name() + '-' + api_version + '.vapi', vala_gir: gir, vala_args: ['--pkg', 'DbusmenuGtk3-0.4', '--pkg', 'Dbusmenu-0.4'], @@ -59,7 +58,7 @@ if get_option('lib') c_args: dbusmenu_cflags.split(' '), link_args: dbusmenu_libs.split(' '), install: true, - install_dir: [true, get_option('includedir') / 'astal', true, true], + install_dir: [true, true, true, true], ) import('pkgconfig').generate( |