meson: add ui files

Signed-off-by: Pavel Hrdina <phrdina@redhat.com>
This commit is contained in:
Pavel Hrdina 2024-10-25 14:48:27 +02:00 committed by Pavel Hrdina
parent 2abd3e7565
commit ff1fa4cc38
3 changed files with 39 additions and 2 deletions

View File

@ -16,6 +16,7 @@ git = run_command('test', '-e', '.git', check: false).returncode() == 0
subdir('scripts')
subdir('man')
subdir('data')
subdir('ui')
if git
spec_conf = configuration_data({

View File

@ -433,8 +433,6 @@ setuptools.setup(
"build/virt-xml"]),
data_files=[
("share/virt-manager/ui", glob.glob("ui/*.ui")),
("share/virt-manager/virtManager", glob.glob("virtManager/*.py")),
("share/virt-manager/virtManager/details",
glob.glob("virtManager/details/*.py")),

38
ui/meson.build Normal file
View File

@ -0,0 +1,38 @@
ui_files = files(
'about.ui',
'addhardware.ui',
'addstorage.ui',
'asyncjob.ui',
'clone.ui',
'connectauth.ui',
'console.ui',
'createconn.ui',
'createnet.ui',
'createpool.ui',
'createvm.ui',
'createvol.ui',
'delete.ui',
'details.ui',
'fsdetails.ui',
'gfxdetails.ui',
'hostnets.ui',
'hoststorage.ui',
'host.ui',
'manager.ui',
'migrate.ui',
'netlist.ui',
'oslist.ui',
'preferences.ui',
'snapshotsnew.ui',
'snapshots.ui',
'storagebrowse.ui',
'tpmdetails.ui',
'vmwindow.ui',
'vsockdetails.ui',
'xmleditor.ui',
)
install_data(
ui_files,
install_dir: pkgdir / 'ui'
)