Skip to content

Commit

Permalink
chore: update metainfo
Browse files Browse the repository at this point in the history
  • Loading branch information
edfloreshz committed Jul 3, 2024
1 parent 5b078d4 commit 0e8c728
Show file tree
Hide file tree
Showing 3 changed files with 39 additions and 18 deletions.
9 changes: 6 additions & 3 deletions justfile
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,16 @@ flatpak-bin-dst := flatpak-base-dir / 'bin' / name
desktop := APPID + '.desktop'
desktop-src := 'res' / desktop
desktop-dst := clean(rootdir / prefix) / 'share' / 'applications' / desktop
flatpak-desktop-dst := clean(rootdir / flatpak-prefix) / 'share' / 'applications' / desktop

metainfo := APPID + '.metainfo.xml'
metainfo-src := 'res' / metainfo
metainfo-dst := clean(rootdir / prefix) / 'share' / 'metainfo' / metainfo
flatpak-metainfo-dst := clean(rootdir / flatpak-prefix) / 'share' / 'metainfo' / metainfo

icons-src := 'res' / 'icons' / 'hicolor'
icons-dst := clean(rootdir / prefix) / 'share' / 'icons' / 'hicolor'
flatpak-icons-dst := clean(rootdir / flatpak-prefix) / 'share' / 'icons' / 'hicolor'

# Default recipe which runs `just build-release`
default: build-release
Expand Down Expand Up @@ -76,10 +79,10 @@ install:
# Installs files
flatpak:
install -Dm0755 {{bin-src}} {{flatpak-bin-dst}}
install -Dm0644 {{desktop-src}} {{desktop-dst}}
install -Dm0644 {{metainfo-src}} {{metainfo-dst}}
install -Dm0644 {{desktop-src}} {{flatpak-desktop-dst}}
install -Dm0644 {{metainfo-src}} {{flatpak-metainfo-dst}}
for size in `ls {{icons-src}}`; do \
install -Dm0644 "{{icons-src}}/$size/apps/{{APPID}}.svg" "{{icons-dst}}/$size/apps/{{APPID}}.svg"; \
install -Dm0644 "{{icons-src}}/$size/apps/{{APPID}}.svg" "{{flatpak-icons-dst}}/$size/apps/{{APPID}}.svg"; \
done

# Uninstalls installed files
Expand Down
7 changes: 3 additions & 4 deletions res/dev.edfloreshz.Tasks.desktop
Original file line number Diff line number Diff line change
@@ -1,11 +1,10 @@
#TODO: more build-out, desktop actions, translations?
[Desktop Entry]
Name=Tasks
GenericName=Task Manager
Exec=tasks %F
Terminal=false
Type=Application
StartupNotify=true
Icon=dev.edfloreshz.Tasks
Categories=COSMIC;Utility;FileManager;
Keywords=Folder;Manager;
MimeType=inode/directory;
Categories=Utility;
Keywords=Tasks;Management,Todo,Project,Planner,Organizer,Reminder,Checklist,Task,To-do,List;
41 changes: 30 additions & 11 deletions res/dev.edfloreshz.Tasks.metainfo.xml
Original file line number Diff line number Diff line change
@@ -1,38 +1,57 @@
<?xml version="1.0" encoding="UTF-8"?>
<component type="desktop-application">
<id>dev.edfloreshz.Tasks</id>
<developer id="dev.edfloreshz">
<name>Eduardo Flores</name>
</developer>
<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>
<content_rating type="oars-1.1" />
<update_contact>[email protected]</update_contact>
<url type="homepage">https://github.com/edfloreshz/tasks</url>
<url type="bugtracker">https://github.com/edfloreshz/tasks</url>
<name>Tasks</name>
<summary>Tasks application for the COSMIC desktop</summary>
<summary>Tasks management application for the COSMIC desktop</summary>
<description>
<p>Tasks application that provides advanced features with high performance</p>
<p>A simple task management app, reaching across the cosmos to help you get things done</p>
<ul>
<li>Built with Rust for exceptional performance and responsiveness.</li>
<li>Organize your tasks into lists.</li>
<li>Exceptional performance and responsiveness.</li>
<li>Effortless keyboard shortcut support.</li>
<li>Expressive emoji integration.</li>
</ul>
</description>
<branding>
<color type="primary" scheme_preference="light">#eaeaffff</color>
<color type="primary" scheme_preference="dark">#421676ff</color>
</branding>
<launchable type="desktop-id">dev.edfloreshz.Tasks.desktop</launchable>
<icon type="remote" height="256" width="256">https://raw.githubusercontent.com/edfloreshz/tasks/master/res/icons/hicolor/scalable/apps/dev.edfloreshz.Tasks.svg</icon>
<releases>
<release version="0.1.0" date="2024-07-02">
<description>
<p>Initial release! 🎉</p>
<ul>
<li>Organize tasks into lists</li>
<li>Rest your eyes with dark mode</li>
<li>Manage tasks with ease using keyboard shortcuts</li>
<li>Export tasks to Markdown</li>
</ul>
</description>
</release>
</releases>
<screenshots>
<screenshot type="default">
<image>https://raw.githubusercontent.com/edfloreshz/tasks/main/res/screenshots/window-light.png</image>
<caption>Window in light mode</caption>
</screenshot>
<screenshot>
<image>https://raw.githubusercontent.com/edfloreshz/tasks/main/res/screenshots/window-dark.png</image>
<caption>Window in dark mode</caption>
</screenshot>
</screenshots>
<provides>
<mimetypes>
<mimetype>text/plain</mimetype>
</mimetypes>
<binaries>
<binary>tasks</binary>
</binaries>
<id>dev.edfloreshz.Tasks.desktop</id>
<binary>tasks</binary>
</provides>
</component>

0 comments on commit 0e8c728

Please sign in to comment.