diff --git a/app-text/lsp/Manifest b/app-text/lsp/Manifest new file mode 100644 index 0000000000..97b8f9f5b7 --- /dev/null +++ b/app-text/lsp/Manifest @@ -0,0 +1 @@ +DIST v0.5.0-rc4.tar.gz 60316 BLAKE2B db8b45b7f0e584f8be865fc7e0bb201bbddc780b5adfe21b9367d76f4d5a581382ff8bb8d76f68a6929cf66f16e8467e9eb2cad34385f8512e35e1acac21631d SHA512 7682f060b489cafa671d78bb9e6c130a317eaee08da6638c35ae422b7ce30436f06487e5dd2fce2055edb32a12cb63d7fefbfb29169a316105210609016a2f1c diff --git a/app-text/lsp/lsp-0.5.0_rc4.ebuild b/app-text/lsp/lsp-0.5.0_rc4.ebuild new file mode 100644 index 0000000000..f4743a069d --- /dev/null +++ b/app-text/lsp/lsp-0.5.0_rc4.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit meson + +MY_PV="${PV/_/-}" +MY_P="lsp-${MY_PV}" +S="${WORKDIR}/${MY_P}" + +DESCRIPTION="The least significant pager" +HOMEPAGE="https://github.com/dgouders/lsp" +SRC_URI="https://github.com/dgouders/lsp/archive/refs/tags/v${MY_PV}.tar.gz" +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64" +RDEPEND=" + >=sys-apps/man-db-2.12.0 + >=sys-libs/ncurses-6.4_p20230401 +" +DEPEND="${RDEPEND}" + +src_configure() { + meson_src_configure +} + +pkg_postinst() { + elog "lsp(1) is still considered experimental." + elog "Testers and feedback are very welcome!" + elog "" + elog "One known problem are files with long lines." + elog "Movement within those files isn't accurate but" + elog "this will get fixed in the near future." + elog "" + elog "To enable lsp(1) to be automatically selected" + elog "as a pager, set either MANPAGER, GIT_PAGER and/or PAGER." +} diff --git a/app-text/lsp/metadata.xml b/app-text/lsp/metadata.xml new file mode 100644 index 0000000000..524f5aa9ea --- /dev/null +++ b/app-text/lsp/metadata.xml @@ -0,0 +1,28 @@ + + + + + dirk@gouders.net + Primary maintainer + + + https://github.com/dgouders/lsp/issues + https://github.com/dgouders/lsp/ + dgouders/lsp + + + lsp(1) is a terminal pager with a focus on manual pages. + + It offers some assistance in handling manual pages: + + * Navigation to other referenced manual pages. + * Opening of any manual page by name. + * Maintainance of several open manual pages in a session. + * Experimental TOC mode that is helpful to show only sections and + subsections of manual pages. + * Creating a pseudo-file with the output of apropos. + This could be useful especially for novice users: this can be + used to search or read through all manual pages' short descriptions + and immediately open interesting ones. + +