mirror of
https://github.com/johrpan/musicus.git
synced 2025-10-26 11:47:25 +01:00
18 lines
No EOL
487 B
Meson
18 lines
No EOL
487 B
Meson
pkgdatadir = join_paths(get_option('prefix'), get_option('datadir'), meson.project_name())
|
|
gnome = import('gnome')
|
|
|
|
blueprints = custom_target('blueprints',
|
|
input: files(
|
|
'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,
|
|
) |