Add metainfo
This commit is contained in:
parent
90cbcaeca3
commit
bcc1ad8284
5 changed files with 50 additions and 2 deletions
1
.gitattributes
vendored
Normal file
1
.gitattributes
vendored
Normal file
|
|
@ -0,0 +1 @@
|
|||
*.png filter=lfs diff=lfs merge=lfs -text
|
||||
|
|
@ -1,5 +1,7 @@
|
|||
# COSMIC Edit
|
||||
COSMIC Text Editor
|
||||
# COSMIC Text Editor
|
||||
Text editor for the COSMIC desktop
|
||||
|
||||

|
||||
|
||||
Currently an incomplete **pre-alpha**, this project is a work in progress - issues are expected.
|
||||
|
||||
|
|
|
|||
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
|
||||
|
|
|
|||
37
res/com.system76.CosmicEdit.metainfo.xml
Normal file
37
res/com.system76.CosmicEdit.metainfo.xml
Normal file
|
|
@ -0,0 +1,37 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<component type="desktop-application">
|
||||
<id>com.system76.CosmicEdit</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-edit</url>
|
||||
<url type="bugtracker">https://github.com/pop-os/cosmic-edit</url>
|
||||
<name>COSMIC Text Editor</name>
|
||||
<summary>Text editor for the COSMIC desktop</summary>
|
||||
<description>
|
||||
<p>Text editor that provides advanced features with high performance</p>
|
||||
<ul>
|
||||
<li>Written in Rust for performance and safety</li>
|
||||
<li>Syntax highlighting built in for most languages</li>
|
||||
<li>Provides project-based editing</li>
|
||||
<li>Integrated git management</li>
|
||||
</ul>
|
||||
</description>
|
||||
<launchable type="desktop-id">com.system76.CosmicEdit.desktop</launchable>
|
||||
<icon type="remote" height="256" width="256">https://raw.githubusercontent.com/pop-os/cosmic-edit/master/res/icons/hicolor/256x256/apps/com.system76.CosmicEdit.svg</icon>
|
||||
<screenshots>
|
||||
<screenshot type="default">
|
||||
<image>https://media.githubusercontent.com/media/pop-os/cosmic-edit/master/res/screenshots/screenshot-1.png</image>
|
||||
</screenshot>
|
||||
</screenshots>
|
||||
<provides>
|
||||
<mimetypes>
|
||||
<mimetype>text/plain</mimetype>
|
||||
</mimetypes>
|
||||
<binaries>
|
||||
<binary>cosmic-edit</binary>
|
||||
</binaries>
|
||||
</provides>
|
||||
</component>
|
||||
3
res/screenshots/screenshot-1.png
Normal file
3
res/screenshots/screenshot-1.png
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:3ba78b19f6c4ecce1cbbb7a85495426ab5102575fef9838b5a1df199c951e985
|
||||
size 258913
|
||||
Loading…
Add table
Add a link
Reference in a new issue