commit:     b7242ad53a34eda2bd8da02b39a58a31842e96d2
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sun Dec 22 09:44:21 2024 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Dec 22 09:44:21 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b7242ad5

app-emacs/jinx: add 1.11

Signed-off-by: Sam James <sam <AT> gentoo.org>

 app-emacs/jinx/Manifest         |  1 +
 app-emacs/jinx/jinx-1.11.ebuild | 55 +++++++++++++++++++++++++++++++++++++++++
 2 files changed, 56 insertions(+)

diff --git a/app-emacs/jinx/Manifest b/app-emacs/jinx/Manifest
index f7c3c87cf807..ff742798a7c5 100644
--- a/app-emacs/jinx/Manifest
+++ b/app-emacs/jinx/Manifest
@@ -1 +1,2 @@
 DIST jinx-1.10.tar.gz 35304 BLAKE2B 
d112de93fab933782110f8587cc5c55e63429153ce205ae44ae53b86be669064961cebf688a8159cd09c53538ebd488d687939c01d21be318ef4cd2bfc930f85
 SHA512 
66f99dd5e2028770bed99a77c1364456309843f6efb4726b2cff093a0f721a54f58b72be324718c4ab55e7d54f2bf48bd4480cef4cd25c54b6ffc9f08de16ba6
+DIST jinx-1.11.tar.gz 35970 BLAKE2B 
b8d9299faf5df8d4eef74e8f3a4df7a83fe1dfb4e7a904491f14f2f0c03d0b0582f3b3b1ebebcbe6076ab7621b855e85d5d6ea0c38a8e77e8cae1d594efa850b
 SHA512 
1a1f6603933fc4922b1398bb7d0460854782b2e53dc4364f8d0c27b98534d0aa32ee085a5f667df76e7f2ec5115c4afdc08d85134c75abb053bd0845b35b7f81

diff --git a/app-emacs/jinx/jinx-1.11.ebuild b/app-emacs/jinx/jinx-1.11.ebuild
new file mode 100644
index 000000000000..2c768143a124
--- /dev/null
+++ b/app-emacs/jinx/jinx-1.11.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=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
+}

Reply via email to