diff --git a/metadata/repository_mask.conf b/metadata/repository_mask.conf index 999f13f..6a07900 100644 --- a/metadata/repository_mask.conf +++ b/metadata/repository_mask.conf @@ -1,4 +1,5 @@ ( + app-editors/neovim-gtk[~scm] dev-lang/fsharp[~scm] dev-lang/fstar[~scm] dev-python/pytype[~scm] diff --git a/packages/app-editors/neovim-gtk/neovim-gtk-0.1.1.exheres-0 b/packages/app-editors/neovim-gtk/neovim-gtk-0.1.1.exheres-0 new file mode 100644 index 0000000..85cecd3 --- /dev/null +++ b/packages/app-editors/neovim-gtk/neovim-gtk-0.1.1.exheres-0 @@ -0,0 +1,17 @@ +# Copyright 2018 Julian Ospald +# Distributed under the terms of the GNU General Public License v2 + +require neovim-gtk + +SLOT="0" +PLATFORMS="~amd64 ~x86" + +DEPENDENCIES=" + build+run: + app-editors/neovim + dev-libs/glib:2 + x11-libs/cairo + x11-libs/gtk+:3[>=3.10.0] + x11-libs/pango +" + diff --git a/packages/app-editors/neovim-gtk/neovim-gtk-scm.exheres-0 b/packages/app-editors/neovim-gtk/neovim-gtk-scm.exheres-0 new file mode 100644 index 0000000..5f13d17 --- /dev/null +++ b/packages/app-editors/neovim-gtk/neovim-gtk-scm.exheres-0 @@ -0,0 +1,22 @@ +# Copyright 2018 Julian Ospald +# Distributed under the terms of the GNU General Public License v2 + +require neovim-gtk + +DOWNLOADS="" + +SLOT="0" +PLATFORMS="~amd64 ~x86" + +DEPENDENCIES=" + build+run: + app-editors/neovim + dev-libs/glib:2 + x11-libs/cairo + x11-libs/gtk+:3[>=3.22.0] + x11-libs/pango[>=1.38] +" + +src_unpack() { + cargo_src_unpack +} diff --git a/packages/app-editors/neovim-gtk/neovim-gtk.exlib b/packages/app-editors/neovim-gtk/neovim-gtk.exlib new file mode 100644 index 0000000..fba3e0e --- /dev/null +++ b/packages/app-editors/neovim-gtk/neovim-gtk.exlib @@ -0,0 +1,20 @@ +# Copyright 2018 Julian Ospald +# Distributed under the terms of the GNU General Public License v2 + +require desktop-utils +require cargo [ channel=stable ] +require github [ user=daa84 tag="v${PV}" ] + +SUMMARY="Gtk ui for neovim" +HOMEPAGE="https://github.com/daa84/neovim-gtk ${HOMEPAGE}" + +LICENCES="GPL-3.0" +MYOPTIONS="" + +BUGS_TO="hasufell@posteo.de" + +src_install() { + ecargo_install + install_desktop_entry Exec="nvim-gtk" +} +