commit:     ba0bcec597afa84c69732241f9fc0ddb148e5abf
Author:     Ulrich Müller <ulm <AT> gentoo <DOT> org>
AuthorDate: Thu Feb 26 20:29:42 2026 +0000
Commit:     Ulrich Müller <ulm <AT> gentoo <DOT> org>
CommitDate: Thu Feb 26 20:30:23 2026 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ba0bcec5

app-editors/uemacs-pk: add 4.0.15_p20210330

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

 app-editors/uemacs-pk/Manifest                     |  1 +
 .../uemacs-pk/uemacs-pk-4.0.15_p20210330.ebuild    | 38 ++++++++++++++++++++++
 2 files changed, 39 insertions(+)

diff --git a/app-editors/uemacs-pk/Manifest b/app-editors/uemacs-pk/Manifest
index de7992ca618f..4ac704dadfeb 100644
--- a/app-editors/uemacs-pk/Manifest
+++ b/app-editors/uemacs-pk/Manifest
@@ -1,2 +1,3 @@
 DIST uemacs-4.0.15_p20180719.tar.xz 151748 BLAKE2B 
66572d3b4eb54310b7468a43fa718faa78aae8070a8675018f8dccc38d2dcb8e93b41942f49ca28b7c8ee5d100b541ecebfa2adc9a84f121a178ade0903029b1
 SHA512 
0baa273d5f8df75976d01acbe69b2bca7ec803c8a40364ebded39d16874426874af7b7547774c211fbbb96c82fcb69aaf75f8fa5fd3e95422ee105e6be7f9564
+DIST uemacs-4.0.15_p20210330.tar.xz 151800 BLAKE2B 
910a8f317bfeaa7baf729b85d622814bbf40077b38f69265fa815b3777d6a73c2e3515c0dffab8da85d4e8b8f568fbf6008029a45d43677180356d28706ffdd3
 SHA512 
12f58ce8b4580dcad4591491fc9413a4d5e930e5b85811097bb67b4e2ab31feb252671dc5a42c4be24928bfb6ab6186cedd03b828c7ca72dcc49d8689f4cba7b
 DIST uemacs-4.0.15_p20260224.tar.xz 125360 BLAKE2B 
e7f98012a60a686493d1e4653b24696957813a5d0158e29fa76eb3d106217fdabea5bdf90ba6e731b9d196dfb3562d3894c6c7e4b7511d789556d40778a7ffea
 SHA512 
b9d7be5099d9fedb082a67bbdd459047f056b73a95812ae467d00841479931d49bedfd90ad04d720170ec5bfc78c60a935378c8aeb32f497e5810e35aa336528

diff --git a/app-editors/uemacs-pk/uemacs-pk-4.0.15_p20210330.ebuild 
b/app-editors/uemacs-pk/uemacs-pk-4.0.15_p20210330.ebuild
new file mode 100644
index 000000000000..ff49f14ea2de
--- /dev/null
+++ b/app-editors/uemacs-pk/uemacs-pk-4.0.15_p20210330.ebuild
@@ -0,0 +1,38 @@
+# Copyright 1999-2026 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=9
+
+inherit toolchain-funcs
+
+DESCRIPTION="uEmacs/PK is an enhanced version of MicroEMACS"
+HOMEPAGE="https://git.kernel.org/pub/scm/editors/uemacs/uemacs.git";
+# snapshot from git repo
+SRC_URI="https://dev.gentoo.org/~ulm/distfiles/uemacs-${PV}.tar.xz";
+S="${WORKDIR}/uemacs"
+
+LICENSE="free-noncomm"
+SLOT="0"
+KEYWORDS="~amd64 ~riscv ~x86"
+
+RDEPEND="sys-libs/ncurses:0="
+DEPEND="${RDEPEND}"
+BDEPEND="virtual/pkgconfig"
+
+PATCHES=("${FILESDIR}"/${PN}-4.0.15_p20110825-gentoo.patch)
+
+src_compile() {
+       emake V=1 \
+               CC="$(tc-getCC)" \
+               CFLAGS="${CFLAGS}" \
+               LDFLAGS="${LDFLAGS}" \
+               LIBS="$("$(tc-getPKG_CONFIG)" --libs ncurses)"
+}
+
+src_install() {
+       dobin em
+       insinto /usr/share/${PN}
+       doins emacs.hlp
+       newins emacs.rc .emacsrc
+       dodoc README readme.39e emacs.ps UTF-8-demo.txt
+}

Reply via email to