mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-23 11:17:21 -08:00
app-editors/kakoune: Drop old version
Signed-off-by: Ian Hixson <mujo@sdf.org> Closes: https://github.com/gentoo/gentoo/pull/22198 Signed-off-by: Joonas Niilola <juippis@gentoo.org>
This commit is contained in:
@@ -1,2 +1 @@
|
||||
DIST kakoune-2020.09.01.tar.gz 612970 BLAKE2B 64084c2a4ff1ccf348caad8db04df9425828378bda28d163ffa6d198b3bd80d6d078ac0095dfc5adbae505e4d4259cd86185718a8012740417056db531ea72ec SHA512 acd9edd6b2a68219a4b5f68aaf4d785aa8c430abfdf5ccc994764f5ece8acb655adf64334027525115d3cbe819591de8496c3e54e2d806ce40c494443789e126
|
||||
DIST kakoune-2021.08.28.tar.gz 654429 BLAKE2B 8cf769d2dea74fd8bab8261e4d79276af089d73753052fdd3776bff0adc72bc20c43f840350076e675c633de2175ad83960fa2ccf85fc852c7c81bd4888ced2b SHA512 1f4f0648959e94e45eb00f2398aa6897595457ef3ee4d1c6e18d494f3e68f8d3a0c4d0dbed88b6588fda61137a060c648ff635972731c0f29faef4cdc03c829f
|
||||
|
||||
@@ -1,10 +0,0 @@
|
||||
diff --git a/rc/filetype/gentoo-linux.kak b/rc/filetype/gentoo-linux.kak
|
||||
new file mode 100644
|
||||
index 00000000..251dad16
|
||||
--- /dev/null
|
||||
+++ b/rc/filetype/gentoo-linux.kak
|
||||
@@ -0,0 +1,4 @@
|
||||
+# portage ebuild file
|
||||
+hook global BufCreate .*\.ebuild %{
|
||||
+ set-option buffer filetype sh
|
||||
+}
|
||||
@@ -1,11 +0,0 @@
|
||||
https://bugs.gentoo.org/787029
|
||||
--- a/src/regex_impl.cc
|
||||
+++ b/src/regex_impl.cc
|
||||
@@ -12,6 +12,7 @@
|
||||
|
||||
#include <cstdio>
|
||||
#include <cstring>
|
||||
+#include <limits>
|
||||
|
||||
namespace Kakoune
|
||||
{
|
||||
@@ -1,47 +0,0 @@
|
||||
# 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/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="Unlicense"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86"
|
||||
|
||||
DEPEND="sys-libs/ncurses:=[unicode(+)]"
|
||||
RDEPEND="${DEPEND}"
|
||||
BDEPEND="virtual/pkgconfig"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${PN}-2020.09.01-enable-ebuild-syntax-highlight.patch
|
||||
"${FILESDIR}"/${PN}-2020.09.01-gcc-11.patch
|
||||
)
|
||||
|
||||
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
|
||||
}
|
||||
Reference in New Issue
Block a user