diff options
author | Maciej Barć <xgqt@gentoo.org> | 2024-07-25 18:38:57 +0200 |
---|---|---|
committer | Maciej Barć <xgqt@gentoo.org> | 2024-07-25 18:48:24 +0200 |
commit | b4c834d95d3a1985aadce9ca9013275cfb69eb46 (patch) | |
tree | aa108a85a5b1f67aad68275993e04679c3afc8d8 /app-emacs | |
parent | dev-python/ytmusicapi: bump to 1.8.0 (diff) | |
download | gentoo-b4c834d95d3a1985aadce9ca9013275cfb69eb46.tar.gz gentoo-b4c834d95d3a1985aadce9ca9013275cfb69eb46.tar.bz2 gentoo-b4c834d95d3a1985aadce9ca9013275cfb69eb46.zip |
app-emacs/jinx: bump to 1.10
Signed-off-by: Maciej Barć <xgqt@gentoo.org>
Diffstat (limited to 'app-emacs')
-rw-r--r-- | app-emacs/jinx/Manifest | 1 | ||||
-rw-r--r-- | app-emacs/jinx/jinx-1.10.ebuild | 55 |
2 files changed, 56 insertions, 0 deletions
diff --git a/app-emacs/jinx/Manifest b/app-emacs/jinx/Manifest index d1d18b7b2b0e..a833f04d106e 100644 --- a/app-emacs/jinx/Manifest +++ b/app-emacs/jinx/Manifest @@ -1,2 +1,3 @@ +DIST jinx-1.10.tar.gz 35304 BLAKE2B d112de93fab933782110f8587cc5c55e63429153ce205ae44ae53b86be669064961cebf688a8159cd09c53538ebd488d687939c01d21be318ef4cd2bfc930f85 SHA512 66f99dd5e2028770bed99a77c1364456309843f6efb4726b2cff093a0f721a54f58b72be324718c4ab55e7d54f2bf48bd4480cef4cd25c54b6ffc9f08de16ba6 DIST jinx-1.7.tar.gz 34795 BLAKE2B 96f5ea43c59692ffcf628438144bf07d297f8f82072a4e27282e8e10777769ad8876dd4b9057d59ede5cd7ac7d9c48bd197e5bd3175239332b52b29eba276e0b SHA512 2d92cf7822494b1eca5e746104610fcaedc09427dad9ac45cb901a19ee663a5300f7d5b5768155bc0ec41c3a96208b0233932fd13bb8ab00fc88e766d5aec538 DIST jinx-1.9.tar.gz 35118 BLAKE2B 1db0bf43978f0d3d521b864a6b71c98642a7bfd1517dfb91425776ccbb320f7b52c8c05360722e79bf294140043e65bb057372570ea0851f917824545b93db09 SHA512 18124ebfa0da7362d9265f4681267881849f566db10e7ea49e20f88ea0cdce0b3af76f78313849c2fa4ed0c24734ffda34aba95c86b3aeaf50db414f566a167e diff --git a/app-emacs/jinx/jinx-1.10.ebuild b/app-emacs/jinx/jinx-1.10.ebuild new file mode 100644 index 000000000000..4faa877e1994 --- /dev/null +++ b/app-emacs/jinx/jinx-1.10.ebuild @@ -0,0 +1,55 @@ +# 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" + +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 +} |