feat: add appstream metadata
This commit is contained in:
parent
4591eb85f4
commit
ab7cafd186
2 changed files with 66 additions and 1 deletions
58
data/com.system76.CosmicApplets.metainfo.xml
Normal file
58
data/com.system76.CosmicApplets.metainfo.xml
Normal file
|
|
@ -0,0 +1,58 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<component type="desktop-application">
|
||||
<id>com.system76.CosmicApplets</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>ashley@system76.com</update_contact>
|
||||
<url type="homepage">https://github.com/pop-os/cosmic-applets</url>
|
||||
<url type="bugtracker">https://github.com/pop-os/cosmic-applets</url>
|
||||
<name>COSMIC Applets</name>
|
||||
<summary>Applets for the COSMIC panel</summary>
|
||||
<description>
|
||||
<p>Applets for the COSMIC panel</p>
|
||||
</description>
|
||||
<launchable type="desktop-id">com.system76.CosmicAppletAppList.desktop</launchable>
|
||||
<launchable type="desktop-id">com.system76.CosmicAppletAudio.desktop</launchable>
|
||||
<launchable type="desktop-id">com.system76.CosmicAppletBattery.desktop</launchable>
|
||||
<launchable type="desktop-id">com.system76.CosmicAppletBluetooth.desktop</launchable>
|
||||
<launchable type="desktop-id">com.system76.CosmicAppletInputSources.desktop</launchable>
|
||||
<launchable type="desktop-id">com.system76.CosmicAppletMinimize.desktop</launchable>
|
||||
<launchable type="desktop-id">com.system76.CosmicAppletNetwork.desktop</launchable>
|
||||
<launchable type="desktop-id">com.system76.CosmicAppletNotifications.desktop</launchable>
|
||||
<launchable type="desktop-id">com.system76.CosmicAppletPower.desktop</launchable>
|
||||
<launchable type="desktop-id">com.system76.CosmicAppletStatusArea.desktop</launchable>
|
||||
<launchable type="desktop-id">com.system76.CosmicAppletTiling.desktop</launchable>
|
||||
<launchable type="desktop-id">com.system76.CosmicAppletTime.desktop</launchable>
|
||||
<launchable type="desktop-id">com.system76.CosmicAppletWorkspaces.desktop</launchable>
|
||||
<launchable type="desktop-id">com.system76.CosmicAppletAppButton.desktop</launchable>
|
||||
<launchable type="desktop-id">com.system76.CosmicAppletWorkspacesButton.desktop</launchable>
|
||||
<launchable type="desktop-id">com.system76.CosmicAppletLauncherButton.desktop</launchable>
|
||||
<launchable type="desktop-id">com.system76.CosmicApplet.desktop</launchable>
|
||||
<icon type="remote" width="256" height="256">https://raw.githubusercontent.com/pop-os/cosmic-applets/master/cosmic-app-list/data/icons/scalable/apps/com.system76.CosmicAppList.svg</icon>
|
||||
<screenshots>
|
||||
</screenshots>
|
||||
<provides>
|
||||
<id>com.system76.CosmicApplet</id>
|
||||
<mimetypes>
|
||||
<mimetype>text/plain</mimetype>
|
||||
</mimetypes>
|
||||
<binaries>
|
||||
<binary>cosmic-app-list</binary>
|
||||
<binary>cosmic-applet-audio</binary>
|
||||
<binary>cosmic-applet-battery</binary>
|
||||
<binary>cosmic-applet-bluetooth</binary>
|
||||
<binary>cosmic-applet-cosmic-panel-button</binary>
|
||||
<binary>cosmic-applet-input-sources</binary>
|
||||
<binary>cosmic-applet-minimize</binary>
|
||||
<binary>cosmic-applet-network</binary>
|
||||
<binary>cosmic-applet-notifications</binary>
|
||||
<binary>cosmic-applet-power</binary>
|
||||
<binary>cosmic-applet-status-area</binary>
|
||||
<binary>cosmic-applet-tiling</binary>
|
||||
<binary>cosmic-applet-time</binary>
|
||||
<binary>cosmic-applet-workspaces</binary>
|
||||
</binaries>
|
||||
</provides>
|
||||
</component>
|
||||
9
justfile
9
justfile
|
|
@ -17,6 +17,10 @@ default-schema-target := sharedir / 'cosmic'
|
|||
|
||||
cosmic-applets-bin := prefixdir / 'cosmic-applets'
|
||||
|
||||
metainfo := 'com.system76.CosmicApplets.metainfo.xml'
|
||||
metainfo-src := 'data' / metainfo
|
||||
metainfo-dst := clean(rootdir / prefix) / 'share' / 'metainfo' / metainfo
|
||||
|
||||
default: build-release
|
||||
|
||||
# Compiles with debug profile
|
||||
|
|
@ -50,8 +54,11 @@ _install_applet id name: (_install_icons name) \
|
|||
|
||||
_install_button id name: (_install_icons name) (_install_desktop name + '/data/' + id + '.desktop')
|
||||
|
||||
_install_metainfo:
|
||||
install -Dm0644 {{metainfo-src}} {{metainfo-dst}}
|
||||
|
||||
# Installs files into the system
|
||||
install: (_install_bin 'cosmic-applets') (_link_applet 'cosmic-panel-button') (_install_applet 'com.system76.CosmicAppList' 'cosmic-app-list') (_install_default_schema 'cosmic-app-list') (_install_applet 'com.system76.CosmicAppletAudio' 'cosmic-applet-audio') (_install_applet 'com.system76.CosmicAppletInputSources' 'cosmic-applet-input-sources') (_install_applet 'com.system76.CosmicAppletBattery' 'cosmic-applet-battery') (_install_applet 'com.system76.CosmicAppletBluetooth' 'cosmic-applet-bluetooth') (_install_applet 'com.system76.CosmicAppletMinimize' 'cosmic-applet-minimize') (_install_applet 'com.system76.CosmicAppletNetwork' 'cosmic-applet-network') (_install_applet 'com.system76.CosmicAppletNotifications' 'cosmic-applet-notifications') (_install_applet 'com.system76.CosmicAppletPower' 'cosmic-applet-power') (_install_applet 'com.system76.CosmicAppletStatusArea' 'cosmic-applet-status-area') (_install_applet 'com.system76.CosmicAppletTiling' 'cosmic-applet-tiling') (_install_applet 'com.system76.CosmicAppletTime' 'cosmic-applet-time') (_install_applet 'com.system76.CosmicAppletWorkspaces' 'cosmic-applet-workspaces') (_install_button 'com.system76.CosmicPanelAppButton' 'cosmic-panel-app-button') (_install_button 'com.system76.CosmicPanelLauncherButton' 'cosmic-panel-launcher-button') (_install_button 'com.system76.CosmicPanelWorkspacesButton' 'cosmic-panel-workspaces-button')
|
||||
install: (_install_bin 'cosmic-applets') (_link_applet 'cosmic-panel-button') (_install_applet 'com.system76.CosmicAppList' 'cosmic-app-list') (_install_default_schema 'cosmic-app-list') (_install_applet 'com.system76.CosmicAppletAudio' 'cosmic-applet-audio') (_install_applet 'com.system76.CosmicAppletInputSources' 'cosmic-applet-input-sources') (_install_applet 'com.system76.CosmicAppletBattery' 'cosmic-applet-battery') (_install_applet 'com.system76.CosmicAppletBluetooth' 'cosmic-applet-bluetooth') (_install_applet 'com.system76.CosmicAppletMinimize' 'cosmic-applet-minimize') (_install_applet 'com.system76.CosmicAppletNetwork' 'cosmic-applet-network') (_install_applet 'com.system76.CosmicAppletNotifications' 'cosmic-applet-notifications') (_install_applet 'com.system76.CosmicAppletPower' 'cosmic-applet-power') (_install_applet 'com.system76.CosmicAppletStatusArea' 'cosmic-applet-status-area') (_install_applet 'com.system76.CosmicAppletTiling' 'cosmic-applet-tiling') (_install_applet 'com.system76.CosmicAppletTime' 'cosmic-applet-time') (_install_applet 'com.system76.CosmicAppletWorkspaces' 'cosmic-applet-workspaces') (_install_button 'com.system76.CosmicPanelAppButton' 'cosmic-panel-app-button') (_install_button 'com.system76.CosmicPanelLauncherButton' 'cosmic-panel-launcher-button') (_install_button 'com.system76.CosmicPanelWorkspacesButton' 'cosmic-panel-workspaces-button') (_install_metainfo)
|
||||
|
||||
# Vendor Cargo dependencies locally
|
||||
vendor:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue