Desktop and metainfo

This commit is contained in:
Tracker-Friendly 2024-02-15 19:06:54 +00:00
parent f0d3c87dad
commit 5d8cb0f526
4 changed files with 56 additions and 0 deletions

View File

@ -1,5 +1,6 @@
CC = gcc
DESTDIR = /usr/bin
SHAREDIR = /usr/share
CFLAGS = -Wall -Wextra -g
PKG_CONFIG = pkg-config
GTK_LIBS = $(shell $(PKG_CONFIG) --libs gtk+-3.0)
@ -28,3 +29,8 @@ clean:
install: pageburger
mkdir -p $(DESTDIR)
cp pageburger $(DESTDIR)
mkdir -p $(SHAREDIR)/icons/hicolor/512x512/apps/
mkdir -p $(SHAREDIR)/applications/
cp pageburger.png $(SHAREDIR)/icons/hicolor/512x512/apps/
cp pageburger.desktop $(SHAREDIR)/applications/
cp org.hectabit.PageBurger.metainfo.xml $(SHAREDIR)/metainfo/

View File

@ -0,0 +1,43 @@
<?xml version="1.0" encoding="UTF-8"?>
<component type="desktop-application">
<id>org.hectabit.PageBurger</id>
<name>PageBurger</name>
<summary>Simple, private noting service</summary>
<metadata_license>MIT</metadata_license>
<project_license>GPL-3.0-or-later</project_license>
<supports>
<control>pointing</control>
<control>keyboard</control>
<control>touch</control>
</supports>
<description>
<p>
Simple and private noting service that syncs across all devices
</p>
</description>
<launchable type="desktop-id">org.hectabit.PageBurger.desktop</launchable>
<screenshots>
<screenshot type="default">
<image>https://www.hectabit.org/assets/img/screenshot.png</image>
</screenshot>
<screenshot>
<image>https://www.hectabit.org/assets/img/screenshot2.png</image>
</screenshot>
</screenshots>
<icon type="stock">pageburger</icon>
<categories>
<category>Office</category>
<category>WordProcessor</category>
</categories>
<provides>
<binary>pageburger</binary>
</provides>
</component>

7
pageburger.desktop Normal file
View File

@ -0,0 +1,7 @@
[Desktop Entry]
Type=Application
Name=PageBurger
Comment=Simple, private noting service
Icon=pageburger
Exec=pageburger
Categories=Office;WordProcessor

BIN
pageburger.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 25 KiB