2023-12-21 09:38:30 +00:00
|
|
|
# Resources
|
2023-12-21 11:30:30 +00:00
|
|
|
blueprints = custom_target('blueprints',
|
|
|
|
input: files(
|
|
|
|
'ui/windows/main/main.blp',
|
|
|
|
'ui/windows/main/pages/welcome.blp',
|
|
|
|
'ui/windows/main/pages/games_and_mods.blp',
|
|
|
|
'ui/windows/add_new_game/add_new_game.blp',
|
2024-01-07 21:35:39 +00:00
|
|
|
'ui/components/card.blp',
|
2023-12-21 11:30:30 +00:00
|
|
|
),
|
|
|
|
output: '.',
|
|
|
|
command: [find_program('blueprint-compiler'), 'batch-compile', '@OUTPUT@', '@CURRENT_SOURCE_DIR@', '@INPUT@'],
|
|
|
|
)
|
2023-12-21 09:38:30 +00:00
|
|
|
resources = gnome.compile_resources(
|
|
|
|
'resources',
|
|
|
|
'resources.gresource.xml',
|
|
|
|
gresource_bundle: true,
|
2023-12-21 11:30:30 +00:00
|
|
|
dependencies: blueprints,
|
2023-12-21 09:38:30 +00:00
|
|
|
source_dir: meson.current_build_dir(),
|
|
|
|
install: true,
|
|
|
|
install_dir: pkgdatadir,
|
|
|
|
)
|