commit:     962570a3635a63b23dbed42cf2dc415fc0f622a7
Author:     Ulrich Müller <ulm <AT> gentoo <DOT> org>
AuthorDate: Sat Mar 15 18:57:30 2025 +0000
Commit:     Ulrich Müller <ulm <AT> gentoo <DOT> org>
CommitDate: Sat Mar 15 19:00:22 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=962570a3

app-editors/zile: add 2.6.4

Signed-off-by: Ulrich Müller <ulm <AT> gentoo.org>

 app-editors/zile/Manifest          |  1 +
 app-editors/zile/zile-2.6.4.ebuild | 51 ++++++++++++++++++++++++++++++++++++++
 2 files changed, 52 insertions(+)

diff --git a/app-editors/zile/Manifest b/app-editors/zile/Manifest
index ad03f740f9fb..4a6f4848927b 100644
--- a/app-editors/zile/Manifest
+++ b/app-editors/zile/Manifest
@@ -1,2 +1,3 @@
 DIST zile-2.6.2.tar.gz 1152751 BLAKE2B 
db51b534c8d76e1def91bbfe49cab501ff1bccd6fbeddd5622d8fca3695305c53e480eed1978e880621e09955e2b98519cfa02cf259006a08d1a8722122148ea
 SHA512 
16d5cece403fc215d53b35c31fe6f743d53d7a01cdc7d101cabe6760173539c9c31e092b29c374f28a723708027f6de626fcfee302962848091f85078fa81761
 DIST zile-2.6.3.tar.gz 1329853 BLAKE2B 
258a0251b3462e10d84d267ebcb1523696f2c2e79c776d9f4a35487c4266cf526389f38bdc39d52cbbd40be5d17664ed81dd0ebdd1aec5201696d500a3fed33e
 SHA512 
7efdabcee8193a873ae79903b19c582abb8d7470384afe93f8764b4a9422ecb980b3fc961795e760ea4d0816d1af6773f6f58f8ff7f36550a4418c236dcbd529
+DIST zile-2.6.4.tar.gz 1330917 BLAKE2B 
10335ddcea342718406061cf67e6fb2270ab5f6507bb8e7079ded9baecae209718b4d06ae3059753e8515e75e2c3052fde47ebed8717f3d6caf50aadcc608af7
 SHA512 
d45cf2caf3090f22a43daaf474056e4b029f9e3c7c42ee6bea74ee502aa35d3840114034ee509042681d21400dc87c8d3a06699221c906372f0297b54dfeb88a

diff --git a/app-editors/zile/zile-2.6.4.ebuild 
b/app-editors/zile/zile-2.6.4.ebuild
new file mode 100644
index 000000000000..50c08396bf7d
--- /dev/null
+++ b/app-editors/zile/zile-2.6.4.ebuild
@@ -0,0 +1,51 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit toolchain-funcs vala
+
+DESCRIPTION="Zile is a small Emacs clone"
+HOMEPAGE="https://www.gnu.org/software/zile/";
+SRC_URI="mirror://gnu/zile/${P}.tar.gz"
+
+LICENSE="GPL-3+"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ppc ~riscv ~sparc ~x86 ~amd64-linux 
~x86-linux ~ppc-macos"
+
+RDEPEND="dev-libs/glib:2
+       dev-libs/libgee:0.8=
+       sys-libs/ncurses:0="
+
+DEPEND="${RDEPEND}"
+
+BDEPEND="dev-lang/perl
+       sys-apps/help2man
+       virtual/pkgconfig
+       $(vala_depend)"
+
+# AUTHORS, FAQ, and NEWS are installed by the build system
+DOCS="README THANKS"
+
+QA_AM_MAINTAINER_MODE=".*help2man.*" #450278
+
+src_prepare() {
+       default
+       vala_setup
+       rm *_vala.stamp || die
+}
+
+src_configure() {
+       econf CURSES_LIB="$("$(tc-getPKG_CONFIG)" --libs ncurses)"
+}
+
+src_test() {
+       if tput cup 0 0 >/dev/null || tput cuu1 >/dev/null; then
+               # We have a sane terminal that can move the cursor
+               emake check
+       else
+               ewarn "Terminal type \"${TERM}\" is too stupid to run zile"
+               ewarn "Running the tests with unset TERM instead"
+               ( unset TERM; emake check )
+       fi
+}

Reply via email to