aboutsummaryrefslogtreecommitdiff
blob: dee1bc58db3b4bdd5d005e6b393d8a27570c293a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $

EAPI=5

inherit cmake-utils flag-o-matic

if [ "${PV}" = "9999" ]; then
	EGIT_REPO_URI="git://github.com/neovim/neovim.git"
	inherit git-r3
	KEYWORDS=""
else
	SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
	KEYWORDS="~amd64"
fi

DESCRIPTION="Vim's rebirth for the 21st century"
HOMEPAGE="https://github.com/neovim/neovim"

LICENSE="vim"
SLOT="0"
KEYWORDS=""
IUSE=""

src_configure()  {
	append-flags "-DNDEBUG -Wno-error -D_FORTIFY_SOURCE=1"
	cmake-utils_src_configure
}

RDEPEND="app-admin/eselect-vi
	sys-libs/ncurses"
DEPEND="${RDEPEND}
	dev-lang/luajit
	>=dev-libs/libuv-0.11.19
	dev-lua/lpeg
	dev-lua/cmsgpack"