diff --git a/Makefile b/Makefile
index b20222a7..44253ce5 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 /app/share/metainfo/
+ cp desktop/com.github.Lyude.neovim-gtk.metainfo.xml /app/share/metainfo/
+
install-debug: install-resources
cargo install $(CARGO_ARGS) --debug --path . --force --root $(DESTDIR)$(PREFIX)
diff --git a/com.github.Lyude.neovim-gtk.yaml b/com.github.Lyude.neovim-gtk.yaml
new file mode 100644
index 00000000..b5ee2d14
--- /dev/null
+++ b/com.github.Lyude.neovim-gtk.yaml
@@ -0,0 +1,32 @@
+app-id: com.github.Lyude.neovim-gtk
+runtime: org.gnome.Platform
+runtime-version: '45'
+sdk: org.gnome.Sdk
+sdk-extensions:
+- org.freedesktop.Sdk.Extension.rust-stable
+command: nvim-gtk
+finish-args:
+- --share=ipc
+- --socket=fallback-x11
+- --socket=wayland
+- --device=dri
+- --socket=session-bus # for `flatpak-spawn --host nvim`
+build-options:
+ append-path: "/usr/lib/sdk/rust-stable/bin"
+ build-args:
+ - "--share=network" # for cargo fetching dependencies
+ env:
+ CARGO_HOME: "/run/build/neovim-gtk" # for caching
+ CARGO_ARGS: "--features flatpak"
+ PREFIX: "/app"
+modules:
+- name: neovim-gtk
+ buildsystem: simple
+ build-commands:
+ - make install-flatpak
+ sources:
+ - type: archive
+ #url: https://github.com/Lyude/neovim-gtk/archive/refs/tags/v1.0.4.tar.gz
+ #sha256: d0d0dacfbfca16168361f517dee20259785379910173cc33d7d48bd301d30f18
+ url: https://github.com/Lyude/neovim-gtk/archive/3739f961d28d2a7c98b1fd8be912fc4bb9d9d216.tar.gz
+ sha256: 78f0a12bdbf5d085fdbc0a57d877b695c5ae4873d036dd5e190141a927da2819
diff --git a/desktop/com.github.Lyude.neovim-gtk-symbolic.svg b/desktop/com.github.Lyude.neovim-gtk-symbolic.svg
index 3cc09cba..5bc45a4e 100644
--- a/desktop/com.github.Lyude.neovim-gtk-symbolic.svg
+++ b/desktop/com.github.Lyude.neovim-gtk-symbolic.svg
@@ -13,7 +13,7 @@
viewBox="0 0 212.20267 212.20267"
version="1.1"
id="svg27"
- sodipodi:docname="org.daa.NeovimGtk-symbolic.svg"
+ sodipodi:docname="com.github.Lyude.neovim-gtk-symbolic.svg"
inkscape:version="0.92.3 (2405546, 2018-03-11)">
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:
+
+
+