27 lines
686 B
Meson
27 lines
686 B
Meson
pkgdatadir = get_option('prefix') / get_option('datadir') / meson.project_name()
|
|
|
|
gnome = import('gnome')
|
|
|
|
blueprints = custom_target('blueprints',
|
|
input: files(
|
|
'ui/window.blp',
|
|
'ui/shortcuts-dialog.blp',
|
|
'ui/checklist.blp',
|
|
'ui/settings.blp',
|
|
'ui/welcome.blp',
|
|
'ui/home.blp'
|
|
),
|
|
output: '.',
|
|
command: [find_program('blueprint-compiler'), 'batch-compile', '@OUTPUT', '@CURRENT_SOURCE_DIRECTORY@' , '@INPUT@'],
|
|
)
|
|
|
|
resources = gnome.compile_resources('voidmanifest',
|
|
'voidmanifest.gresource.xml',
|
|
gresource_bundle: true,
|
|
source_dir: meson.current_build_dir(),
|
|
install: true,
|
|
install_dir: pkgdatadir,
|
|
dependencies: blueprints,
|
|
)
|
|
|
|
subdir('icons') |