summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastian Hamann <code@ares-macrotechnology.com>2023-07-31 11:51:14 +0200
committerArthur Zamarin <arthurzam@gentoo.org>2023-08-25 20:11:36 +0300
commitc348af6db45e3b5db9b8692317f5ba2a56f6909b (patch)
treeed0b8609d81cfcdfad017f179207d8aabd44bf4f
parentapp-misc/broot: drop 1.22.1 (diff)
downloadgentoo-c348af6db45e3b5db9b8692317f5ba2a56f6909b.tar.gz
gentoo-c348af6db45e3b5db9b8692317f5ba2a56f6909b.tar.bz2
gentoo-c348af6db45e3b5db9b8692317f5ba2a56f6909b.zip
app-misc/nnn: drop 4.7-r1
Signed-off-by: Sebastian Hamann <code@ares-macrotechnology.com> Closes: https://github.com/gentoo/gentoo/pull/32117 Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
-rw-r--r--app-misc/nnn/Manifest1
-rw-r--r--app-misc/nnn/nnn-4.7-r1.ebuild92
2 files changed, 0 insertions, 93 deletions
diff --git a/app-misc/nnn/Manifest b/app-misc/nnn/Manifest
index 96053abc945d..16261ed54a50 100644
--- a/app-misc/nnn/Manifest
+++ b/app-misc/nnn/Manifest
@@ -1,2 +1 @@
-DIST nnn-4.7.tar.gz 250038 BLAKE2B b63da6ac8a0ac6b8b2bce0ed45c43c9e707f11f99e6b456131728d7fde5f638162d8e3bbf1b3a0fadba315d38d9cc1b38c0d4a644ee800fbea00ffe1c92beef0 SHA512 28ec9b9ab93f979d77e80957df2a70ec687e56ada6d5e8555c121f2454b5c049466120e5eb3570174411a61e3855c869f96d306a43516cceff8c4cb7f1075875
DIST nnn-4.8.tar.gz 253547 BLAKE2B 36e6e1dc39bfbce7fa72fd322339395fa78a410c93043860be845ff3d5be3178fd37966f57da17f115cab8a6973462d44243052a6c736665ef9a180cd9fd6978 SHA512 932e27ec1d7cd3db6ccba33edb3d1ad2620109cde3c4114b734eef3e04d6c6c22ddaa1c4727908dba2a107dd4cfe1f5193aec450f680a390671f48e63d0133bd
diff --git a/app-misc/nnn/nnn-4.7-r1.ebuild b/app-misc/nnn/nnn-4.7-r1.ebuild
deleted file mode 100644
index 16cbfb7f2230..000000000000
--- a/app-misc/nnn/nnn-4.7-r1.ebuild
+++ /dev/null
@@ -1,92 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit bash-completion-r1 flag-o-matic toolchain-funcs xdg
-
-DESCRIPTION="The missing terminal file browser for X"
-HOMEPAGE="https://github.com/jarun/nnn"
-SRC_URI="https://github.com/jarun/nnn/archive/v${PV}.tar.gz -> ${P}.tar.gz"
-
-LICENSE="BSD-2"
-SLOT="0"
-KEYWORDS="~amd64 ~ppc64 ~x86"
-IUSE="+readline pcre 8contexts icons nerdfonts emoji qsort colemak gitstatus namefirst restorepreview"
-
-DEPEND="sys-libs/ncurses:=
- pcre? ( dev-libs/libpcre )
- readline? ( sys-libs/readline:= )
- elibc_musl? ( sys-libs/fts-standalone )"
-BDEPEND="virtual/pkgconfig"
-RDEPEND="${DEPEND}"
-REQUIRED_USE="?? ( icons nerdfonts emoji )"
-
-src_prepare() {
- default
- tc-export CC
- use elibc_musl && append-flags "-lfts"
- # When using nnn's bundled patches, the 'install' target should not depend
- # on 'all'. See: https://github.com/jarun/nnn/issues/1493
- sed -i -e 's/install: all/install:/' Makefile || die "sed failed"
-}
-
-src_compile() {
- nnn_opts=(
- O_NORL=$(usex readline 0 1)
- O_PCRE=$(usex pcre 1 0)
- O_CTX8=$(usex 8contexts 1 0)
- O_ICONS=$(usex icons 1 0)
- O_NERD=$(usex nerdfonts 1 0)
- O_EMOJI=$(usex emoji 1 0)
- O_QSORT=$(usex qsort 1 0)
- # nnn's user-submitted patches
- O_COLEMAK=$(usex colemak 1 0)
- O_GITSTATUS=$(usex gitstatus 1 0)
- O_NAMEFIRST=$(usex namefirst 1 0)
- O_RESTOREPREVIEW=$(usex restorepreview 1 0)
- )
- emake "${nnn_opts[@]}"
-}
-
-src_install() {
- emake PREFIX="${EPREFIX}/usr" DESTDIR="${D}" install
-
- emake PREFIX="${EPREFIX}/usr" DESTDIR="${D}" install-desktop
-
- newbashcomp misc/auto-completion/bash/nnn-completion.bash nnn
-
- insinto /usr/share/fish/vendor_completions.d
- doins misc/auto-completion/fish/nnn.fish
-
- insinto /usr/share/zsh/site-functions
- doins misc/auto-completion/zsh/_nnn
-
- einstalldocs
-
- insinto /usr/share/nnn
- insopts -m0755
- doins -r plugins
- fperms 0644 /usr/share/nnn/plugins/README.md
-}
-
-pkg_postinst() {
- xdg_pkg_postinst
-
- elog "nnn plugins are installed to /usr/share/nnn/plugins/, but nnn does not"
- elog "load them fom this directory. You will need to copy/symlink them to"
- elog "~/.config/nnn/plugins/ if you want to use them."
- elog "Note that some plugins have runtime dependencies that may need to be installed."
- elog "Refer to the individual plugin's in-file documentation for more information."
-
- if use icons; then
- elog "In order for file icons to work, your terminal needs to use icons-in-terminal."
- elog "See https://github.com/sebastiencs/icons-in-terminal"
- elif use nerdfonts; then
- elog "In order for file icons to work, your terminal needs to use a patched nerdfont."
- elog "See https://www.nerdfonts.com/"
- elif use emoji; then
- elog "In order for file icons to work, your terminal needs to use a font that"
- elog "includes standard unicode emoji."
- fi
-}