Commit 89ad2bbe authored by Matthias Clasen's avatar Matthias Clasen

Add an app icon

In the flatpak world, applications are expected to be self-contained,
which includes shipping your own icon.
parent efdca801
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16">
<g color="#000" font-weight="400" font-family="sans-serif" white-space="normal" fill="#474747">
<path d="M3 5.012v2h1.92c-.055 0 .084.159.084.082v.924H4c-1.716 0-3.03 1.125-3.055 2.484-.012.68.306 1.363.862 1.822.555.46 1.315.7 2.193.7h3.004v-5.93c0-1.171-.887-2.082-2.084-2.082zm1 5.006h1.004v1.005H4c-.52 0-.794-.137-.92-.242-.126-.104-.136-.172-.135-.244.003-.144.085-.52 1.055-.52zM7.996 4v9.023H11c.939 0 1.769-.372 2.299-.959.53-.586.766-1.336.756-2.066a3.079 3.079 0 0 0-.791-2.043C12.737 7.378 11.92 7 11 7H9.996V4zm2 5H11c.422 0 .626.126.787.303.162.177.264.447.268.722.004.276-.089.53-.24.698-.152.167-.356.3-.815.3H9.996z" style="line-height:normal;font-variant-ligatures:normal;font-variant-position:normal;font-variant-caps:normal;font-variant-numeric:normal;font-variant-alternates:normal;font-feature-settings:normal;text-indent:0;text-align:start;text-decoration-line:none;text-decoration-style:solid;text-decoration-color:#000;text-transform:none;text-orientation:mixed;shape-padding:0;isolation:auto;mix-blend-mode:normal;marker:none" overflow="visible"/>
</g>
</svg>
......@@ -42,6 +42,29 @@ configure_file(output: 'config.h', configuration: config_h)
root_inc = include_directories('.')
appdata_file = 'org.gnome.font-viewer.appdata.xml'
i18n.merge_file(appdata_file,
input: 'data/' + appdata_file + '.in',
output: appdata_file,
po_dir: 'po',
install: true,
install_dir: appdatadir
)
install_data('data/org.gnome.font-viewer-48.png',
install_dir: join_paths(datadir, 'icons', 'hicolor', '48x48', 'apps'),
rename: 'org.gnome.font-viewer.png'
)
install_data('data/org.gnome.font-viewer-256.png',
install_dir: join_paths(datadir, 'icons', 'hicolor', '256x256', 'apps'),
rename: 'org.gnome.font-viewer.png'
)
install_data('data/org.gnome.font-viewer-symbolic.svg',
install_dir: join_paths(datadir, 'icons', 'hicolor', 'symbolic', 'apps'),
)
subdir('src')
subdir('po')
subdir('data')
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment