docs(readme): add Made for COSMIC Flatpak section

This commit is contained in:
Michael Aaron Murphy 2026-05-13 16:14:34 +02:00
parent 4fab6c777d
commit 2aa9133f9d
No known key found for this signature in database
GPG key ID: B2732D4240C9212C

View file

@ -20,6 +20,24 @@ While libcosmic is written entirely in Rust, some of its dependencies may requir
sudo apt install cargo cmake just libexpat1-dev libfontconfig-dev libfreetype-dev libxkbcommon-dev pkgconf
```
## Made-for-COSMIC Flatpak IDs
To identify a project as a COSMIC Application, add `<id>com.system76.CosmicApplication</id>` to the provides section of the project's metainfo.
```xml
<provides>
<id>com.system76.CosmicApplication</id>
</provides>
```
For COSMIC Applets, use `com.system76.CosmicApplet`.
```xml
<provides>
<id>com.system76.CosmicApplet</id>
</provides>
```
## Examples
Some examples are included in the [examples](./examples) directory to to kickstart your