mod-manager/data/resources/meson.build
Tine Jozelj 83c478cfd2
Some checks failed
CI / Rustfmt (push) Failing after 2m10s
CI / Flatpak (push) Failing after 10m55s
feat: loading images
Need to fix the threads as currently it locks the app while loading the images.
2024-01-07 22:35:39 +01:00

21 lines
625 B
Meson

# Resources
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',
'ui/components/card.blp',
),
output: '.',
command: [find_program('blueprint-compiler'), 'batch-compile', '@OUTPUT@', '@CURRENT_SOURCE_DIR@', '@INPUT@'],
)
resources = gnome.compile_resources(
'resources',
'resources.gresource.xml',
gresource_bundle: true,
dependencies: blueprints,
source_dir: meson.current_build_dir(),
install: true,
install_dir: pkgdatadir,
)