audrey/meson.build

35 lines
943 B
Meson
Raw Normal View History

2024-10-06 11:21:53 +00:00
project('wavelet', ['c', 'vala'],
2024-10-12 12:28:05 +00:00
version: '0.1.0', # WAVELET_VERSION
2024-10-06 11:21:53 +00:00
meson_version: '>= 1.0.0',
2024-10-12 12:28:05 +00:00
default_options: [ 'warning_level=0', 'werror=false', ],
2024-10-06 11:21:53 +00:00
)
i18n = import('i18n')
gnome = import('gnome')
valac = meson.get_compiler('vala')
srcdir = meson.project_source_root() / 'src'
config_h = configuration_data()
config_h.set_quoted('PACKAGE_VERSION', meson.project_version ())
config_h.set_quoted('GETTEXT_PACKAGE', 'wavelet')
config_h.set_quoted('LOCALEDIR', get_option('prefix') / get_option('localedir'))
configure_file(output: 'config.h', configuration: config_h)
config_dep = valac.find_library ('config', dirs: srcdir)
config_inc = include_directories('.')
add_project_arguments('-DGETTEXT_PACKAGE="' + meson.project_name () + '"', language: 'c')
subdir('data')
subdir('src')
subdir('po')
gnome.post_install(
glib_compile_schemas: true,
gtk_update_icon_cache: true,
update_desktop_database: true,
)