2023-07-06 18:29:33 +02:00
|
|
|
pkgdatadir = join_paths(get_option('prefix'), get_option('datadir'), meson.project_name())
|
|
|
|
|
gnome = import('gnome')
|
|
|
|
|
|
|
|
|
|
blueprints = custom_target('blueprints',
|
|
|
|
|
input: files(
|
2023-09-20 13:49:02 +02:00
|
|
|
'home_page.blp',
|
|
|
|
|
'tile.blp',
|
2023-09-13 14:58:31 +02:00
|
|
|
'welcome_page.blp',
|
2023-07-06 18:29:33 +02:00
|
|
|
'window.blp'
|
|
|
|
|
),
|
|
|
|
|
output: '.',
|
|
|
|
|
command: [find_program('blueprint-compiler'), 'batch-compile', '@OUTPUT@', '@CURRENT_SOURCE_DIR@', '@INPUT@'],
|
|
|
|
|
)
|
|
|
|
|
|
|
|
|
|
gnome.compile_resources('musicus',
|
|
|
|
|
'musicus.gresource.xml',
|
|
|
|
|
dependencies: blueprints,
|
|
|
|
|
gresource_bundle: true,
|
|
|
|
|
install: true,
|
|
|
|
|
install_dir: pkgdatadir,
|
|
|
|
|
)
|