You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
moonstone/vanilla_first_setup/meson.build

45 lines
1.1 KiB
Meson

2 years ago
pkgdatadir = join_paths(get_option('prefix'), get_option('datadir'), meson.project_name())
2 years ago
moduledir = join_paths(pkgdatadir, 'vanilla_first_setup')
2 years ago
gnome = import('gnome')
2 years ago
gnome.compile_resources('vanilla-first-setup',
'vanilla-first-setup.gresource.xml',
2 years ago
gresource_bundle: true,
install: true,
install_dir: pkgdatadir,
)
python = import('python')
conf = configuration_data()
conf.set('PYTHON', python.find_installation('python3').path())
conf.set('VERSION', meson.project_version())
conf.set('localedir', join_paths(get_option('prefix'), get_option('localedir')))
conf.set('pkgdatadir', pkgdatadir)
configure_file(
2 years ago
input: 'vanilla-first-setup.in',
output: 'vanilla-first-setup',
2 years ago
configuration: conf,
install: true,
install_dir: get_option('bindir')
)
configure_file(
2 years ago
input: 'vanilla-first-setup-processor.in',
output: 'vanilla-first-setup-processor',
configuration: conf,
install: true,
install_dir: get_option('bindir')
)
subdir('utils')
subdir('models')
2 years ago
vanilla_first_setup_sources = [
2 years ago
'__init__.py',
'main.py',
'window.py',
]
2 years ago
install_data(vanilla_first_setup_sources, install_dir: moduledir)