1 |
commit: eae33cfc0c52caa91d4137def8c42fd30b3a3c49 |
2 |
Author: Bernardo Meurer <meurerbernardo <AT> gmail <DOT> com> |
3 |
AuthorDate: Tue Aug 6 20:39:25 2019 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Sep 20 08:00:19 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=eae33cfc |
7 |
|
8 |
app-editors/neovim: add neovim-0.3.8 |
9 |
|
10 |
Closes: https://bugs.gentoo.org/691624 |
11 |
Package-Manager: Portage-2.3.71, Repoman-2.3.17 |
12 |
Signed-off-by: Bernardo Meurer <bernardo <AT> standard.ai> |
13 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
14 |
|
15 |
app-editors/neovim/Manifest | 1 + |
16 |
app-editors/neovim/neovim-0.3.8.ebuild | 96 ++++++++++++++++++++++++++++++++++ |
17 |
2 files changed, 97 insertions(+) |
18 |
|
19 |
diff --git a/app-editors/neovim/Manifest b/app-editors/neovim/Manifest |
20 |
index 456afbf0ac5..45f4e564b40 100644 |
21 |
--- a/app-editors/neovim/Manifest |
22 |
+++ b/app-editors/neovim/Manifest |
23 |
@@ -1,2 +1,3 @@ |
24 |
DIST neovim-0.3.4.tar.gz 9231575 BLAKE2B 92e727264442794ae27642451c90381262f9882e26d9865a2ff6c1bc4060b070ab49cd11194c3a88dafecda5bc1909963b2cc8b382198dc7c117ba056b7a4ebe SHA512 fbf22ccffbb36c082bfe9a66b3d0180a78581102732a44ab7a5417aef517c88b69406491854613a1cf347ddab6fc6e277f959887556d2c0068cf181e4d88c36b |
25 |
DIST neovim-0.3.7.tar.gz 9231661 BLAKE2B 6eade77f8654bc95170f4c052c5700a6ad42aff920889bf4036e6ff931cdeeabb908aeedb44e68efca3500beb797cf2361e09d85456a2c17431e005a64bafff4 SHA512 1d770a4643a44da65f0a03c90e18e89f337b16ec3eca20dbffa21bcab10c836062ef82974437b64bd766f7b07317cd3dc8e3e72b9d5d0911b1d4f2c528cd20c2 |
26 |
+DIST neovim-0.3.8.tar.gz 9233661 BLAKE2B 252a64d2ac5ca1f8e1695d3f0f694ac333d9d9179dc4c428a279534e455de4b8d2c0dc6e638f775bb28a940fc1254bad426f7cee1bffaa2dbf84deefe49d41dc SHA512 431d3df859b430570e3f927328b862945a15b1ac041108599670d32af6cccac9361a143fc6af27847529629a43a5e0a0afd98b1c826d4ee1e7570de3cf14f9c7 |
27 |
|
28 |
diff --git a/app-editors/neovim/neovim-0.3.8.ebuild b/app-editors/neovim/neovim-0.3.8.ebuild |
29 |
new file mode 100644 |
30 |
index 00000000000..b22a6a5ca7c |
31 |
--- /dev/null |
32 |
+++ b/app-editors/neovim/neovim-0.3.8.ebuild |
33 |
@@ -0,0 +1,96 @@ |
34 |
+# Copyright 1999-2019 Gentoo Authors |
35 |
+# Distributed under the terms of the GNU General Public License v2 |
36 |
+ |
37 |
+EAPI=7 |
38 |
+ |
39 |
+inherit cmake-utils xdg-utils |
40 |
+ |
41 |
+DESCRIPTION="Vim-fork focused on extensibility and agility" |
42 |
+HOMEPAGE="https://neovim.io" |
43 |
+ |
44 |
+if [[ ${PV} == 9999 ]]; then |
45 |
+ inherit git-r3 |
46 |
+ EGIT_REPO_URI="https://github.com/neovim/neovim.git" |
47 |
+else |
48 |
+ SRC_URI="https://github.com/neovim/neovim/archive/v${PV}.tar.gz -> ${P}.tar.gz" |
49 |
+ KEYWORDS="~amd64 ~arm ~x86" |
50 |
+fi |
51 |
+ |
52 |
+LICENSE="Apache-2.0 vim" |
53 |
+SLOT="0" |
54 |
+IUSE="+clipboard +luajit +nvimpager python remote ruby +tui +jemalloc" |
55 |
+ |
56 |
+BDEPEND=" |
57 |
+ dev-util/gperf |
58 |
+ virtual/libiconv |
59 |
+ virtual/libintl |
60 |
+ virtual/pkgconfig |
61 |
+" |
62 |
+ |
63 |
+DEPEND=" |
64 |
+ dev-libs/libuv:0= |
65 |
+ <dev-libs/libvterm-0.1 |
66 |
+ dev-libs/msgpack:0= |
67 |
+ dev-lua/lpeg[luajit=] |
68 |
+ dev-lua/mpack[luajit=] |
69 |
+ net-libs/libnsl |
70 |
+ jemalloc? ( dev-libs/jemalloc ) |
71 |
+ luajit? ( dev-lang/luajit:2 ) |
72 |
+ !luajit? ( |
73 |
+ dev-lang/lua:= |
74 |
+ dev-lua/LuaBitOp |
75 |
+ ) |
76 |
+ tui? ( |
77 |
+ dev-libs/libtermkey |
78 |
+ >=dev-libs/unibilium-2.0.0:0= |
79 |
+ ) |
80 |
+" |
81 |
+ |
82 |
+RDEPEND=" |
83 |
+ ${DEPEND} |
84 |
+ app-eselect/eselect-vi |
85 |
+ python? ( dev-python/neovim-python-client ) |
86 |
+ ruby? ( dev-ruby/neovim-ruby-client ) |
87 |
+ remote? ( dev-python/neovim-remote ) |
88 |
+ clipboard? ( || ( x11-misc/xsel x11-misc/xclip ) ) |
89 |
+" |
90 |
+ |
91 |
+CMAKE_BUILD_TYPE=Release |
92 |
+ |
93 |
+src_prepare() { |
94 |
+ # use our system vim dir |
95 |
+ sed -e "/^# define SYS_VIMRC_FILE/s|\$VIM|${EPREFIX}/etc/vim|" \ |
96 |
+ -i src/nvim/globals.h || die |
97 |
+ |
98 |
+ cmake-utils_src_prepare |
99 |
+} |
100 |
+ |
101 |
+src_configure() { |
102 |
+ local mycmakeargs=( |
103 |
+ -DFEAT_TUI=$(usex tui) |
104 |
+ -DENABLE_JEMALLOC=$(usex jemalloc) |
105 |
+ -DPREFER_LUA=$(usex luajit no yes) |
106 |
+ ) |
107 |
+ cmake-utils_src_configure |
108 |
+} |
109 |
+ |
110 |
+src_install() { |
111 |
+ cmake-utils_src_install |
112 |
+ |
113 |
+ # install a default configuration file |
114 |
+ insinto /etc/vim |
115 |
+ doins "${FILESDIR}"/sysinit.vim |
116 |
+ |
117 |
+ # conditionally install a symlink for nvimpager |
118 |
+ if use nvimpager; then |
119 |
+ dosym ../share/nvim/runtime/macros/less.sh /usr/bin/nvimpager |
120 |
+ fi |
121 |
+} |
122 |
+ |
123 |
+pkg_postinst() { |
124 |
+ xdg_desktop_database_update |
125 |
+} |
126 |
+ |
127 |
+pkg_postrm() { |
128 |
+ xdg_desktop_database_update |
129 |
+} |