mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2025-12-08 00:05:33 +03:00
app-emacs/jinx: add 2.4
Signed-off-by: Arsen Arsenović <arsen@gentoo.org>
This commit is contained in:
parent
cc4df93393
commit
aa3b124652
@ -1 +1,2 @@
|
||||
DIST jinx-2.3.tar.gz 37512 BLAKE2B 837b041af679da173e87ea51b1e9fcd7a56f2cffbafd70e67de978904e89a1ae6dd5e843f61eb1a79da95468ad1ce9dcc1e4d4f4a0f66ad1df8728e1180e6c52 SHA512 60e64bb40b97333a37e0a6a2116fa3a2e0a66fcfb2eba59f21aaf220c0917d456d9b2019b9f4213fef3e59d3befc811874abc91aa0acb7ed01dd22e50b2c168c
|
||||
DIST jinx-2.4.tar.gz 38109 BLAKE2B e787cce16ae31dd6865410296e2e9d20edd7418c15f79b4f8b7e3b2aa268cf852f4139b032331c5cb3476f085ffe000355a5c1d2aaf73dfb32e1b5640f5b09a0 SHA512 7ebe31a5c3d9595b8b27bc73d706497efab091fd9e5b04e72ebbfb8bb4b32813846b4aaa93ddc41c4d7e6c5b4d070e5da2f34fb49ad8a43a650cb4bd6d4a031d
|
||||
|
||||
55
app-emacs/jinx/jinx-2.4.ebuild
Normal file
55
app-emacs/jinx/jinx-2.4.ebuild
Normal 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
|
||||
}
|
||||
Loading…
x
Reference in New Issue
Block a user