Skip to content

Commit

Permalink
Add app data file
Browse files Browse the repository at this point in the history
  • Loading branch information
bkmgit authored and ikskuh committed Jan 4, 2024
1 parent bafb15f commit d3756b3
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 0 deletions.
22 changes: 22 additions & 0 deletions Kristall.metainfo.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
<?xml version="1.0" encoding="UTF-8"?>
<component type="desktop">
<id>Kristall.desktop</id>
<metadata_license>CC0-1.0</metadata_license>
<project_license>GPL-3.0</project_license>
<name>Kristall</name>
<summary>A high-quality visual cross-platform gemini browser</summary>
<description>
<p>
Graphical small-internet client for windows, linux, MacOS X and BSDs.
Supports gemini, http, https, gopher, finger.
</p>
</description>
<screenshots>
<screenshot type="default">
<image>https://mq32.de/public/336ac416892fd9064593631e7be9f7d8e266196b.png</image>
</screenshot>
</screenshots>
<url type="homepage">https://kristall.random-projects.net/</url>
<url type="bugtracker">https://github.com/MasterQ32/kristall/issues</url>
<update_contact>kristall_at_mq32.de</update_contact>
</component>
4 changes: 4 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ install: kristall
$(MAKEDIR) $(sharedir)/icons/hicolor/128x128/apps/
$(MAKEDIR) $(sharedir)/applications/
$(MAKEDIR) $(sharedir)/mime/packages/
$(MAKEDIR) $(sharedir)/metainfo/
$(MAKEDIR) $(mandir)
$(MAKEDIR) $(bindir)

Expand All @@ -64,12 +65,15 @@ install: kristall
$(INSTALL_DATA) src/icons/kristall-128.png $(sharedir)/icons/hicolor/128x128/apps/net.random-projects.kristall.png
$(INSTALL_DATA) Kristall.desktop $(sharedir)/applications/Kristall.desktop
$(INSTALL_DATA) kristall-mime-info.xml $(sharedir)/mime/packages/kristall.xml
$(INSTALL_DATA) Kristall.metainfo.xml $(sharedir)/metainfo/Kristall.metainfo.xml
$(INSTALL_DATA) doc/kristall.1 $(mandir)/kristall.1
$(INSTALL_PROGRAM) kristall $(bindir)/kristall

uninstall:
# Remove the .desktop
rm -f $(sharedir)/applications/Kristall.desktop
# Remove appdata file
rm -f $(sharedir)/metainfo/Kristall.metainfo.xml
# Remove the mime entry
rm -f $(sharedir)/mime/packages/kristall.xml
# Remove the icons
Expand Down

0 comments on commit d3756b3

Please sign in to comment.