Skip to content

Commit

Permalink
Finally figured out the icon thing
Browse files Browse the repository at this point in the history
  • Loading branch information
Jeffser committed May 13, 2024
1 parent dbd6c20 commit a9c71a1
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
7 changes: 3 additions & 4 deletions data/icons/meson.build
Original file line number Diff line number Diff line change
@@ -1,20 +1,19 @@
application_id = 'com.jeffser.Alpaca'

message('funny icon time')
scalable_dir = 'hicolor' / 'scalable' / 'apps'
install_data(
scalable_dir / ('@0@.svg').format(application_id),
scalable_dir / 'com.jeffser.Alpaca.svg',
install_dir: get_option('datadir') / 'icons' / scalable_dir
)

symbolic_dir = 'hicolor' / 'symbolic' / 'apps'
install_data(
symbolic_dir / ('@0@-symbolic.svg').format(application_id),
symbolic_dir / 'com.jeffser.Alpaca-symbolic.svg',
install_dir: get_option('datadir') / 'icons' / symbolic_dir
)

png_dir = 'hicolor' / '512x512' / 'apps'
install_data(
png_dir / ('@0@.png').format(application_id),
png_dir / 'com.jeffser.Alpaca.png',
install_dir: get_option('datadir') / 'icons' / png_dir
)
3 changes: 1 addition & 2 deletions meson.build
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
project('alpaca',
project('Alpaca',
version: '0.1.0',
meson_version: '>= 0.62.0',
default_options: [ 'warning_level=2', 'werror=false', ],
Expand All @@ -7,7 +7,6 @@ project('alpaca',
i18n = import('i18n')
gnome = import('gnome')


subdir('data')
subdir('src')
subdir('po')
Expand Down

0 comments on commit a9c71a1

Please sign in to comment.