From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-commits+bounces-1338657-garchives=archives.gentoo.org@lists.gentoo.org>
Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature RSA-PSS (2048 bits))
	(No client certificate requested)
	by finch.gentoo.org (Postfix) with ESMTPS id 8F109158086
	for <garchives@archives.gentoo.org>; Fri, 12 Nov 2021 01:31:23 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id C8909E0A8E;
	Fri, 12 Nov 2021 01:31:22 +0000 (UTC)
Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature RSA-PSS (4096 bits))
	(No client certificate requested)
	by pigeon.gentoo.org (Postfix) with ESMTPS id B33FCE0A8E
	for <gentoo-commits@lists.gentoo.org>; Fri, 12 Nov 2021 01:31:22 +0000 (UTC)
Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256)
	(No client certificate requested)
	by smtp.gentoo.org (Postfix) with ESMTPS id 66126342FB9
	for <gentoo-commits@lists.gentoo.org>; Fri, 12 Nov 2021 01:31:21 +0000 (UTC)
Received: from localhost.localdomain (localhost [IPv6:::1])
	by oystercatcher.gentoo.org (Postfix) with ESMTP id 02B39D3
	for <gentoo-commits@lists.gentoo.org>; Fri, 12 Nov 2021 01:31:20 +0000 (UTC)
From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Content-Transfer-Encoding: 8bit
Content-type: text/plain; charset=UTF-8
Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" <sam@gentoo.org>
Message-ID: <1636680287.848c5ad9bf8bcf4ce018de539e3c509e214a1e2b.sam@gentoo>
Subject: [gentoo-commits] repo/gentoo:master commit in: app-editors/kakoune/
X-VCS-Repository: repo/gentoo
X-VCS-Files: app-editors/kakoune/Manifest app-editors/kakoune/kakoune-2021.10.28.ebuild
X-VCS-Directories: app-editors/kakoune/
X-VCS-Committer: sam
X-VCS-Committer-Name: Sam James
X-VCS-Revision: 848c5ad9bf8bcf4ce018de539e3c509e214a1e2b
X-VCS-Branch: master
Date: Fri, 12 Nov 2021 01:31:20 +0000 (UTC)
Precedence: bulk
List-Post: <mailto:gentoo-commits@lists.gentoo.org>
List-Help: <mailto:gentoo-commits+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org>
X-BeenThere: gentoo-commits@lists.gentoo.org
X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply
X-Archives-Salt: fd254849-5e29-4960-9990-46ad05847bbf
X-Archives-Hash: 4ff50002f6c4f9f4d64036c9f139c8d3

commit:     848c5ad9bf8bcf4ce018de539e3c509e214a1e2b
Author:     Ian Hixson <mujo <AT> sdf <DOT> org>
AuthorDate: Thu Oct 28 05:17:12 2021 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri Nov 12 01:24:47 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=848c5ad9

app-editors/kakoune: Bump to 2021.10.28

Signed-off-by: Ian Hixson <mujo <AT> sdf.org>
Signed-off-by: Sam James <sam <AT> gentoo.org>

 app-editors/kakoune/Manifest                  |  1 +
 app-editors/kakoune/kakoune-2021.10.28.ebuild | 40 +++++++++++++++++++++++++++
 2 files changed, 41 insertions(+)

diff --git a/app-editors/kakoune/Manifest b/app-editors/kakoune/Manifest
index 290b402984c..4af90d57da9 100644
--- a/app-editors/kakoune/Manifest
+++ b/app-editors/kakoune/Manifest
@@ -1 +1,2 @@
 DIST kakoune-2021.08.28.tar.bz2 535791 BLAKE2B b04f23b29def72659925b104a203033cd547ec9483225e35a216276716b2d31da76e1c4a239b60a1e72f3e3f4777997bc59560f6ccd4a0e3eaf509e537ed85ad SHA512 a304f1ce3295196468784e27f019d155b5aa0305d90adf5ae65c74a9be4ee740df400ebeb819eb059bb42efee503daa988a2ea929fa6d60ec63ad408be9b575a
+DIST kakoune-2021.10.28.tar.bz2 537860 BLAKE2B b7a5bf27505af99e40b65eef1e6c34c2c7fb43b9e0a1b0be5f307cf658f830646f5289bb52c70456e2ba585247528df829de3825edffc40f525b218b0237396c SHA512 60adf3d56006b5fde0b0acd8990501a858df6ed850201b603e2722fc893a873f2bb74f4be9caa35b6aa088ba7cd7aef86c0ca952168de92557c03b208461e0d2

diff --git a/app-editors/kakoune/kakoune-2021.10.28.ebuild b/app-editors/kakoune/kakoune-2021.10.28.ebuild
new file mode 100644
index 00000000000..67d9bb16296
--- /dev/null
+++ b/app-editors/kakoune/kakoune-2021.10.28.ebuild
@@ -0,0 +1,40 @@
+# Copyright 2020-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit toolchain-funcs
+
+DESCRIPTION="Modal editor inspired by vim"
+HOMEPAGE="http://kakoune.org/ https://github.com/mawww/kakoune"
+SRC_URI="https://github.com/mawww/kakoune/releases/download/v${PV}/${P}.tar.bz2"
+
+LICENSE="Unlicense"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86"
+
+BDEPEND="virtual/pkgconfig"
+
+src_prepare() {
+	sed -i '/CXXFLAGS += -O3/d' src/Makefile || die
+	default
+}
+
+src_configure() {
+	tc-export CXX
+}
+
+src_compile() {
+	emake -C src all
+}
+
+src_test() {
+	emake -C src test
+}
+
+src_install() {
+	emake PREFIX="${D}"/usr docdir="${ED}/usr/share/doc/${PF}" install
+
+	rm "${ED}/usr/share/man/man1/kak.1.gz" || die
+	doman doc/kak.1
+}