-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
5 changed files
with
101 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,53 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<component type="desktop-application"> | ||
<id>us.tylerc.cycles</id> | ||
|
||
<name>cycles</name> | ||
<developer_name>TylerCode</developer_name> | ||
<summary>A simple, theme-aware, CPU information tool</summary> | ||
|
||
<metadata_license>MIT</metadata_license> | ||
<project_license>MIT</project_license> | ||
|
||
<recommends> | ||
<control>pointing</control> | ||
<control>keyboard</control> | ||
<control>touch</control> | ||
</recommends> | ||
|
||
<description> | ||
<p>This application displays all logical cores on the machine and the current clock speed and core utilization. The theme is controlled by the OS.</p> | ||
</description> | ||
|
||
<launchable type="desktop-id">us.tylerc.cycles.desktop</launchable> | ||
<screenshots> | ||
<screenshot type="default"> | ||
<image>https://raw.githubusercontent.com/TylerCode/cycles/main/snap/local/screenshot-dark-0.3.png</image> | ||
<caption>Screenshot</caption> | ||
</screenshot> | ||
</screenshots> | ||
|
||
<!-- Override the kudos that aren't automatically added. See https://gitlab.gnome.org/GNOME/gnome-software/blob/main/doc/kudos.md.--> | ||
<!-- This is not required in any way but helps software centers better understand Fyne applications. If you don't use notifications, you should remove it from the list. --> | ||
<kudos> | ||
<kudo>ModernToolkit</kudo> | ||
<!-- <kudo>Notifications</kudo> --> | ||
</kudos> | ||
|
||
<url type="bugtracker">https://github.com/TylerCode/cycles/issues</url> | ||
<url type="donation">https://tylerc.us</url> | ||
<url type="homepage">https://github.com/TylerCode/cycles</url> | ||
|
||
<!-- Generate the oars rating at: https://hughsie.github.io/oars/generate.html --> | ||
<content_rating type="oars-1.1" /> | ||
|
||
<releases> | ||
<release version="0.3.3" date="2024-01-04" type="stable"> | ||
<description> | ||
<p>Initial flatpak release, enhanced graph sizing</p> | ||
</description> | ||
<url type="details">https://github.com/TylerCode/cycles/releases</url> | ||
</release> | ||
</releases> | ||
|
||
</component> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
[Desktop Entry] | ||
Type=Application | ||
Name=Cycles | ||
Comment=A simple, theme-aware, CPU information tool | ||
Categories=Utility; | ||
Icon=us.tylerc.cycles | ||
Exec=cycles |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
app-id: us.tylerc.cycles | ||
runtime: org.freedesktop.Platform | ||
runtime-version: '20.08' | ||
sdk: org.freedesktop.Sdk | ||
sdk-extensions: | ||
- org.freedesktop.Sdk.Extension.golang | ||
command: cycles | ||
|
||
finish-args: | ||
- --share=ipc | ||
- --socket=x11 | ||
- --device=dri | ||
- --socket=wayland | ||
|
||
# Needed to support desktop notifications. | ||
#- --talk-name=org.freedesktop.Notifications | ||
|
||
# Allowing access to the home directory as example. | ||
- --filesystem=home | ||
|
||
build-options: | ||
env: | ||
- GOBIN=/app/bin | ||
- GOROOT=/usr/lib/sdk/golang | ||
|
||
modules: | ||
- name: cycles | ||
buildsystem: simple | ||
build-commands: | ||
- $GOROOT/bin/go build -trimpath -o cycles | ||
- install -Dm00755 cycles $FLATPAK_DEST/bin/cycles | ||
- install -Dm00644 icon.png $FLATPAK_DEST/share/icons/hicolor/256x256/apps/$FLATPAK_ID.png | ||
- install -Dm00644 $FLATPAK_ID.desktop $FLATPAK_DEST/share/applications/$FLATPAK_ID.desktop | ||
- install -Dm00644 $FLATPAK_ID.appdata.xml $FLATPAK_DEST/share/appdata/$FLATPAK_ID.appdata.xml | ||
sources: | ||
- type: archive | ||
url: "https://github.com/fyne-io/cycles/archive/refs/tags/v1.3.0.tar.gz" | ||
sha256: a9d3b920404b3b699da757a9641ebc75cf43e35515dd9879622de33c6d104b63 # Update by running sha256sum on the file linked in the url. |