chore: add metainfo
This commit is contained in:
parent
576386e04e
commit
32e1272a93
2 changed files with 28 additions and 1 deletions
6
justfile
6
justfile
|
|
@ -33,6 +33,10 @@ desktop-dest := clean(rootdir / prefix) / 'share' / 'applications' / desktop
|
|||
|
||||
iconsdir := clean(rootdir / prefix) / 'share' / 'icons' / 'hicolor'
|
||||
|
||||
metainfo := appid + '.metainfo.xml'
|
||||
metainfo-src := 'resources' / metainfo
|
||||
metainfo-dst := clean(rootdir / prefix) / 'share' / 'metainfo' / metainfo
|
||||
|
||||
[private]
|
||||
default: build-release
|
||||
|
||||
|
|
@ -73,7 +77,7 @@ install-bin src dest: (install-cmd '-Dm0755' src dest)
|
|||
install-file src dest: (install-cmd '-Dm0644' src dest)
|
||||
|
||||
# Install everything
|
||||
install: (install-bin bin-src bin-dest) (install-file desktop-src desktop-dest)
|
||||
install: (install-bin bin-src bin-dest) (install-file desktop-src desktop-dest) (install-file metainfo-src metainfo-dst)
|
||||
find 'resources'/'default_schema' -type f -exec echo {} \; | rev | cut -d'/' -f-3 | rev | xargs -d '\n' -I {} install -Dm0644 'resources'/'default_schema'/{} {{default-schema-target}}/{}
|
||||
find 'resources'/'icons' -type f -exec echo {} \; | rev | cut -d'/' -f-3 | rev | xargs -d '\n' -I {} install -Dm0644 'resources'/'icons'/{} {{iconsdir}}/{}
|
||||
|
||||
|
|
|
|||
23
resources/com.system76.CosmicSettings.metainfo.xml
Normal file
23
resources/com.system76.CosmicSettings.metainfo.xml
Normal file
|
|
@ -0,0 +1,23 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<component type="desktop-application">
|
||||
<id>com.system76.CosmicSettings</id>
|
||||
<metadata_license>CC0-1.0</metadata_license>
|
||||
<project_license>GPL-3.0-only</project_license>
|
||||
<project_group>COSMIC</project_group>
|
||||
<developer_name>System76</developer_name>
|
||||
<update_contact>jeremy@system76.com</update_contact>
|
||||
<url type="homepage">https://github.com/pop-os/cosmic-settings</url>
|
||||
<url type="bugtracker">https://github.com/pop-os/cosmic-settings</url>
|
||||
<name>COSMIC Settings</name>
|
||||
<summary>Settings application for the COSMIC desktop</summary>
|
||||
<description>
|
||||
<p>Settings application for the COSMIC desktop</p>
|
||||
</description>
|
||||
<launchable type="desktop-id">com.system76.CosmicSettings.desktop</launchable>
|
||||
<icon type="remote" height="256" width="256">https://raw.githubusercontent.com/pop-os/cosmic-settings/master/resources/icons/256x256/apps/com.system76.CosmicSettings.svg</icon>
|
||||
<provides>
|
||||
<binaries>
|
||||
<binary>cosmic-settings</binary>
|
||||
</binaries>
|
||||
</provides>
|
||||
</component>
|
||||
Loading…
Add table
Add a link
Reference in a new issue