commit: 2a8a7672f1628ecdf1d4f662f9658413d1dc1356 Author: Anna (cybertailor) Vyalkova <cyber+gentoo <AT> sysrq <DOT> in> AuthorDate: Sun Jun 30 04:08:37 2024 +0000 Commit: Anna Vyalkova <cyber+gentoo <AT> sysrq <DOT> in> CommitDate: Sun Jun 30 04:10:38 2024 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=2a8a7672
net-client/telescope: add 0.10.1, drop 0.8.1 Signed-off-by: Anna (cybertailor) Vyalkova <cyber+gentoo <AT> sysrq.in> net-client/telescope/Manifest | 4 +-- net-client/telescope/metadata.xml | 3 -- ...escope-0.8.1.ebuild => telescope-0.10.1.ebuild} | 33 +++++++++++++--------- 3 files changed, 22 insertions(+), 18 deletions(-) diff --git a/net-client/telescope/Manifest b/net-client/telescope/Manifest index 95246b131..d3c582d55 100644 --- a/net-client/telescope/Manifest +++ b/net-client/telescope/Manifest @@ -1,4 +1,4 @@ -DIST telescope-0.8.1.sha.sig 437 BLAKE2B 54c176b06012f32d3b31370baebcf3c2887eb57db64559f59b942f9527ee069c5b08a1516659743cb8b8d5f0ba4202ff49360c835af28c8fb3a693d3e0a856a6 SHA512 3952bb740f2146c157b613b90563b7b7badefb8fa99849dc1d3f124e30cccb6fdf2488e01afb96fc52ae20681fa7fe048e56d3c31c9acc74e300d9c2cce9169d -DIST telescope-0.8.1.tar.gz 305052 BLAKE2B 0e4955684a3694a21a46eadd5eba69b7b41424c191e596443b5edc66155e4e3f2384f2a833fec08b1c4d61e74189c0b1069e8089583a284d9df9d0bbde2a444d SHA512 1134fa763f36c306bb676fe361442e557144f5d32e29e5ba8a3fb406ef274b28b462389729f1eacc32d2bb341fbb1627fc4b07cca1089f5276317151239dc822 +DIST telescope-0.10.1.tar.gz 1174821 BLAKE2B c8d70fd9ea4d609b334c3c1818c452cf899d6e96d72b7ac7d3a7e5d0b4c24ab9d1b6c190dc617eede43debe65651c937ace266c1666d1d8cd1b928789a13dce6 SHA512 6915b663c16da8d7266d2da0e205a7953800cf9ad517ffc522b95339e819e54c93a3d73d7056d8578f6649cbaffdc8715338050cfb56e325644b2259eb5e82cc +DIST telescope-0.10.1.tar.gz.sha256.sig 251 BLAKE2B 00f8e13d38686f160129732d8529cc2e3e61941199a8083e75afe3ad39914281fe03f7af21cad1651175b6ef358ccf2402404ba79c72effa8c4f1d882f401824 SHA512 c5c54337b176035832e9f1a9c218a117d6dc5b07fcb92430c6985cf760e3bd032523c81edd09c9f4f6cb624f1d702b228358f9070f1c5b5d83e0f88efe7a5231 DIST telescope-0.9.tar.gz 349054 BLAKE2B 4fa83a47d0661e6c0bbed1f24e51152270311873bb48e80ef119175d152c40261a13ce415e5faba814bf7fc4c4f4dda84674ea30cb518d2ab11ed1163a4fad26 SHA512 cea25b8b988011ced6851917b0452d96972e0c9a48a3097f74f2f6fbef1e9d6df7ddf9408ba9885554b269a31d4a5a8ab25817f28d42e430a8ce172453cbd56d DIST telescope-0.9.tar.gz.sha256.sig 247 BLAKE2B 9a71d0f7f51974720b913bdcc9eddd5fd6f51ab910abdf989dcf721c25ec0fa63493aedd89e34adfdcb53e1a85bcb6e7fb1e8b99b1db5b445a320d5fa73fa57f SHA512 86e29e51d4b12265ce383b6d3bb33e34d29f0fcbf062b1d13bcc53484665176a72d4a28f06439176cfdf64b1b76c754f1266816bdbbbc67bef54ed7695fde9a7 diff --git a/net-client/telescope/metadata.xml b/net-client/telescope/metadata.xml index 407a280c3..6d6c168bd 100644 --- a/net-client/telescope/metadata.xml +++ b/net-client/telescope/metadata.xml @@ -2,9 +2,6 @@ <!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> <pkgmetadata> <!-- maintainer-needed --> -<use> - <flag name="libbsd">Use <pkg>dev-libs/libbsd</pkg> instead of internal funcs</flag> -</use> <upstream> <maintainer> <name>Omar Polo</name> diff --git a/net-client/telescope/telescope-0.8.1.ebuild b/net-client/telescope/telescope-0.10.1.ebuild similarity index 56% rename from net-client/telescope/telescope-0.8.1.ebuild rename to net-client/telescope/telescope-0.10.1.ebuild index 5980fc19e..1b1f3e9b5 100644 --- a/net-client/telescope/telescope-0.8.1.ebuild +++ b/net-client/telescope/telescope-0.10.1.ebuild @@ -1,31 +1,33 @@ -# Copyright 2021-2022 Gentoo Authors +# Copyright 2021-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 VERIFY_SIG_METHOD="signify" -inherit toolchain-funcs verify-sig +inherit optfeature toolchain-funcs verify-sig DESCRIPTION="w3m-like browser for Gemini" HOMEPAGE="https://telescope.omarpolo.com" -SRC_URI="https://github.com/omar-polo/${PN}/releases/download/${PV}/${P}.tar.gz - verify-sig? ( https://github.com/omar-polo/${PN}/releases/download/${PV}/SHA256.sig -> ${P}.sha.sig )" +SRC_URI="https://ftp.omarpolo.com/${P}.tar.gz + verify-sig? ( https://ftp.omarpolo.com/${P}.tar.gz.sha256.sig )" -LICENSE="!libbsd? ( BSD MIT ) ISC unicode" +LICENSE="ISC" SLOT="0" KEYWORDS="~amd64 ~x86" -IUSE="+libbsd" +IUSE="unicode" DEPEND=" - dev-libs/imsg-compat dev-libs/libbsd - dev-libs/libevent:= + dev-libs/libgrapheme:= dev-libs/libretls:= sys-libs/ncurses:= " -RDEPEND="${DEPEND}" +RDEPEND="${DEPEND} + app-misc/editor-wrapper + net-mail/mailbase +" BDEPEND=" - virtual/pkgconfig + app-alternatives/yacc verify-sig? ( sec-keys/signify-keys-telescope:$(ver_cut 1-2) ) " @@ -34,10 +36,10 @@ VERIFY_SIG_OPENPGP_KEY_PATH="/usr/share/signify-keys/${PN}-$(ver_cut 1-2).pub" src_unpack() { if use verify-sig; then # Too many levels of symbolic links - cp "${DISTDIR}"/${P}.{sha.sig,tar.gz} "${WORKDIR}" || die + cp "${DISTDIR}"/${P}.tar.gz{,.sha256.sig} "${WORKDIR}" || die cd "${WORKDIR}" || die verify-sig_verify_signed_checksums \ - ${P}.sha.sig sha256 ${P}.tar.gz + ${P}.tar.gz.sha256.sig sha256 ${P}.tar.gz fi default } @@ -47,9 +49,14 @@ src_configure() { local econf_args=( HOSTCC="${BUILD_CC}" HOSTCFLAGS="${BUILD_CFLAGS}" + --with-default-editor="${EPREFIX}"/usr/libexec/editor --with-libbsd - --with-libimsg + --without-libimsg ) econf "${econf_args[@]}" } + +pkg_postinst() { + optfeature "file opener support" x11-misc/xdg-utils +}