summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArsen Arsenović <arsen@gentoo.org>2025-11-29 14:42:41 +0100
committerArsen Arsenović <arsen@gentoo.org>2025-11-29 21:26:53 +0100
commitdf968f9b69f677a1e33db0ef320b6a569b0c5208 (patch)
treec4e68385e5c8a7ce1719274febc2bfc24a150ed9
parentc9f41973d7b0cc9d7a7401dab5efd4812d9aa7fd (diff)
downloadgentoo-df968f9b69f677a1e33db0ef320b6a569b0c5208.tar.gz
gentoo-df968f9b69f677a1e33db0ef320b6a569b0c5208.tar.bz2
gentoo-df968f9b69f677a1e33db0ef320b6a569b0c5208.zip
app-emacs/jinx: add 2.5
Signed-off-by: Arsen Arsenović <arsen@gentoo.org>
-rw-r--r--app-emacs/jinx/Manifest1
-rw-r--r--app-emacs/jinx/jinx-2.5.ebuild55
2 files changed, 56 insertions, 0 deletions
diff --git a/app-emacs/jinx/Manifest b/app-emacs/jinx/Manifest
index 03b520eabd1d..2bcb4e5124e7 100644
--- a/app-emacs/jinx/Manifest
+++ b/app-emacs/jinx/Manifest
@@ -1 +1,2 @@
DIST jinx-2.4.tar.gz 38109 BLAKE2B e787cce16ae31dd6865410296e2e9d20edd7418c15f79b4f8b7e3b2aa268cf852f4139b032331c5cb3476f085ffe000355a5c1d2aaf73dfb32e1b5640f5b09a0 SHA512 7ebe31a5c3d9595b8b27bc73d706497efab091fd9e5b04e72ebbfb8bb4b32813846b4aaa93ddc41c4d7e6c5b4d070e5da2f34fb49ad8a43a650cb4bd6d4a031d
+DIST jinx-2.5.tar.gz 38208 BLAKE2B dd9a26236160f7137482b6e70b4809379ea2becbd2c5c745d45d5d8b2e91ceb66be20136b014c2c9a3b6e4de5230f7c0a9ecfee243ffc8de716e0b6ee8b1672b SHA512 1f0079956d814604aac73e18c9d8132d6bcb3adf4dfb4d65bf4c52dda570ab353eaab2e1b1a047066a010936fd9cae003dcd4f8ab32d405e6465737e9829652c
diff --git a/app-emacs/jinx/jinx-2.5.ebuild b/app-emacs/jinx/jinx-2.5.ebuild
new file mode 100644
index 000000000000..fcd7f6074591
--- /dev/null
+++ b/app-emacs/jinx/jinx-2.5.ebuild
@@ -0,0 +1,55 @@
+# Copyright 2023-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+NEED_EMACS=28.1
+
+inherit edo elisp toolchain-funcs
+
+DESCRIPTION="Enchanted Spell Checker for GNU Emacs"
+HOMEPAGE="https://github.com/minad/jinx"
+
+if [[ "${PV}" == *9999* ]] ; then
+ inherit git-r3
+
+ EGIT_REPO_URI="https://github.com/minad/${PN}.git"
+else
+ SRC_URI="https://github.com/minad/${PN}/archive/refs/tags/${PV}.tar.gz
+ -> ${P}.tar.gz"
+
+ KEYWORDS="~amd64 ~x86"
+fi
+
+LICENSE="GPL-3+"
+SLOT="0"
+
+RDEPEND="
+ app-text/enchant:2
+ >=app-emacs/compat-29.1.4.0
+"
+DEPEND="
+ ${RDEPEND}
+"
+BDEPEND="
+ virtual/pkgconfig
+"
+
+ELISP_TEXINFO="${PN}.texi"
+SITEFILE="50${PN}-gentoo.el"
+
+src_compile() {
+ edo $(tc-getCC) -fPIC -Wall -Wextra -shared \
+ $($(tc-getPKG_CONFIG) --cflags --libs enchant-2) \
+ ${CPPFLAGS} ${CFLAGS} ${LDFLAGS} -o jinx-mod.so jinx-mod.c
+ elisp-org-export-to texinfo README.org
+ elisp_src_compile
+}
+
+src_install() {
+ elisp-make-autoload-file
+ elisp_src_install
+
+ elisp-modules-install "${PN}" jinx-mod.so
+ doinfo jinx.info
+}