diff options
author | 2015-02-23 16:09:40 +0800 | |
---|---|---|
committer | 2015-02-23 16:09:40 +0800 | |
commit | 44113aad80a45f31052cf70ea36455537a1049fb (patch) | |
tree | 8308fb785e85cdd9b80a01f05f2c12bea739aff5 /app-editors | |
parent | neovim and related updates after review (diff) | |
download | yngwin-44113aad80a45f31052cf70ea36455537a1049fb.tar.gz yngwin-44113aad80a45f31052cf70ea36455537a1049fb.tar.bz2 yngwin-44113aad80a45f31052cf70ea36455537a1049fb.zip |
neovim and deps updates from suggestions
Diffstat (limited to 'app-editors')
-rw-r--r-- | app-editors/neovim/Manifest | 3 | ||||
-rw-r--r-- | app-editors/neovim/neovim-0.0.0_pre20150223.ebuild (renamed from app-editors/neovim/neovim-0.0.0_pre20150221.ebuild) | 14 | ||||
-rw-r--r-- | app-editors/neovim/neovim-9999.ebuild | 14 |
3 files changed, 17 insertions, 14 deletions
diff --git a/app-editors/neovim/Manifest b/app-editors/neovim/Manifest index 9eaf903..da176de 100644 --- a/app-editors/neovim/Manifest +++ b/app-editors/neovim/Manifest @@ -1,2 +1 @@ -DIST neovim-0.0.0_pre20150220.tar.gz 7369427 SHA256 d6628a2de3f5fea5983a6ee9fa7d3eae4e1d3469ab5948ac4d5f27fd3131229c SHA512 4580539c975848cd94402e045e983ee40e585a515ac4dca343fa6ee354359a74222738b682359c1f98619a70578abaf4e482023fdb9b25ea80dbf6e8cf53a22d WHIRLPOOL f68b1d8512f62f8f3b6c7871642c4b257f6f72ed920e6c91a358180a559b0db87ba5e5758d1849437aa00f14322fe59d6318b071616c22e1e700929332bfa98f -DIST neovim-0.0.0_pre20150221.tar.gz 7346903 SHA256 b1bc7d6bcbee7a0b343f6419e2e314e9630e06c1fbd12c9c400efef0e91b3721 SHA512 c82038b3b38639d71a07bed5a0bb1ad7bdd363a5d4cf382cb8cf91ec226ab8cf00ce50f40ef0e08403d496a3de02f70e7e6d33d7f178f14912a61becf28775a1 WHIRLPOOL 6a6b40bb879fdd2e97f20ec8a8c8b45ce265ff1bf93d41b5417418b371ace38c0c2c0ecd59784a564eb9a859e7c57656f02b1e524663bcab084b99d591bdc43f +DIST neovim-0.0.0_pre20150223.tar.xz 4764536 SHA256 67b8df47d37172f1f87d4ce3480fbc68611f447ae53dea5b3e96ae7ae4ccdb17 SHA512 f1aafe6e79f46c67394def4a72d50fe921c89f9209e7e23c785e7892006b97f4ce86eaccd470ccb980f822d3897f65a9934789d77f7ad5d05d92c259ecf16150 WHIRLPOOL cb2069705bd6e62344667bb08e146bd159d60c9fb1331931462c3fb21f3a134e326fe228cfd50b8b14bd37648cab10c89721319ae29499d850f454942a3a783f diff --git a/app-editors/neovim/neovim-0.0.0_pre20150221.ebuild b/app-editors/neovim/neovim-0.0.0_pre20150223.ebuild index bf39ac3..cf4f9b9 100644 --- a/app-editors/neovim/neovim-0.0.0_pre20150221.ebuild +++ b/app-editors/neovim/neovim-0.0.0_pre20150223.ebuild @@ -12,9 +12,7 @@ if [[ ${PV} == 9999 ]]; then EGIT_REPO_URI="git://github.com/neovim/neovim.git" KEYWORDS="" else - inherit vcs-snapshot - COMMIT="e9c5f96964b1dcc7d7a013ffd056b97f2674f509" - SRC_URI="https://github.com/${PN}/${PN}/tarball/${COMMIT} -> ${P}.tar.gz" + SRC_URI="http://dev.gentoo.org/~yngwin/distfiles/${P}.tar.xz" KEYWORDS="~amd64 ~x86" fi @@ -22,14 +20,13 @@ LICENSE="Apache-2.0 vim" SLOT="0" IUSE="perl python" -CDEPEND="dev-lang/luajit +CDEPEND="dev-lang/luajit:2 >=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" + dev-lua/messagepack" DEPEND="${CDEPEND} virtual/libiconv virtual/libintl" @@ -37,6 +34,11 @@ RDEPEND="${CDEPEND} perl? ( dev-lang/perl ) python? ( dev-python/neovim-python-client )" +src_prepare() { + sed -e '/^# define SYS_VIMRC_FILE/s|$VIM|'"${EPREFIX}"'/etc/vim|' \ + -i src/nvim/os_unix_defs.h || die +} + src_configure() { append-cflags "-Wno-error" append-cppflags "-DNDEBUG -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1" diff --git a/app-editors/neovim/neovim-9999.ebuild b/app-editors/neovim/neovim-9999.ebuild index 7c8bb7d..cf4f9b9 100644 --- a/app-editors/neovim/neovim-9999.ebuild +++ b/app-editors/neovim/neovim-9999.ebuild @@ -12,9 +12,7 @@ if [[ ${PV} == 9999 ]]; then EGIT_REPO_URI="git://github.com/neovim/neovim.git" KEYWORDS="" else - inherit vcs-snapshot - COMMIT="8efb3607a7f6cefce450953c7f8d5e3299347bae" - SRC_URI="https://github.com/${PN}/${PN}/tarball/${COMMIT} -> ${P}.tar.gz" + SRC_URI="http://dev.gentoo.org/~yngwin/distfiles/${P}.tar.xz" KEYWORDS="~amd64 ~x86" fi @@ -22,14 +20,13 @@ LICENSE="Apache-2.0 vim" SLOT="0" IUSE="perl python" -CDEPEND="dev-lang/luajit +CDEPEND="dev-lang/luajit:2 >=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" + dev-lua/messagepack" DEPEND="${CDEPEND} virtual/libiconv virtual/libintl" @@ -37,6 +34,11 @@ RDEPEND="${CDEPEND} perl? ( dev-lang/perl ) python? ( dev-python/neovim-python-client )" +src_prepare() { + sed -e '/^# define SYS_VIMRC_FILE/s|$VIM|'"${EPREFIX}"'/etc/vim|' \ + -i src/nvim/os_unix_defs.h || die +} + src_configure() { append-cflags "-Wno-error" append-cppflags "-DNDEBUG -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1" |