2023-04-26 18:22:27 +05:30
|
|
|
pkgdatadir = join_paths(get_option('prefix'), get_option('datadir'), meson.project_name())
|
2023-05-13 03:08:03 +05:30
|
|
|
moduledir = join_paths(pkgdatadir, 'imaginer')
|
2023-04-26 18:22:27 +05:30
|
|
|
gnome = import('gnome')
|
|
|
|
|
|
|
|
python = import('python')
|
|
|
|
|
|
|
|
configure_file(
|
2023-05-13 03:08:03 +05:30
|
|
|
input: 'imaginer.in',
|
|
|
|
output: 'imaginer',
|
2023-04-26 18:22:27 +05:30
|
|
|
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 15:01:18 +05:30
|
|
|
configuration: conf,
|
2023-04-26 18:22:27 +05:30
|
|
|
install: true,
|
2023-04-27 04:02:45 +05:30
|
|
|
install_dir: moduledir
|
2023-04-26 18:22:27 +05:30
|
|
|
)
|
|
|
|
|
2023-05-13 03:08:03 +05:30
|
|
|
imaginer_sources = [
|
2023-04-26 18:22:27 +05:30
|
|
|
'__init__.py',
|
|
|
|
'main.py',
|
2023-04-27 04:02:45 +05:30
|
|
|
'preferences.py',
|
2023-04-26 18:22:27 +05:30
|
|
|
'window.py',
|
|
|
|
]
|
|
|
|
|
2023-05-13 03:08:03 +05:30
|
|
|
PY_INSTALLDIR.install_sources(imaginer_sources, subdir: moduledir)
|
2023-04-30 20:01:54 +05:30
|
|
|
|
|
|
|
subdir('provider')
|