summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMykyta Holubakha <hilobakho@gmail.com>2016-08-26 17:17:06 +0300
committerGöktürk Yüksek <gokturk@gentoo.org>2016-08-31 23:20:23 -0400
commit9fefef97f6db948dacee4e63fc4f234c1bf4e38e (patch)
tree588a7613e9bd61a22b93cbc18f272d304585c3e0 /app-editors
parentapp-text/fbreader: make gcc6 happy (diff)
downloadgentoo-9fefef97f6db948dacee4e63fc4f234c1bf4e38e.tar.gz
gentoo-9fefef97f6db948dacee4e63fc4f234c1bf4e38e.tar.bz2
gentoo-9fefef97f6db948dacee4e63fc4f234c1bf4e38e.zip
app-editors/kakoune: version bump to 0_pre20160826
Diffstat (limited to 'app-editors')
-rw-r--r--app-editors/kakoune/Manifest1
-rw-r--r--app-editors/kakoune/kakoune-0_pre20160826.ebuild50
2 files changed, 51 insertions, 0 deletions
diff --git a/app-editors/kakoune/Manifest b/app-editors/kakoune/Manifest
index 7e50251612d3..15067d95931a 100644
--- a/app-editors/kakoune/Manifest
+++ b/app-editors/kakoune/Manifest
@@ -1 +1,2 @@
DIST kakoune-0_pre20160620.tar.gz 370523 SHA256 4344bc78a15942c01818c8e8a80f228249557f5d2d20c2fdc845faeef86abe2e SHA512 c186b9024db7956d9bcae925727c3f30dd2c2fb49995e97c56dbdf59c3f17989feb405086957818685a08530da0f2b58b5798687959267da7e9e2a25dd78003c WHIRLPOOL c555754e4fc3456ce7912d60adb72191349692d0465996893ceb1162cc5f7f61b08b0098f13a54d5d44c861aaf3b23eaea343813f055b8ca06f6ce1305a30f4d
+DIST kakoune-0_pre20160826.tar.gz 377788 SHA256 c54c7b7ed4cca371477bfa6bf9e17ef8fe343debd83c5ae165538899e968a05f SHA512 98a679a9ecf22cb5ea4648b766164c8fc72d818d6b839b35e8c66ca2b73c109e5dfadf6745ae25a9eda9e426b4775d2f3c677417217c31cdabe7919ef1bf0839 WHIRLPOOL bd13b26bda0c1f92edd7c77f691ff5d2b576dc17dcba453272e5e4eac66edaabc9f0f7f4aaf626b5f2475e275eafa7bee38197d49033db85b11a5e7c87df75f0
diff --git a/app-editors/kakoune/kakoune-0_pre20160826.ebuild b/app-editors/kakoune/kakoune-0_pre20160826.ebuild
new file mode 100644
index 000000000000..bbbcbd3e41fb
--- /dev/null
+++ b/app-editors/kakoune/kakoune-0_pre20160826.ebuild
@@ -0,0 +1,50 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+inherit flag-o-matic toolchain-funcs vcs-snapshot versionator
+
+REF="9124851029700026bc937c81da829fbadcc5b29d"
+
+DESCRIPTION="Selection-oriented code editor inspired by vim"
+HOMEPAGE="https://github.com/mawww/kakoune"
+SRC_URI="https://github.com/mawww/${PN}/tarball/${REF} -> ${P}.tar.gz"
+
+LICENSE="Unlicense"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="debug"
+
+RDEPEND="
+ sys-libs/ncurses:=[unicode]
+ dev-libs/boost:=
+"
+DEPEND="
+ app-text/asciidoc
+ virtual/pkgconfig
+ ${RDEPEND}
+"
+
+PATCHES=( "${FILESDIR}/${PN}-makefile.patch" )
+
+pkg_pretend() {
+ if [[ ${MERGE_TYPE} != binary ]]; then
+ if tc-is-gcc && ! version_is_at_least 5.0 $(gcc-version); then
+ die "Clang or GCC >=5.0 is required to build this version"
+ fi
+ fi
+}
+
+src_configure() {
+ append-cppflags $($(tc-getPKG_CONFIG) --cflags ncursesw)
+ append-libs $($(tc-getPKG_CONFIG) --libs ncursesw)
+ export CXX=$(tc-getCXX)
+ export debug=$(usex debug)
+ S="${WORKDIR}/${P}/src"
+}
+
+src_install() {
+ emake DESTDIR="${D}" PREFIX="/usr" docdir="${D}/usr/share/doc/${PF}" install
+}