Skip to content

Commit

Permalink
add commit to yml and fix Flathub icons
Browse files Browse the repository at this point in the history
  • Loading branch information
adenlall committed Mar 17, 2024
1 parent db64246 commit 32d7371
Show file tree
Hide file tree
Showing 5 changed files with 17 additions and 15 deletions.
13 changes: 13 additions & 0 deletions data/icons/meson.build
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
application_id = 'io.github.adenlall.salatok-gtk'

scalable_dir = join_paths('scalable')
install_data(
join_paths(scalable_dir, ('@0@.svg').format(application_id)),
install_dir: join_paths(get_option('datadir'), 'icons', join_paths('hicolor', 'scalable', 'apps'))
)

symbolic_dir = join_paths('symbolic')
install_data(
join_paths(symbolic_dir, ('@0@.svg').format(application_id)),
install_dir: join_paths(get_option('datadir'), 'icons', join_paths('hicolor', 'scalable', 'apps'))
)
16 changes: 2 additions & 14 deletions data/meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -22,20 +22,6 @@ install_data(
'icons' / APP_ID + '.symbolic.svg',
install_dir: get_option('datadir') / 'icons' / 'hicolor' / 'symbolic' / 'apps'
)
install_data(
'icons' / APP_ID + '.gnome.svg',
install_dir: get_option('datadir') / 'icons' / 'hicolor' / 'scalable' / 'apps'
)

install_data(
'icons' / APP_ID + '.colorful.svg',
install_dir: get_option('datadir') / 'icons' / 'hicolor' / 'scalable' / 'apps'
)

install_data(
'icons' / APP_ID + '.colorful.svg',
install_dir: get_option('datadir') / 'icons' / 'hicolor' / 'scalable' / 'apps'
)

# Translate and install the desktop file
i18n.merge_file(
Expand Down Expand Up @@ -82,3 +68,5 @@ i18n.merge_file(
install_dir: get_option('datadir') / 'metainfo'

)

subdir('icons')
3 changes: 2 additions & 1 deletion io.github.adenlall.salatok-gtk.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,4 +32,5 @@ modules:
buildsystem: meson
sources:
- type: git
url: https://github.com/adenlall/salatok-gtk.git
url: https://github.com/adenlall/salatok-gtk.git
commit: "db64246b571e5de46138715d9351f38f34347af6"

0 comments on commit 32d7371

Please sign in to comment.