misc,xdg: update icons

This commit is contained in:
Andrei Alexeyev 2023-05-18 16:11:29 +02:00
parent 9a476f58e2
commit fb7747aa98
No known key found for this signature in database
GPG key ID: 72D26128040B9690
18 changed files with 46 additions and 13 deletions

Binary file not shown.

Binary file not shown.

Before

Width:  |  Height:  |  Size: 75 KiB

After

Width:  |  Height:  |  Size: 53 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 85 KiB

After

Width:  |  Height:  |  Size: 46 KiB

BIN
xdg/icons/replay-128.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.9 KiB

BIN
xdg/icons/replay-256.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 20 KiB

BIN
xdg/icons/replay-32.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 KiB

BIN
xdg/icons/replay-512.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 46 KiB

BIN
xdg/icons/replay-64.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.9 KiB

BIN
xdg/icons/taisei-128.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 7 KiB

BIN
xdg/icons/taisei-256.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 16 KiB

BIN
xdg/icons/taisei-32.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

BIN
xdg/icons/taisei-512.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 36 KiB

BIN
xdg/icons/taisei-64.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 3 KiB

View file

@ -1,12 +1,47 @@
if install_xdg
install_data('org.taisei_project.Taisei.tsr.desktop', 'org.taisei_project.Taisei.desktop',
install_dir : join_paths(xdg_path, 'applications'))
install_data('org.taisei_project.Taisei.png', 'taisei.png',
install_dir : join_paths(xdg_path, 'icons/hicolor/128x128/apps'))
install_data('org.taisei_project.Taisei.tsr.png', 'taisei-replay.png',
install_dir : join_paths(xdg_path, 'icons/hicolor/256x256/mimetypes'))
install_data('org.taisei_project.Taisei.xml',
install_dir : join_paths(xdg_path, 'mime/packages'))
install_data('org.taisei_project.Taisei.appdata.xml',
install_dir : join_paths(xdg_path, 'metainfo'))
if not install_xdg
subdir_done()
endif
icon_sizes = [512, 256, 128, 64, 32]
install_data(
'org.taisei_project.Taisei.tsr.desktop',
'org.taisei_project.Taisei.desktop',
install_dir : xdg_path / 'applications'
)
install_data(
'org.taisei_project.Taisei.xml',
install_dir : xdg_path / 'mime/packages'
)
install_data(
'org.taisei_project.Taisei.appdata.xml',
install_dir : xdg_path / 'metainfo'
)
foreach size : icon_sizes
apps_dir = xdg_path / f'icons/hicolor/@size@x@size@/apps'
mimetypes_dir = xdg_path / f'icons/hicolor/@size@x@size@/mimetypes'
install_data(
f'icons/taisei-@size@.png',
rename : 'org.taisei_project.Taisei.png',
install_dir : apps_dir
)
install_symlink(
'taisei.png',
pointing_to : 'org.taisei_project.Taisei.png',
install_dir : apps_dir
)
install_data(
f'icons/replay-@size@.png',
rename : 'org.taisei_project.Taisei.tsr.png',
install_dir : mimetypes_dir
)
install_symlink(
'taisei-replay.png',
pointing_to : 'org.taisei_project.Taisei.tsr.png',
install_dir : mimetypes_dir
)
endforeach

Binary file not shown.

Before

Width:  |  Height:  |  Size: 21 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 28 KiB

View file

@ -1 +0,0 @@
org.taisei_project.Taisei.tsr.png

View file

@ -1 +0,0 @@
org.taisei_project.Taisei.png