From 6450e442d6bb2e931faeb0633287513de5acd0d3 Mon Sep 17 00:00:00 2001 From: Maciej Barć Date: Thu, 4 Apr 2024 20:27:24 +0200 Subject: app-emacs/jinx: bump to 1.5 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Maciej Barć --- app-emacs/jinx/Manifest | 1 + app-emacs/jinx/jinx-1.5.ebuild | 45 ++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 46 insertions(+) create mode 100644 app-emacs/jinx/jinx-1.5.ebuild (limited to 'app-emacs') diff --git a/app-emacs/jinx/Manifest b/app-emacs/jinx/Manifest index 1fd2086dc5de..116ffff619d4 100644 --- a/app-emacs/jinx/Manifest +++ b/app-emacs/jinx/Manifest @@ -1,2 +1,3 @@ DIST jinx-1.3.tar.gz 34055 BLAKE2B c91652d0791ace223013f0ac42d3b917d3fff6cd5920d27bcf48f65ead3a7d29bc7090af107619ceedc243f34c7984a2dadb8fa667d6a825c8a21107de5f186a SHA512 14f03352e16cbcdbfa4c0fe9c00a2a496d7086a0a7dee9c82c5673069e98b0d9b472722a8e90f03815770bf8f054349833e3e7d035deb53a4fa9d05fa54899da DIST jinx-1.4.tar.gz 34299 BLAKE2B c28a1535826a1b3a4541cae33ec5ac7badc4fec0188d5b269b0dfbb7fb8a12bf642ea9efb9f1b7289de0bbce5f60cc756ede878a36e1b2b3ec2a8ee26a2fb892 SHA512 fcf08e25d3429ae801006050b56cbc16b65eaa26694b0b20a3c475de716c1c7d4271838b4d553caae257cd82215dd8154c6feb277fb5a16e05c1d098567605a0 +DIST jinx-1.5.tar.gz 34515 BLAKE2B fed6482001a879f50f9f8a093dc9e82443e0400b8e8c0c0b2fd4984cad4e48a4acd6d8a794a3ec71d3ee5d1c0dd851170dc5bec2a8e9ec9f0c7ddb6e25b5c732 SHA512 f19f7500e955b0ed584b2dc7e288911d59a584db596d55304c23d0ff28bceda6dad866b47891396fd342fe9f43d1adc8135611a67074f13638d58c28b545d3f8 diff --git a/app-emacs/jinx/jinx-1.5.ebuild b/app-emacs/jinx/jinx-1.5.ebuild new file mode 100644 index 000000000000..fd1936d0c50c --- /dev/null +++ b/app-emacs/jinx/jinx-1.5.ebuild @@ -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 +} -- cgit v1.2.3-65-gdbad