| 1 |
theme_dir = join_paths(datadir, 'icons', 'hicolor') |
| 2 |
pkg_icon_dir = join_paths(pkgdatadir, 'icons', 'hicolor') |
| 3 |
|
| 4 |
install_data( |
| 5 |
[ |
| 6 |
'hicolor/teleport-random.png', |
| 7 |
'hicolor/teleport.png' |
| 8 |
], |
| 9 |
install_dir: join_paths(theme_dir, '24x24', 'actions') |
| 10 |
) |
| 11 |
install_data( |
| 12 |
'hicolor/symbolic/@[email protected]'.format(application_id), |
| 13 |
install_dir: join_paths(theme_dir, 'symbolic', 'apps') |
| 14 |
) |
| 15 |
install_data( |
| 16 |
'hicolor/scalable/@[email protected]'.format(application_id), |
| 17 |
install_dir: join_paths(theme_dir, 'scalable', 'apps') |
| 18 |
) |
| 19 |
|
| 20 |
install_data( |
| 21 |
[ |
| 22 |
'hicolor/symbolic/gamepad2-symbolic.svg', |
| 23 |
'hicolor/symbolic/brush-monitor-symbolic.svg', |
| 24 |
'hicolor/symbolic/keyboard-shortcuts-symbolic.svg', |
| 25 |
], |
| 26 |
install_dir: join_paths(pkg_icon_dir, 'scalable', 'categories') |
| 27 |
) |
| 28 |
meson.add_install_script('gtk4-update-icon-cache', '-qtf', pkg_icon_dir, skip_if_destdir: true) |