From c7d218bedaa594d4d24a4012b1a1c096f53213e8 Mon Sep 17 00:00:00 2001 From: Julian Ospald Date: Thu, 14 Jun 2018 00:32:00 +0200 Subject: [PATCH] app-editors/neovim-gtk: initial import --- metadata/repository_mask.conf | 1 + .../neovim-gtk/neovim-gtk-0.1.1.exheres-0 | 17 ++++++++++++++ .../neovim-gtk/neovim-gtk-scm.exheres-0 | 22 +++++++++++++++++++ .../app-editors/neovim-gtk/neovim-gtk.exlib | 20 +++++++++++++++++ 4 files changed, 60 insertions(+) create mode 100644 packages/app-editors/neovim-gtk/neovim-gtk-0.1.1.exheres-0 create mode 100644 packages/app-editors/neovim-gtk/neovim-gtk-scm.exheres-0 create mode 100644 packages/app-editors/neovim-gtk/neovim-gtk.exlib diff --git a/metadata/repository_mask.conf b/metadata/repository_mask.conf index 999f13f9..6a079006 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 00000000..85cecd3f --- /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 00000000..5f13d174 --- /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 00000000..fba3e0ea --- /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" +} +