diff options
author | Ole Reifschneider <tranquility@gentoo.org> | 2016-02-17 08:01:51 +0100 |
---|---|---|
committer | Ole Reifschneider <tranquility@gentoo.org> | 2016-02-17 08:02:37 +0100 |
commit | 2b281bd2ff113ea44e69a65aabbb89b3e6be31b7 (patch) | |
tree | 6069a626ddfd3422f7b2797af4d3d805baace0ae /app-editors | |
parent | dev-python/pysnmp-mibs: Add netmon as maintainer (diff) | |
download | gentoo-2b281bd2ff113ea44e69a65aabbb89b3e6be31b7.tar.gz gentoo-2b281bd2ff113ea44e69a65aabbb89b3e6be31b7.tar.bz2 gentoo-2b281bd2ff113ea44e69a65aabbb89b3e6be31b7.zip |
app-editors/neovim: Bump version to 0.1.2
Package-Manager: portage-2.2.27
Diffstat (limited to 'app-editors')
-rw-r--r-- | app-editors/neovim/Manifest | 1 | ||||
-rw-r--r-- | app-editors/neovim/neovim-0.1.2.ebuild | 78 |
2 files changed, 79 insertions, 0 deletions
diff --git a/app-editors/neovim/Manifest b/app-editors/neovim/Manifest index ebbad181c973..9c962eec965c 100644 --- a/app-editors/neovim/Manifest +++ b/app-editors/neovim/Manifest @@ -1,2 +1,3 @@ DIST neovim-0.1.0.tar.gz 7644722 SHA256 e8659558103b8f5a65aac84007a12e3581b32736321778028017fd07365cfff8 SHA512 b91e5ce5561155ecb3554f56fd4371219612ed3bc35dfeb60a225eb1dbe1473fce5f573eb996bdb01fd9569f764da86493108665c98dc7555fc44f410befb00a WHIRLPOOL 33d7b88588c214ddc670a7b3cffcfd855699e90b15c5e327ac0c17972fddb73bd519b1a8eb609f8454d6c463f18764f17bc1314b6b27448c5ac4607cdbce1551 DIST neovim-0.1.1.tar.gz 7584560 SHA256 f39bcab23457c66ce0d67dcf8029743703f860413db0070f75d4f0ffad27c6c1 SHA512 7098bef9b81862f009789cff49a063d56d52d2f5c74e2fe68ad65c952c61c07eabeb6be150b369a5a179957f20187de3051caaa30b1e0cb4ec1e9e49b4e77333 WHIRLPOOL 9df0d6d59bdda2def2d8a393eec579f341256aff18c485cbb08c96637c597ee4df73a68a09105e776605194412274df2c82b78f7ca0e0bc1e20d4780fcdfa57f +DIST neovim-0.1.2.tar.gz 7610804 SHA256 549881465eff82454660ae92d857d6ffa22383d45c94c46f3753fd1b0e699247 SHA512 dc03d92ff296f3ff55225d514479f1ac201a5a65eb8a6c02e71935ca44feb8ab15897b26a2ea46e53771f902c57b027d07e02f95673268ee060c6b77c4aa90e4 WHIRLPOOL ef1253249120c89c6efc15520263c889a9972df0c11e9353dedeee112c46ee9b92355fa3dabdf2d15cb7d0416681d1c8b55a9c02266048154f3afe104fdf4ff9 diff --git a/app-editors/neovim/neovim-0.1.2.ebuild b/app-editors/neovim/neovim-0.1.2.ebuild new file mode 100644 index 000000000000..fdc0c7e45843 --- /dev/null +++ b/app-editors/neovim/neovim-0.1.2.ebuild @@ -0,0 +1,78 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 +inherit cmake-utils flag-o-matic + +DESCRIPTION="Vim-fork focused on extensibility and agility." +HOMEPAGE="https://neovim.io" +if [[ ${PV} == 9999 ]]; then + inherit git-r3 + EGIT_REPO_URI="git://github.com/neovim/neovim.git" +else + SRC_URI="https://github.com/neovim/neovim/archive/v${PV}.tar.gz -> ${P}.tar.gz" + KEYWORDS="~amd64 ~x86" +fi + +LICENSE="Apache-2.0 vim" +SLOT="0" +IUSE="+nvimpager perl python +jemalloc" + +CDEPEND="dev-lang/luajit:2 + >=dev-libs/libtermkey-0.17 + >=dev-libs/libuv-1.2.0 + >=dev-libs/msgpack-1.0.0 + >=dev-libs/unibilium-1.1.1 + dev-libs/libvterm + dev-lua/lpeg + dev-lua/messagepack + jemalloc? ( dev-libs/jemalloc ) +" +DEPEND="${CDEPEND} + virtual/libiconv + virtual/libintl" +RDEPEND="${CDEPEND} + perl? ( dev-lang/perl ) + python? ( dev-python/neovim-python-client )" + +CMAKE_BUILD_TYPE=RelWithDebInfo + +src_prepare() { + # use our system vim dir + sed -e '/^# define SYS_VIMRC_FILE/s|$VIM|'"${EPREFIX}"'/etc/vim|' \ + -i src/nvim/globals.h || die + + # add eclass to bash filetypes + sed -e 's|*.ebuild|*.ebuild,*.eclass|' -i runtime/filetype.vim || die + + # make less.sh macro actually work with neovim + sed -e 's|vim |nvim |g' -i runtime/macros/less.sh || die + + cmake-utils_src_prepare +} + +src_configure() { + export USE_BUNDLED_DEPS=OFF + append-cflags "-Wno-error" + local mycmakeargs=( + $(cmake-utils_use_enable jemalloc JEMALLOC) + -DLIBUNIBILIUM_USE_STATIC=OFF + -DLIBTERMKEY_USE_STATIC=OFF + -DLIBVTERM_USE_STATIC=OFF + ) + cmake-utils_src_configure +} + +src_install() { + cmake-utils_src_install + + # install a default configuration file + insinto /etc/vim + doins "${FILESDIR}"/sysinit.vim + + # conditionally install a symlink for nvimpager + if use nvimpager; then + dosym /usr/share/nvim/runtime/macros/less.sh /usr/bin/nvimpager + fi +} |