mirror of
https://github.com/Huluti/Curtail.git
synced 2024-09-11 14:16:12 +03:00
Merge pull request #144 from A6GibKm/icons-meson
meson: Fix icons not being installed
This commit is contained in:
commit
cb2c3dbbe3
@ -1,12 +1,11 @@
|
||||
scalable_dir = join_paths('hicolor', 'scalable', 'apps')
|
||||
install_data(
|
||||
join_paths(scalable_dir, ('@0@.svg').format(APPLICATION_ID)),
|
||||
join_paths(scalable_dir, ('@0@.svg').format(application_id)),
|
||||
install_dir: join_paths(get_option('datadir'), 'icons', scalable_dir)
|
||||
)
|
||||
|
||||
symbolic_dir = join_paths('hicolor', 'symbolic', 'apps')
|
||||
install_data(
|
||||
join_paths(symbolic_dir, ('@0@-symbolic.svg').format(PROJECT_RDNN_NAME)),
|
||||
join_paths(symbolic_dir, ('@0@-symbolic.svg').format(application_id)),
|
||||
install_dir: join_paths(get_option('datadir'), 'icons', symbolic_dir),
|
||||
rename: '@0@-symbolic.svg'.format(APPLICATION_ID)
|
||||
)
|
||||
|
@ -50,3 +50,5 @@ if compile_schemas.found()
|
||||
args: ['--strict', '--dry-run', meson.current_source_dir()]
|
||||
)
|
||||
endif
|
||||
|
||||
subdir('icons')
|
||||
|
@ -7,7 +7,7 @@ project('curtail',
|
||||
i18n = import('i18n')
|
||||
gnome = import('gnome')
|
||||
|
||||
|
||||
application_id = 'com.github.huluti.Curtail'
|
||||
|
||||
subdir('data')
|
||||
subdir('src')
|
||||
|
Loading…
Reference in New Issue
Block a user