diff options
author | 2023-01-29 22:21:01 +0100 | |
---|---|---|
committer | 2023-01-29 22:22:04 +0100 | |
commit | 86d0e242ae40560010204fe7c5c0d69ce22b3c47 (patch) | |
tree | 8ffd00a509fb1b60501bc1aab295fee77b6d00bc /app-emacs/slime/slime-2.28.ebuild | |
parent | app-emacs/sml-mode: bump to 6.11 (diff) | |
download | gentoo-86d0e242ae40560010204fe7c5c0d69ce22b3c47.tar.gz gentoo-86d0e242ae40560010204fe7c5c0d69ce22b3c47.tar.bz2 gentoo-86d0e242ae40560010204fe7c5c0d69ce22b3c47.zip |
app-emacs/slime: bump to 2.28
Signed-off-by: Maciej Barć <xgqt@gentoo.org>
Diffstat (limited to 'app-emacs/slime/slime-2.28.ebuild')
-rw-r--r-- | app-emacs/slime/slime-2.28.ebuild | 66 |
1 files changed, 66 insertions, 0 deletions
diff --git a/app-emacs/slime/slime-2.28.ebuild b/app-emacs/slime/slime-2.28.ebuild new file mode 100644 index 000000000000..da4135f52bf4 --- /dev/null +++ b/app-emacs/slime/slime-2.28.ebuild @@ -0,0 +1,66 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit elisp + +DESCRIPTION="SLIME, the Superior Lisp Interaction Mode (Extended)" +HOMEPAGE="https://slime.common-lisp.dev/" +SRC_URI="https://github.com/slime/slime/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="public-domain GPL-2+ GPL-3+ LLGPL-2.1 ZLIB xref? ( xref.lisp )" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~sparc ~x86" +IUSE="doc xref" +RESTRICT="test" # tests fail to contact sbcl + +RDEPEND="virtual/commonlisp + dev-lisp/asdf" +DEPEND="${RDEPEND}" +BDEPEND=">=sys-apps/texinfo-5.1 + doc? ( virtual/texi2dvi )" + +SITEFILE="70${PN}-gentoo.el" + +src_prepare() { + default + # Remove xref.lisp (which is non-free) unless USE flag is set + use xref || rm xref.lisp || die +} + +src_compile() { + elisp-compile *.el + BYTECOMPFLAGS="${BYTECOMPFLAGS} -L contrib -l slime" \ + elisp-compile contrib/*.el lib/*.el + + emake -C doc slime.info + if use doc; then + VARTEXFONTS="${T}"/fonts emake -C doc all + fi +} + +src_install() { + # Install core + elisp-install ${PN} *.{el,elc,lisp} + + # Install contribs + elisp-install ${PN}/contrib/ contrib/*.{el,elc} contrib/swank* + + # Install lib + elisp-install ${PN}/lib/ lib/*.{el,elc} + + # Install swank + elisp-install ${PN}/swank/ swank/*.lisp + + elisp-site-file-install "${FILESDIR}/${SITEFILE}" + + # Install docs + dodoc README.md CONTRIBUTING.md NEWS PROBLEMS + newdoc contrib/README.md README-contrib.md + doinfo doc/slime.info + use doc && dodoc doc/*.pdf + + # Bug #656760 + touch "${ED}${SITELISP}/${PN}/lib/.nosearch" || die +} |