app-emacs/jinx: bump to 1.7

Signed-off-by: Maciej Barć <xgqt@gentoo.org>
This commit is contained in:
Maciej Barć
2024-05-20 00:56:24 +02:00
parent 6cae7227fc
commit 0c2bfc7b5c
2 changed files with 46 additions and 0 deletions

View File

@@ -1,2 +1,3 @@
DIST jinx-1.5.tar.gz 34515 BLAKE2B fed6482001a879f50f9f8a093dc9e82443e0400b8e8c0c0b2fd4984cad4e48a4acd6d8a794a3ec71d3ee5d1c0dd851170dc5bec2a8e9ec9f0c7ddb6e25b5c732 SHA512 f19f7500e955b0ed584b2dc7e288911d59a584db596d55304c23d0ff28bceda6dad866b47891396fd342fe9f43d1adc8135611a67074f13638d58c28b545d3f8
DIST jinx-1.6.tar.gz 34624 BLAKE2B 57917120dd6b10e30d989f056d3587452b2a2fe4db97df989de25c31ae7dd0e56ab2fd40cb92e570cd076209ab039ae0a8cc1ba7cb42210acbc4a1a07cef5f52 SHA512 b4e2b7ef03036e79c91e2a3d2c39ec6505ac9b6b2f7b32cfeee961448b4015de87c60adc9c14de3faccab14d7be75a77622fb0e21982a6e3fdcd58046c54d471
DIST jinx-1.7.tar.gz 34795 BLAKE2B 96f5ea43c59692ffcf628438144bf07d297f8f82072a4e27282e8e10777769ad8876dd4b9057d59ede5cd7ac7d9c48bd197e5bd3175239332b52b29eba276e0b SHA512 2d92cf7822494b1eca5e746104610fcaedc09427dad9ac45cb901a19ee663a5300f7d5b5768155bc0ec41c3a96208b0233932fd13bb8ab00fc88e766d5aec538

View File

@@ -0,0 +1,45 @@
# Copyright 2023-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
NEED_EMACS=27.1
inherit edo elisp toolchain-funcs
DESCRIPTION="Enchanted Spell Checker for GNU Emacs"
HOMEPAGE="https://github.com/minad/jinx"
SRC_URI="
https://github.com/minad/${PN}/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz
"
LICENSE="GPL-3+"
SLOT="0"
KEYWORDS="~amd64"
RDEPEND="
app-text/enchant:2
>=app-emacs/compat-29.1.4.0
"
DEPEND="${RDEPEND}"
BDEPEND="virtual/pkgconfig"
SITEFILE="50${PN}-gentoo.el"
ELISP_TEXINFO="${PN}.texi"
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
}