1 |
commit: 9fefef97f6db948dacee4e63fc4f234c1bf4e38e |
2 |
Author: Mykyta Holubakha <hilobakho <AT> gmail <DOT> com> |
3 |
AuthorDate: Fri Aug 26 14:17:06 2016 +0000 |
4 |
Commit: Göktürk Yüksek <gokturk <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Sep 1 03:20:23 2016 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9fefef97 |
7 |
|
8 |
app-editors/kakoune: version bump to 0_pre20160826 |
9 |
|
10 |
app-editors/kakoune/Manifest | 1 + |
11 |
app-editors/kakoune/kakoune-0_pre20160826.ebuild | 50 ++++++++++++++++++++++++ |
12 |
2 files changed, 51 insertions(+) |
13 |
|
14 |
diff --git a/app-editors/kakoune/Manifest b/app-editors/kakoune/Manifest |
15 |
index 7e50251..15067d9 100644 |
16 |
--- a/app-editors/kakoune/Manifest |
17 |
+++ b/app-editors/kakoune/Manifest |
18 |
@@ -1 +1,2 @@ |
19 |
DIST kakoune-0_pre20160620.tar.gz 370523 SHA256 4344bc78a15942c01818c8e8a80f228249557f5d2d20c2fdc845faeef86abe2e SHA512 c186b9024db7956d9bcae925727c3f30dd2c2fb49995e97c56dbdf59c3f17989feb405086957818685a08530da0f2b58b5798687959267da7e9e2a25dd78003c WHIRLPOOL c555754e4fc3456ce7912d60adb72191349692d0465996893ceb1162cc5f7f61b08b0098f13a54d5d44c861aaf3b23eaea343813f055b8ca06f6ce1305a30f4d |
20 |
+DIST kakoune-0_pre20160826.tar.gz 377788 SHA256 c54c7b7ed4cca371477bfa6bf9e17ef8fe343debd83c5ae165538899e968a05f SHA512 98a679a9ecf22cb5ea4648b766164c8fc72d818d6b839b35e8c66ca2b73c109e5dfadf6745ae25a9eda9e426b4775d2f3c677417217c31cdabe7919ef1bf0839 WHIRLPOOL bd13b26bda0c1f92edd7c77f691ff5d2b576dc17dcba453272e5e4eac66edaabc9f0f7f4aaf626b5f2475e275eafa7bee38197d49033db85b11a5e7c87df75f0 |
21 |
|
22 |
diff --git a/app-editors/kakoune/kakoune-0_pre20160826.ebuild b/app-editors/kakoune/kakoune-0_pre20160826.ebuild |
23 |
new file mode 100644 |
24 |
index 00000000..bbbcbd3 |
25 |
--- /dev/null |
26 |
+++ b/app-editors/kakoune/kakoune-0_pre20160826.ebuild |
27 |
@@ -0,0 +1,50 @@ |
28 |
+# Copyright 1999-2016 Gentoo Foundation |
29 |
+# Distributed under the terms of the GNU General Public License v2 |
30 |
+# $Id$ |
31 |
+ |
32 |
+EAPI=6 |
33 |
+ |
34 |
+inherit flag-o-matic toolchain-funcs vcs-snapshot versionator |
35 |
+ |
36 |
+REF="9124851029700026bc937c81da829fbadcc5b29d" |
37 |
+ |
38 |
+DESCRIPTION="Selection-oriented code editor inspired by vim" |
39 |
+HOMEPAGE="https://github.com/mawww/kakoune" |
40 |
+SRC_URI="https://github.com/mawww/${PN}/tarball/${REF} -> ${P}.tar.gz" |
41 |
+ |
42 |
+LICENSE="Unlicense" |
43 |
+SLOT="0" |
44 |
+KEYWORDS="~amd64 ~x86" |
45 |
+IUSE="debug" |
46 |
+ |
47 |
+RDEPEND=" |
48 |
+ sys-libs/ncurses:=[unicode] |
49 |
+ dev-libs/boost:= |
50 |
+" |
51 |
+DEPEND=" |
52 |
+ app-text/asciidoc |
53 |
+ virtual/pkgconfig |
54 |
+ ${RDEPEND} |
55 |
+" |
56 |
+ |
57 |
+PATCHES=( "${FILESDIR}/${PN}-makefile.patch" ) |
58 |
+ |
59 |
+pkg_pretend() { |
60 |
+ if [[ ${MERGE_TYPE} != binary ]]; then |
61 |
+ if tc-is-gcc && ! version_is_at_least 5.0 $(gcc-version); then |
62 |
+ die "Clang or GCC >=5.0 is required to build this version" |
63 |
+ fi |
64 |
+ fi |
65 |
+} |
66 |
+ |
67 |
+src_configure() { |
68 |
+ append-cppflags $($(tc-getPKG_CONFIG) --cflags ncursesw) |
69 |
+ append-libs $($(tc-getPKG_CONFIG) --libs ncursesw) |
70 |
+ export CXX=$(tc-getCXX) |
71 |
+ export debug=$(usex debug) |
72 |
+ S="${WORKDIR}/${P}/src" |
73 |
+} |
74 |
+ |
75 |
+src_install() { |
76 |
+ emake DESTDIR="${D}" PREFIX="/usr" docdir="${D}/usr/share/doc/${PF}" install |
77 |
+} |