Add metainfo
This commit is contained in:
parent
e24826e970
commit
4169fffa0f
2 changed files with 28 additions and 0 deletions
5
justfile
5
justfile
|
|
@ -15,6 +15,10 @@ desktop := APPID + '.desktop'
|
|||
desktop-src := 'res' / desktop
|
||||
desktop-dst := clean(rootdir / prefix) / 'share' / 'applications' / desktop
|
||||
|
||||
metainfo := APPID + '.metainfo.xml'
|
||||
metainfo-src := 'res' / metainfo
|
||||
metainfo-dst := clean(rootdir / prefix) / 'share' / 'metainfo' / metainfo
|
||||
|
||||
icons-src := 'res' / 'icons' / 'hicolor'
|
||||
icons-dst := clean(rootdir / prefix) / 'share' / 'icons' / 'hicolor'
|
||||
|
||||
|
|
@ -61,6 +65,7 @@ run *args:
|
|||
install:
|
||||
install -Dm0755 {{bin-src}} {{bin-dst}}
|
||||
install -Dm0644 {{desktop-src}} {{desktop-dst}}
|
||||
install -Dm0644 {{metainfo-src}} {{metainfo-dst}}
|
||||
for size in `ls {{icons-src}}`; do \
|
||||
install -Dm0644 "{{icons-src}}/$size/apps/{{APPID}}.svg" "{{icons-dst}}/$size/apps/{{APPID}}.svg"; \
|
||||
done
|
||||
|
|
|
|||
23
res/com.system76.CosmicTerm.metainfo.xml
Normal file
23
res/com.system76.CosmicTerm.metainfo.xml
Normal file
|
|
@ -0,0 +1,23 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<component type="desktop-application">
|
||||
<id>com.system76.CosmicTerm</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-term</url>
|
||||
<url type="bugtracker">https://github.com/pop-os/cosmic-term</url>
|
||||
<name>COSMIC Terminal</name>
|
||||
<summary>Terminal emulator for the COSMIC desktop</summary>
|
||||
<description>
|
||||
<p>Terminal emulator for the COSMIC desktop</p>
|
||||
</description>
|
||||
<launchable type="desktop-id">com.system76.CosmicTerm.desktop</launchable>
|
||||
<icon type="remote" height="256" width="256">https://raw.githubusercontent.com/pop-os/cosmic-term/master/res/icons/hicolor/256x256/apps/com.system76.CosmicTerm.svg</icon>
|
||||
<provides>
|
||||
<binaries>
|
||||
<binary>cosmic-term</binary>
|
||||
</binaries>
|
||||
</provides>
|
||||
</component>
|
||||
Loading…
Add table
Add a link
Reference in a new issue