2022-07-17 11:46:05 +00:00
|
|
|
gnome = import('gnome')
|
|
|
|
|
|
|
|
blueprints = custom_target('blueprints',
|
|
|
|
input: files(
|
2022-07-21 19:03:18 +00:00
|
|
|
'ui/error.blp',
|
|
|
|
'ui/palette_shades.blp',
|
2022-07-17 11:46:05 +00:00
|
|
|
'ui/option.blp',
|
|
|
|
'ui/window.blp',
|
2022-07-22 12:29:32 +00:00
|
|
|
'ui/app_type_dialog.blp',
|
2022-07-24 17:46:37 +00:00
|
|
|
'ui/custom_css_group.blp',
|
2022-07-17 11:46:05 +00:00
|
|
|
),
|
|
|
|
output: '.',
|
|
|
|
command: [find_program('blueprint-compiler'), 'batch-compile', '@OUTPUT@', '@CURRENT_SOURCE_DIR@', '@INPUT@'],
|
|
|
|
)
|
|
|
|
|
|
|
|
gnome.compile_resources('adwcustomizer',
|
|
|
|
'adwcustomizer.gresource.xml',
|
|
|
|
gresource_bundle: true,
|
|
|
|
install: true,
|
2022-08-13 10:24:16 +00:00
|
|
|
install_dir: PKGDATA_DIR,
|
2022-07-17 11:46:05 +00:00
|
|
|
dependencies: blueprints,
|
|
|
|
)
|
|
|
|
|
|
|
|
configure_file(
|
|
|
|
input: 'adwcustomizer.in',
|
|
|
|
output: 'adwcustomizer',
|
|
|
|
configuration: conf,
|
|
|
|
install: true,
|
|
|
|
install_dir: get_option('bindir')
|
|
|
|
)
|
|
|
|
|
2022-08-11 16:44:51 +00:00
|
|
|
configure_file(
|
2022-08-13 10:24:16 +00:00
|
|
|
input: 'info.py.in',
|
|
|
|
output: 'info.py',
|
|
|
|
configuration: conf,
|
|
|
|
install: true,
|
|
|
|
install_dir: MODULE_DIR
|
2022-08-11 16:44:51 +00:00
|
|
|
)
|
|
|
|
|
2022-08-13 10:24:16 +00:00
|
|
|
# Install sources
|
2022-07-17 11:46:05 +00:00
|
|
|
adwcustomizer_sources = [
|
|
|
|
'__init__.py',
|
2022-07-26 13:31:16 +00:00
|
|
|
'settings_schema.py',
|
2022-07-17 11:46:05 +00:00
|
|
|
'main.py',
|
2022-07-21 19:03:18 +00:00
|
|
|
'error.py',
|
|
|
|
'palette_shades.py',
|
2022-08-10 15:51:55 +00:00
|
|
|
'plugin.py',
|
|
|
|
'plugins_list.py',
|
|
|
|
'setting.py',
|
2022-07-17 11:46:05 +00:00
|
|
|
'option.py',
|
|
|
|
'window.py',
|
2022-07-22 12:29:32 +00:00
|
|
|
'app_type_dialog.py',
|
2022-07-24 17:46:37 +00:00
|
|
|
'custom_css_group.py',
|
2022-07-17 11:46:05 +00:00
|
|
|
]
|
2022-08-13 10:24:16 +00:00
|
|
|
install_data(adwcustomizer_sources, install_dir: MODULE_DIR)
|
2022-07-17 11:46:05 +00:00
|
|
|
|
2022-08-10 15:51:55 +00:00
|
|
|
plugins_sources = [
|
|
|
|
'plugins/__init__.py',
|
|
|
|
'plugins/gtk4.py'
|
|
|
|
]
|
2022-08-13 10:24:16 +00:00
|
|
|
install_data(plugins_sources, install_dir: PLUGINS_DIR)
|