diff options
author | 2015-02-20 04:43:50 +0800 | |
---|---|---|
committer | 2015-02-20 04:43:50 +0800 | |
commit | 15761c4aa2e39fe6568f6e31107e930a0b749abe (patch) | |
tree | b2fb0ff2adc475b7bbf94f190fd31041ef2f8cad | |
parent | dev-libs/msgpack: add snapshot (diff) | |
download | yngwin-15761c4aa2e39fe6568f6e31107e930a0b749abe.tar.gz yngwin-15761c4aa2e39fe6568f6e31107e930a0b749abe.tar.bz2 yngwin-15761c4aa2e39fe6568f6e31107e930a0b749abe.zip |
app-editors/neovim: add snapshot
-rw-r--r-- | app-editors/neovim/Manifest | 1 | ||||
-rw-r--r-- | app-editors/neovim/neovim-0.0.0_pre20150220.ebuild | 43 | ||||
-rw-r--r-- | app-editors/neovim/neovim-9999.ebuild | 27 |
3 files changed, 62 insertions, 9 deletions
diff --git a/app-editors/neovim/Manifest b/app-editors/neovim/Manifest new file mode 100644 index 0000000..f1f5853 --- /dev/null +++ b/app-editors/neovim/Manifest @@ -0,0 +1 @@ +DIST neovim-0.0.0_pre20150220.tar.gz 7369794 SHA256 78b38d4f0e78b9438f54405aceea717dc08dd5e80d69996654bb2042a829351d SHA512 a9045b22e5e7c60d9a735c05d3a82002a92bc2305453b12b37d6f0f9f3c7317399e414b3606a4f34cc9c92080d32a299a6105560a860cda667c85dbe6a03a204 WHIRLPOOL aedd27ed23640362cbf8b4f7daa9182465397122e9e8a0b8af0e2b7adb9a8028fee1515745e9574d62c0f6256a0e842125f5688a4c185b4a1436410d032d2bc8 diff --git a/app-editors/neovim/neovim-0.0.0_pre20150220.ebuild b/app-editors/neovim/neovim-0.0.0_pre20150220.ebuild new file mode 100644 index 0000000..0580e56 --- /dev/null +++ b/app-editors/neovim/neovim-0.0.0_pre20150220.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI=5 +inherit cmake-utils flag-o-matic + +DESCRIPTION="Vim's rebirth for the 21st century" +HOMEPAGE="https://github.com/neovim/neovim" +if [[ ${PV} == 9999 ]]; then + inherit git-r3 + EGIT_REPO_URI="git://github.com/neovim/neovim.git" + KEYWORDS="" +else + inherit vcs-snapshot + COMMIT="866da6d65e5078ac5aa91af5b4e78caf07853379" + SRC_URI="https://github.com/${PN}/${PN}/tarball/${COMMIT} -> ${P}.tar.gz" + KEYWORDS="~amd64 ~x86" +fi + +LICENSE="Apache-2.0 vim" +SLOT="0" +IUSE="perl" + +CDEPEND="dev-lang/luajit + >=dev-libs/libtermkey-0.17 + >=dev-libs/unibilium-1.1.1 + >=dev-libs/libuv-1.2.0 + >=dev-libs/msgpack-0.6.0_pre20150220 + dev-lua/LuaBitOp + dev-lua/lpeg + dev-lua/lua-MessagePack" +DEPEND="${CDEPEND} + virtual/libiconv + virtual/libintl" +RDEPEND="${CDEPEND} + perl? ( dev-lang/perl )" + +src_configure() { + append-flags "-Wno-error -DNDEBUG -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1" + local mycmakeargs=( -DCMAKE_BUILD_TYPE=Release ) + cmake-utils_src_configure +} diff --git a/app-editors/neovim/neovim-9999.ebuild b/app-editors/neovim/neovim-9999.ebuild index 1266105..0580e56 100644 --- a/app-editors/neovim/neovim-9999.ebuild +++ b/app-editors/neovim/neovim-9999.ebuild @@ -1,31 +1,40 @@ -# Copyright 1999-2014 Gentoo Foundation +# Copyright 1999-2015 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ EAPI=5 -inherit cmake-utils flag-o-matic git-r3 +inherit cmake-utils flag-o-matic DESCRIPTION="Vim's rebirth for the 21st century" HOMEPAGE="https://github.com/neovim/neovim" -EGIT_REPO_URI="git://github.com/neovim/neovim.git" +if [[ ${PV} == 9999 ]]; then + inherit git-r3 + EGIT_REPO_URI="git://github.com/neovim/neovim.git" + KEYWORDS="" +else + inherit vcs-snapshot + COMMIT="866da6d65e5078ac5aa91af5b4e78caf07853379" + SRC_URI="https://github.com/${PN}/${PN}/tarball/${COMMIT} -> ${P}.tar.gz" + KEYWORDS="~amd64 ~x86" +fi LICENSE="Apache-2.0 vim" SLOT="0" -KEYWORDS="" -IUSE="" +IUSE="perl" -RDEPEND="dev-lang/luajit - dev-lang/perl +CDEPEND="dev-lang/luajit >=dev-libs/libtermkey-0.17 >=dev-libs/unibilium-1.1.1 >=dev-libs/libuv-1.2.0 - =dev-libs/msgpack-9999* + >=dev-libs/msgpack-0.6.0_pre20150220 dev-lua/LuaBitOp dev-lua/lpeg dev-lua/lua-MessagePack" -DEPEND="${RDEPEND} +DEPEND="${CDEPEND} virtual/libiconv virtual/libintl" +RDEPEND="${CDEPEND} + perl? ( dev-lang/perl )" src_configure() { append-flags "-Wno-error -DNDEBUG -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1" |