Skip to content

Commit

Permalink
For testing only: add flatpak manifest
Browse files Browse the repository at this point in the history
  • Loading branch information
theHamsta committed Oct 28, 2023
1 parent 61a84b7 commit 9dcb3e4
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions com.github.Lyude.neovim-gtk.yaml
Original file line number Diff line number Diff line change
@@ -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
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/61a84b768f3798320c9e3b9f4b49e2132143e5c7.tar.gz
sha256: 35318a70ea6ea11b4c05136d88b91e634db6ac7d2883b1f1c3e80c3d8cf00a94

0 comments on commit 9dcb3e4

Please sign in to comment.