misc,xdg: update icons
Before Width: | Height: | Size: 75 KiB After Width: | Height: | Size: 53 KiB |
Before Width: | Height: | Size: 85 KiB After Width: | Height: | Size: 46 KiB |
BIN
xdg/icons/replay-128.png
Normal file
After Width: | Height: | Size: 8.9 KiB |
BIN
xdg/icons/replay-256.png
Normal file
After Width: | Height: | Size: 20 KiB |
BIN
xdg/icons/replay-32.png
Normal file
After Width: | Height: | Size: 1.7 KiB |
BIN
xdg/icons/replay-512.png
Normal file
After Width: | Height: | Size: 46 KiB |
BIN
xdg/icons/replay-64.png
Normal file
After Width: | Height: | Size: 3.9 KiB |
BIN
xdg/icons/taisei-128.png
Normal file
After Width: | Height: | Size: 7 KiB |
BIN
xdg/icons/taisei-256.png
Normal file
After Width: | Height: | Size: 16 KiB |
BIN
xdg/icons/taisei-32.png
Normal file
After Width: | Height: | Size: 1.2 KiB |
BIN
xdg/icons/taisei-512.png
Normal file
After Width: | Height: | Size: 36 KiB |
BIN
xdg/icons/taisei-64.png
Normal file
After Width: | Height: | Size: 3 KiB |
|
@ -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
|
||||
|
|
Before Width: | Height: | Size: 21 KiB |
Before Width: | Height: | Size: 28 KiB |
|
@ -1 +0,0 @@
|
|||
org.taisei_project.Taisei.tsr.png
|
|
@ -1 +0,0 @@
|
|||
org.taisei_project.Taisei.png
|