Skip to content

Commit

Permalink
icons: Install png into hicolor size folder (#245)
Browse files Browse the repository at this point in the history
Fixes the "non-png-icon-in-hicolor-size-folder" error in the flatpak-builder-lint

Also correct installation path of the scalable svg
  • Loading branch information
ryonakano authored Aug 13, 2024
1 parent 550b0e0 commit aca3bc8
Show file tree
Hide file tree
Showing 7 changed files with 3 additions and 3 deletions.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
6 changes: 3 additions & 3 deletions data/meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,14 @@ icon_sizes = ['16', '24', '32', '48', '64', '128']

foreach i : icon_sizes
install_data(
'icons' / i + 'x' + i / 'apps' / meson.project_name() + '.svg',
'icons' / i + 'x' + i / 'apps' / meson.project_name() + '.png',
install_dir: get_option('datadir') / 'icons' / 'hicolor' / i + 'x' + i / 'apps'
)
endforeach

install_data(
meson.project_name() + '.svg',
install_dir: get_option('datadir') / 'pixmaps'
'icons' / 'scalable' / 'apps' / meson.project_name() + '.svg',
install_dir: get_option('datadir') / 'icons' / 'hicolor' / 'scalable' / 'apps'
)

appstream_conf = configuration_data()
Expand Down

0 comments on commit aca3bc8

Please sign in to comment.