Feature #384 ยป 0053-Meson-Install-theme-for-gtk4x-client.patch
meson.build | ||
---|---|---|
endif
|
||
gtk4_theme = false
|
||
if get_option('clients').contains('gtk4')
|
||
if not gtk4_dep.found()
|
||
... | ... | |
win_subsystem: 'windows'
|
||
)
|
||
install_data('data/themes/gtk4/Freeciv/gtk-4.0/gtk.css',
|
||
'data/themes/gtk4/Freeciv/gtk-4.0/menubar.css',
|
||
'data/themes/gtk4/Freeciv/gtk-4.0/bg.png',
|
||
install_dir : join_paths(get_option('datadir'),
|
||
'freeciv/themes/gtk4/Freeciv/gtk-4.0'))
|
||
gtk4_theme = true
|
||
install_data(
|
||
'bootstrap/org.freeciv.gtk4.desktop',
|
||
... | ... | |
win_subsystem: 'windows'
|
||
)
|
||
gtk4_theme = true
|
||
install_data(
|
||
'bootstrap/org.freeciv.gtk4x.desktop',
|
||
install_dir : join_paths(get_option('prefix'), 'share/applications')
|
||
... | ... | |
endif
|
||
if gtk4_theme
|
||
install_data('data/themes/gtk4/Freeciv/gtk-4.0/gtk.css',
|
||
'data/themes/gtk4/Freeciv/gtk-4.0/menubar.css',
|
||
'data/themes/gtk4/Freeciv/gtk-4.0/bg.png',
|
||
install_dir : join_paths(get_option('datadir'),
|
||
'freeciv/themes/gtk4/Freeciv/gtk-4.0'))
|
||
endif
|
||
if qtver == 'qt6' or qtver == 'qt6x'
|
||
qt_mod = import('qt6')
|
||