mirror of
https://gitlab.gnome.org/GNOME/gitg
synced 2024-08-24 18:36:25 +00:00
meson: Properly install icons
Use rename kwarg of install_data() and require meson 0.46.0
This commit is contained in:
parent
c2a4e98c3e
commit
e4c8a10b65
|
@ -10,11 +10,13 @@ icon_sizes = [
|
|||
foreach icon_size: icon_sizes
|
||||
install_data(
|
||||
'_'.join(['hicolor', 'apps', icon_size, 'gitg.png']),
|
||||
rename: 'gitg.png',
|
||||
install_dir: join_paths(gitg_datadir, 'icons', 'hicolor', icon_size, 'apps')
|
||||
)
|
||||
endforeach
|
||||
|
||||
install_data(
|
||||
'_'.join(['hicolor', 'apps', 'scalable', 'gitg-symbolic.svg']),
|
||||
rename: 'gitg-symbolic.svg',
|
||||
install_dir: join_paths(gitg_datadir, 'icons', 'hicolor', 'scalable', 'apps')
|
||||
)
|
||||
|
|
|
@ -3,7 +3,7 @@ project(
|
|||
version: '3.26.0',
|
||||
license: 'GPL2+',
|
||||
default_options: 'buildtype=debugoptimized',
|
||||
meson_version: '>= 0.43.0'
|
||||
meson_version: '>= 0.46.0'
|
||||
)
|
||||
|
||||
gitg_name = meson.project_name()
|
||||
|
|
Loading…
Reference in a new issue