app-emacs/jinx: add 2.5

Signed-off-by: Arsen Arsenović <arsen@gentoo.org>
This commit is contained in:
Arsen Arsenović 2025-11-29 14:42:41 +01:00
parent c9f41973d7
commit df968f9b69
No known key found for this signature in database
GPG Key ID: 52C294301EA2C493
2 changed files with 56 additions and 0 deletions

View File

@ -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

View File

@ -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
}