Imaginer/src/meson.build

33 lines
673 B
Meson
Raw Normal View History

2023-04-26 12:52:27 +00:00
pkgdatadir = join_paths(get_option('prefix'), get_option('datadir'), meson.project_name())
moduledir = join_paths(pkgdatadir, 'imaginer')
2023-04-26 12:52:27 +00:00
gnome = import('gnome')
python = import('python')
configure_file(
input: 'imaginer.in',
output: 'imaginer',
2023-04-26 12:52:27 +00:00
configuration: conf,
install: true,
install_dir: get_option('bindir'),
install_mode: 'r-xr--r--'
)
configure_file(
input: 'constants.py.in',
output: 'constants.py',
2023-04-29 09:31:18 +00:00
configuration: conf,
2023-04-26 12:52:27 +00:00
install: true,
2023-04-26 22:32:45 +00:00
install_dir: moduledir
2023-04-26 12:52:27 +00:00
)
imaginer_sources = [
2023-04-26 12:52:27 +00:00
'__init__.py',
'main.py',
2023-04-26 22:32:45 +00:00
'preferences.py',
2023-04-26 12:52:27 +00:00
'window.py',
]
PY_INSTALLDIR.install_sources(imaginer_sources, subdir: moduledir)
2023-04-30 14:31:54 +00:00
subdir('provider')