commit: 259be0abb75e549e8957bc40ad3c1d1c7f7c31e0 Author: Sam James <sam <AT> gentoo <DOT> org> AuthorDate: Tue Dec 6 20:30:23 2022 +0000 Commit: Sam James <sam <AT> gentoo <DOT> org> CommitDate: Tue Dec 6 20:30:23 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=259be0ab
app-editors/xvile: add verify-sig, allow app-alternatives/lex Signed-off-by: Sam James <sam <AT> gentoo.org> app-editors/xvile/Manifest | 1 + app-editors/xvile/xvile-9.8w-r2.ebuild | 61 ++++++++++++++++++++++++++++++++++ 2 files changed, 62 insertions(+) diff --git a/app-editors/xvile/Manifest b/app-editors/xvile/Manifest index 00935df1403b..4e1addb900e6 100644 --- a/app-editors/xvile/Manifest +++ b/app-editors/xvile/Manifest @@ -1,3 +1,4 @@ DIST vile-9.8t.tgz 2352119 BLAKE2B fc1c75eba09e8be99945ba0d178fd150576d8108f906afb20dba265adaee9e5bea4869415d3ebceabf0b6b56c147add79e9c7e4fe34d7f4744930c3728e4a4a4 SHA512 4be4e37c7231395cae9236796073c2c3e428f1945283785a931c5d4cce94e0f970efa6634b0f9053679a00f4b4577704ea38ded2129e444b26ee9935a1c3d229 DIST vile-9.8v.tgz 2405398 BLAKE2B cd8753c57ff95c9b420026128fd19b7c689c99500da7cae91d3160dded46aa101b0cae32daeaf0377d4d72a5e526e8e4f25422bbbff2cc5ecdef10b7f04c8b39 SHA512 b752f26148bd4411ab6b31697459a16d8168f79ffad6b3509d6cf5d40611176b833e56f4bac21fe18ecdd256be467ba96ea98149daceab671002df49508eb8d2 DIST vile-9.8w.tgz 2407322 BLAKE2B 824142c2d081db7c74ab4ce36db63e2d26e82954b32d274477f920b3519c75a249745365f7fb4f117f613c04fddd468394b4636d5f84d9f024eee3cb9c8332ba SHA512 54a96b400f479c633b917691fdab5ec5098ff1d6a6f5390c085635b4449ee7f02988e52c6b442918917455d02d5d74781ed57e4f944422576cf6532caaa446af +DIST vile-9.8w.tgz.asc 729 BLAKE2B 24ee3733957239b808566cf1c46cd45089ab0e9cd980fc477190beca79a85e6d31925c8eb02138442e4776b7ee678aec9d522d4bb3a8d72670e0720ab9369a5c SHA512 143eaa6ea64cf1d8dc078aba197544a036858f91a15f2f8c4254095f7cdc725b1720cf600afcd3ba67cf0c0414cefb0a058a5730d1a70906fe3591ddc46fb916 diff --git a/app-editors/xvile/xvile-9.8w-r2.ebuild b/app-editors/xvile/xvile-9.8w-r2.ebuild new file mode 100644 index 000000000000..2c2ed794f608 --- /dev/null +++ b/app-editors/xvile/xvile-9.8w-r2.ebuild @@ -0,0 +1,61 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +# Bump with app-editors/vile + +VERIFY_SIG_OPENPGP_KEY_PATH="${BROOT}"/usr/share/openpgp-keys/thomasdickey.asc +inherit verify-sig + +MY_P="${PN/x/}-${PV}" +DESCRIPTION="VI Like Emacs -- yet another full-featured vi clone" +HOMEPAGE="https://invisible-island.net/vile/" +SRC_URI="https://invisible-island.net/archives/vile/current/${MY_P}.tgz" +SRC_URI+=" verify-sig? ( https://invisible-island.net/archives/vile/current/${MY_P}.tgz.asc )" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~riscv ~sparc ~x86" +IUSE="perl" + +RDEPEND=" + ~app-editors/vile-${PV} + virtual/libcrypt:= + >=x11-libs/libX11-1.0.0 + >=x11-libs/libXt-1.0.0 + >=x11-libs/libICE-1.0.0 + >=x11-libs/libSM-1.0.0 + >=x11-libs/libXaw-1.0.1 + >=x11-libs/libXpm-3.5.4.2 + perl? ( dev-lang/perl:= ) +" +DEPEND=" + ${RDEPEND} + x11-base/xorg-proto +" +BDEPEND=" + app-alternatives/lex + virtual/pkgconfig + verify-sig? ( sec-keys/openpgp-keys-thomasdickey ) +" + +PATCHES=( "${FILESDIR}/${P}"-fix-build-for-clang16.patch ) + +S="${WORKDIR}"/${MY_P} + +src_configure() { + econf \ + --disable-stripping \ + --with-ncurses \ + --with-pkg-config \ + --with-x \ + $(use_with perl) +} + +src_install() { + dobin xvile + dodoc CHANGES* README doc/*.doc + docinto html + dodoc doc/*.html +}