move c header to astal-apps.h

This commit is contained in:
Aylur
2024-07-18 12:16:31 +02:00
parent 27087478ee
commit 06ef052e71
+2 -3
View File
@@ -2,7 +2,6 @@ version_split = meson.project_version().split('.')
api_version = version_split[0] + '.' + version_split[1]
gir = 'AstalApps-' + api_version + '.gir'
typelib = 'AstalApps-' + api_version + '.typelib'
so = 'libastal-apps.so.' + meson.project_version()
config = configure_file(
input: 'config.vala.in',
@@ -34,12 +33,12 @@ 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,
version: meson.project_version(),
install: true,
install_dir: [true, get_option('includedir') / 'astal', true, true],
install_dir: [true, true, true, true],
)
import('pkgconfig').generate(