Recuento/meson.build
2022-06-26 01:15:28 +02:00

40 lines
858 B
Meson

project('me.sergiotarxz.recuento', 'vala')
vapidir = meson.project_source_root() / 'vapi'
recuentodeps = [
dependency('libadwaita-1'),
dependency('glib-2.0'),
dependency('gtk4'),
dependency('gio-2.0'),
dependency('sqlite3'),
meson.get_compiler('vala').find_library('config', dirs : vapidir),
]
sources = [
'src/main.vala',
]
datadir = get_option('prefix') + '/' + get_option('datadir')
config_h = configure_file (
output : 'config.h',
configuration : {
'DATADIR' : f'"@datadir@"',
},
)
preloaded_images_files = [ 'psoe.jpg', 'pp.jpg', 'vox.jpg' ]
foreach i : preloaded_images_files
install_data(
'resources/preloaded_images' / i,
install_dir: datadir / 'recuento/preloaded_images/',
)
endforeach
executable('recuento',
sources,
dependencies : recuentodeps,
install : true,
)