commit:     f71f69399de943b43a52cdfac79dfd43c9dc36ce
Author:     Ulrich Müller <ulm <AT> gentoo <DOT> org>
AuthorDate: Tue Jul  8 11:36:50 2025 +0000
Commit:     Ulrich Müller <ulm <AT> gentoo <DOT> org>
CommitDate: Tue Jul  8 11:37:14 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f71f6939

app-editors/jove: add 4.17.5.5

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

 app-editors/jove/Manifest             |  1 +
 app-editors/jove/jove-4.17.5.5.ebuild | 45 +++++++++++++++++++++++++++++++++++
 2 files changed, 46 insertions(+)

diff --git a/app-editors/jove/Manifest b/app-editors/jove/Manifest
index 02680fa9e6ad..1d4c60c9a268 100644
--- a/app-editors/jove/Manifest
+++ b/app-editors/jove/Manifest
@@ -1 +1,2 @@
 DIST jove-4.17.5.3.tar.gz 548835 BLAKE2B 
12b1f16d82e84cc2d099e2f45f5a42e2d1e811e5a9685c7ee162280ef49ecef8f7955a98679b60c49bbeaa30e3a430b1d6fc969270bee02862ff284a932829d9
 SHA512 
f91bdf3145ad243cfe8a4d9aca497a3d2cc58711488fa6b845d0d5e70dece6939046743aae1f18fd2614d75420bb747b00e61bb60b13ff35b26409068df40127
+DIST jove-4.17.5.5.tar.gz 551600 BLAKE2B 
422b0645743d6049344a18c372c9aa155e229def854bc5206bd5f027341c6beb5b01fb52c0df4bd849abb208dee98683078dc6523cbbf9d56304712713b19ac4
 SHA512 
b432d157ed28c919be123ce56d93fe1fc4a34a04a2c1bb126d1416b5db74be7015128e63803cdd27675ecf6f4a4a30b4442f1aeec6690ee1a1f7f3b76af3b25d

diff --git a/app-editors/jove/jove-4.17.5.5.ebuild 
b/app-editors/jove/jove-4.17.5.5.ebuild
new file mode 100644
index 000000000000..c9947b20fc8a
--- /dev/null
+++ b/app-editors/jove/jove-4.17.5.5.ebuild
@@ -0,0 +1,45 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit toolchain-funcs
+
+DESCRIPTION="Jonathan's Own Version of Emacs, a light emacs-like editor 
without LISP bindings"
+HOMEPAGE="https://github.com/jonmacs/jove";
+SRC_URI="https://github.com/jonmacs/${PN}/archive/refs/tags/${PV}.tar.gz -> 
${P}.tar.gz"
+
+LICENSE="JOVE"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE="doc"
+
+RDEPEND="sys-libs/ncurses:0="
+DEPEND="${RDEPEND}"
+BDEPEND="virtual/pkgconfig"
+
+src_compile() {
+       tc-export CC
+
+       myopts=(
+               JOVEHOME="${EPREFIX}/usr" \
+               JMANDIR="${EPREFIX}/usr/share/man/man1" \
+               JDOCDIR="${EPREFIX}/usr/share/doc/${PF}" \
+               OPTFLAGS="-std=gnu17 ${CFLAGS}" \
+               LDFLAGS="${LDFLAGS}" \
+               LDLIBS="$("$(tc-getPKG_CONFIG)" --libs ncurses)" \
+               SYSDEFS="-DLinux" \
+               $(usev !doc FREFDOCS="")
+       )
+       emake "${myopts[@]}"
+}
+
+src_install() {
+       # The Makefile triggers a rebuild if any of the options have changed
+       # (see recipe for keys.c). So we must pass identical options even if
+       # they're not needed for installation.
+       emake "${myopts[@]}" DESTDIR="${D}" install
+
+       keepdir /var/lib/jove/preserve
+       dodoc README
+}

Reply via email to