commit: df8113a57e8f8812252227112ce622a60937f4e9 Author: Matthew Smith <matthew <AT> gentoo <DOT> org> AuthorDate: Tue Dec 19 19:56:55 2023 +0000 Commit: Matthew Smith <matthew <AT> gentoo <DOT> org> CommitDate: Tue Dec 19 19:58:45 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=df8113a5
net-misc/putty: drop 9999 Signed-off-by: Matthew Smith <matthew <AT> gentoo.org> net-misc/putty/metadata.xml | 1 - net-misc/putty/putty-9999.ebuild | 96 ---------------------------------------- 2 files changed, 97 deletions(-) diff --git a/net-misc/putty/metadata.xml b/net-misc/putty/metadata.xml index ba7ec402bc1d..6d9cc6eb57e8 100644 --- a/net-misc/putty/metadata.xml +++ b/net-misc/putty/metadata.xml @@ -15,6 +15,5 @@ <use> <flag name="gssapi">Enable support for GSSAPI (<pkg>virtual/krb5</pkg>)</flag> <flag name="gtk">Build the PuTTY client which requires <pkg>x11-libs/gtk+</pkg>. If disabled only the CLI tools puttygen, plink, pscp and psftp will be built</flag> - <flag name="gtk2">Build the PuTTY client with <pkg>x11-libs/gtk+</pkg>:2 instead of <pkg>x11-libs/gtk+</pkg>:3</flag> </use> </pkgmetadata> diff --git a/net-misc/putty/putty-9999.ebuild b/net-misc/putty/putty-9999.ebuild deleted file mode 100644 index f3873e1fcf7f..000000000000 --- a/net-misc/putty/putty-9999.ebuild +++ /dev/null @@ -1,96 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 -inherit cmake desktop xdg-utils - -DESCRIPTION="A Free Telnet/SSH Client" -HOMEPAGE="https://www.chiark.greenend.org.uk/~sgtatham/putty/" -SRC_URI="https://dev.gentoo.org/~matthew/distfiles/${PN}-icons.tar.bz2" -if [[ ${PV} == *9999 ]] ; then - inherit git-r3 - EGIT_REPO_URI="https://git.tartarus.org/simon/putty.git" -else - SRC_URI+=" https://the.earth.li/~sgtatham/${PN}/${PV}/${P}.tar.gz" - KEYWORDS="~alpha amd64 ~arm64 ~hppa ppc ppc64 sparc x86" -fi -LICENSE="MIT" - -SLOT="0" -IUSE="debug doc +gtk gtk2 gssapi" - -RDEPEND=" - !net-misc/pssh - gtk? ( - dev-libs/glib:2 - x11-libs/gdk-pixbuf - x11-libs/libX11 - x11-libs/pango - gtk2? ( x11-libs/gtk+:2 ) - !gtk2? ( x11-libs/gtk+:3[X] ) - ) - gssapi? ( virtual/krb5 ) -" -DEPEND=" - ${RDEPEND} -" -BDEPEND=" - dev-lang/perl - virtual/pkgconfig - doc? ( app-doc/halibut ) -" - -REQUIRED_USE=" - gtk2? ( gtk ) -" - -src_unpack() { - [[ ${PV} == *9999 ]] && git-r3_src_unpack - default -} - -src_configure() { - cd "${S}"/unix || die - local mycmakeargs=( - -DPUTTY_DEBUG="$(usex debug)" - -DPUTTY_GSSAPI="$(usex gssapi DYNAMIC OFF)" - -DPUTTY_GTK_VERSION=$(usex gtk $(usex gtk2 2 3 ) '') - -DPUTTY_IPV6=yes - ) - cmake_src_configure -} - -src_compile() { - cmake_src_compile all doc -} - -src_install() { - cmake_src_install - - doman "${BUILD_DIR}"/doc/*.1 - - if use doc ; then - docinto html - dodoc "${BUILD_DIR}"/doc/html/*.html - fi - - if use gtk ; then - local i - for i in 16 22 24 32 48 64 128 256; do - newicon -s ${i} \ - "${WORKDIR}"/${PN}-icons/${PN}-${i}.png \ - ${PN}.png - done - - # install desktop file provided by Gustav Schaffter in #49577 - make_desktop_entry ${PN} PuTTY ${PN} Network - fi -} - -pkg_postinst() { - use gtk && xdg_icon_cache_update -} - -pkg_postrm() { - use gtk && xdg_icon_cache_update -}