roster/src/meson.build
Pavel Baksy 717c22a722 Add Tabbed interface
- Add New Request Button
   - Implement Tab Management System
   - Opening saved requests from sidebar creates new tabs
   - Response Tracking
2025-12-20 18:56:11 +01:00

54 lines
1.2 KiB
Meson

pkgdatadir = get_option('prefix') / get_option('datadir') / meson.project_name()
moduledir = pkgdatadir / 'roster'
gnome = import('gnome')
gnome.compile_resources('roster',
'roster.gresource.xml',
gresource_bundle: true,
install: true,
install_dir: pkgdatadir,
)
python = import('python')
conf = configuration_data()
conf.set('PYTHON', python.find_installation('python3').full_path())
conf.set('VERSION', meson.project_version())
conf.set('localedir', get_option('prefix') / get_option('localedir'))
conf.set('pkgdatadir', pkgdatadir)
configure_file(
input: 'roster.in',
output: 'roster',
configuration: conf,
install: true,
install_dir: get_option('bindir'),
install_mode: 'rwxr-xr-x'
)
roster_sources = [
'__init__.py',
'main.py',
'window.py',
'models.py',
'http_client.py',
'history_manager.py',
'project_manager.py',
'tab_manager.py',
'constants.py',
'icon_picker_dialog.py',
]
install_data(roster_sources, install_dir: moduledir)
# Install widgets submodule
widgets_sources = [
'widgets/__init__.py',
'widgets/header_row.py',
'widgets/history_item.py',
'widgets/project_item.py',
'widgets/request_item.py',
]
install_data(widgets_sources, install_dir: moduledir / 'widgets')