citadel-realms/data/meson.build

40 lines
1.0 KiB
Meson
Raw Permalink Normal View History

2024-11-12 17:12:37 -05:00
blueprints = custom_target('blueprints',
input: files(
'ui/Window.blp',
'ui/RealmListItem.blp',
'ui/RealmRow.blp',
'ui/RealmsView.blp',
'ui/RealmInfo.blp',
'ui/RealmInfoEntry.blp',
'ui/ConfigureOption.blp',
'ui/ConfigureRealm.blp',
'ui/ColorSchemeChooser.blp',
'ui/ColorSchemeListItem.blp',
'ui/HelpWindow.blp',
),
output: '.',
command: [find_program('blueprint-compiler'), 'batch-compile', '@OUTPUT@', '@CURRENT_SOURCE_DIR@', '@INPUT@'],
)
desktop_file = i18n.merge_file(
input: 'com.subgraph.citadel.Realms.desktop',
output: 'com.subgraph.citadel.Realms.desktop',
type: 'desktop',
po_dir: '../po',
install: true,
install_dir: join_paths(get_option('datadir'), 'applications')
)
2024-11-12 17:12:37 -05:00
gnome.compile_resources(
APP_ID + '.data',
APP_ID + '.data.gresource.xml',
gresource_bundle: true,
install: true,
install_dir: get_option('datadir') / APP_ID,
dependencies: blueprints,
)
install_data('icons/com.subgraph.Realms.png', install_dir: join_paths(get_option('datadir'), 'icons'))
2024-11-12 17:12:37 -05:00