From 640a8df59b0510211ff3e146c57849314d71b7fe Mon Sep 17 00:00:00 2001 From: Stephan Seitz Date: Mon, 30 Oct 2023 20:10:29 +0100 Subject: [PATCH] build: add appstream metadata file --- Makefile | 4 ++ .../com.github.Lyude.neovim-gtk.metainfo.xml | 37 +++++++++++++ .../com.github.Lyude.neovim-gtk.metainfo.yaml | 54 +++++++++++++++++++ 3 files changed, 95 insertions(+) create mode 100644 desktop/com.github.Lyude.neovim-gtk.metainfo.xml create mode 100644 desktop/com.github.Lyude.neovim-gtk.metainfo.yaml diff --git a/Makefile b/Makefile index b20222a7..b191a41c 100644 --- a/Makefile +++ b/Makefile @@ -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) diff --git a/desktop/com.github.Lyude.neovim-gtk.metainfo.xml b/desktop/com.github.Lyude.neovim-gtk.metainfo.xml new file mode 100644 index 00000000..ba8561c1 --- /dev/null +++ b/desktop/com.github.Lyude.neovim-gtk.metainfo.xml @@ -0,0 +1,37 @@ + + + + + com.github.Lyude.neovim-gtk + -neovim-gtk + neovim-gtk + GTK UI for neovim written in rust using gtk-rs bindings + +

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.

+

There are a very large number of improvements from @daa84's version, including: +

    +
  • Lots of bugfixes
  • +
  • We're fully ported to GTK4, and have a Snapshot based renderer instead of a cairo based renderer
  • +
  • Smooth resizing
  • +
+

+
+ GPL-3.0 + + neovim + vim + editor + + firefox.png + + network + web + + https://github.com/Lyude/neovim-gtk + + + https://raw.githubusercontent.com/Lyude/neovim-gtk/main/screenshots/neovimgtk-screen.png + + +
+
diff --git a/desktop/com.github.Lyude.neovim-gtk.metainfo.yaml b/desktop/com.github.Lyude.neovim-gtk.metainfo.yaml new file mode 100644 index 00000000..eb00dd79 --- /dev/null +++ b/desktop/com.github.Lyude.neovim-gtk.metainfo.yaml @@ -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: | +

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.

+

There are a very large number of improvements from @daa84's version, including: +

+

+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