mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
@@ -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
|
||||
|
||||
55
app-emacs/jinx/jinx-1.11.ebuild
Normal file
55
app-emacs/jinx/jinx-1.11.ebuild
Normal file
@@ -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
|
||||
}
|
||||
Reference in New Issue
Block a user