Skip to content

Commit

Permalink
build: add appstream metadata file
Browse files Browse the repository at this point in the history
  • Loading branch information
theHamsta committed Oct 30, 2023
1 parent 61a84b7 commit 640a8df
Show file tree
Hide file tree
Showing 3 changed files with 95 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,10 @@ run:
install: install-resources
cargo install $(CARGO_ARGS) --path . --force --root $(DESTDIR)$(PREFIX)

install-flatpak: install
mkdir -p /usr/share/swcatalog/yaml
cp desktop/com.github.Lyude.neovim-gtk.metainfo.yaml /app/share/metainfo/

install-debug: install-resources
cargo install $(CARGO_ARGS) --debug --path . --force --root $(DESTDIR)$(PREFIX)

Expand Down
37 changes: 37 additions & 0 deletions desktop/com.github.Lyude.neovim-gtk.metainfo.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
<?xml version="1.0"?>
<!-- Following https://www.freedesktop.org/software/appstream/docs/chap-CatalogData.html -->
<components version="0.10">
<component type="desktop-application">
<id>com.github.Lyude.neovim-gtk</id>
<pkgname>-neovim-gtk</pkgname>
<name>neovim-gtk</name>
<summary>GTK UI for neovim written in rust using gtk-rs bindings</summary>
<description>
<p>GTK ui for neovim written in rust using gtk-rs bindings. With ligatures support. This project began as a fork of @daa84's neovim-gtk.</p>
<p>There are a very large number of improvements from @daa84's version, including:
<ul>
<li>Lots of bugfixes</li>
<li>We're fully ported to GTK4, and have a Snapshot based renderer instead of a cairo based renderer</li>
<li>Smooth resizing</li>
</ul>
</p>
</description>
<project_license>GPL-3.0</project_license>
<keywords>
<keyword>neovim</keyword>
<keyword>vim</keyword>
<keyword>editor</keyword>
</keywords>
<icon type="cached">firefox.png</icon>
<categories>
<category>network</category>
<category>web</category>
</categories>
<url type="homepage">https://github.com/Lyude/neovim-gtk</url>
<screenshots>
<screenshot type="default">
<image type="source" width="916" height="668">https://raw.githubusercontent.com/Lyude/neovim-gtk/main/screenshots/neovimgtk-screen.png</image>
</screenshot>
</screenshots>
</component>
</components>
54 changes: 54 additions & 0 deletions desktop/com.github.Lyude.neovim-gtk.metainfo.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
# Following https://www.freedesktop.org/software/appstream/docs/sect-AppStream-YAML.html
---
File: DEP-11
Version: '0.8'
Origin: chromodoris-main
MediaBaseUrl: https://raw.githubusercontent.com/Lyude/neovim-gtk/main/
---
ID: com.github.Lyude.neovim-gtk
Type: desktop-application
Package: neovim-gtk
Name:
C: neovim-gtk
Summary:
C: GTK UI for neovim written in rust using gtk-rs bindings
Description:
C: |
<p>GTK ui for neovim written in rust using gtk-rs bindings. With ligatures support. This project began as a fork of @daa84's neovim-gtk.</p>
<p>There are a very large number of improvements from @daa84's version, including:
<ul>
<li>Lots of bugfixes</li>
<li>We're fully ported to GTK4, and have a Snapshot based renderer instead of a cairo based renderer</li>
<li>Smooth resizing</li>
</ul>
</p>
Icon:
cached: desktop/com.github.Lyude.neovim-gtk_128.png
Keywords:
C:
- editor
- neovim
ProjectLicense: GPL-3.0
Url:
homepage: https://github.com/Lyude/neovim-gtk
Categories:
- Development
#Provides:
#mediatypes:
#- text/x-tex
Screenshots:
- default: true
source-image:
height: 668
url: screenshots/neovimgtk-screen.png
width: 916
#thumbnails:
#- height: 423
#url: texstudio_2.8.4+debian-3_amd64/screenshots/752x423/screenshot-1.png
#width: 752
#- height: 351
#url: texstudio_2.8.4+debian-3_amd64/screenshots/624x351/screenshot-1.png
#width: 624
#- height: 63
#url: texstudio_2.8.4+debian-3_amd64/screenshots/112x63/screenshot-1.png
#width: 112

0 comments on commit 640a8df

Please sign in to comment.