diff options
Diffstat (limited to 'app-misc/nnn')
-rw-r--r-- | app-misc/nnn/Manifest | 2 | ||||
-rw-r--r-- | app-misc/nnn/nnn-4.7-r1.ebuild | 92 |
2 files changed, 0 insertions, 94 deletions
diff --git a/app-misc/nnn/Manifest b/app-misc/nnn/Manifest index 970fcb2c4f1a..9793b4360f2a 100644 --- a/app-misc/nnn/Manifest +++ b/app-misc/nnn/Manifest @@ -1,5 +1,3 @@ -DIST nnn-4.7.tar.gz 250038 BLAKE2B b63da6ac8a0ac6b8b2bce0ed45c43c9e707f11f99e6b456131728d7fde5f638162d8e3bbf1b3a0fadba315d38d9cc1b38c0d4a644ee800fbea00ffe1c92beef0 SHA512 28ec9b9ab93f979d77e80957df2a70ec687e56ada6d5e8555c121f2454b5c049466120e5eb3570174411a61e3855c869f96d306a43516cceff8c4cb7f1075875 DIST nnn-4.8.tar.gz 253547 BLAKE2B 36e6e1dc39bfbce7fa72fd322339395fa78a410c93043860be845ff3d5be3178fd37966f57da17f115cab8a6973462d44243052a6c736665ef9a180cd9fd6978 SHA512 932e27ec1d7cd3db6ccba33edb3d1ad2620109cde3c4114b734eef3e04d6c6c22ddaa1c4727908dba2a107dd4cfe1f5193aec450f680a390671f48e63d0133bd -EBUILD nnn-4.7-r1.ebuild 2839 BLAKE2B e91f853480152bccc19d53d9fad6f50ada4f19e16f9c5f5fa823dd90a2bc68ec030a8ce414f1f4a94d3e3db51f7ba25f0f02a967ce89affe9e21cf4d88893977 SHA512 cadf7e87fa3eadb497f608eb29c6d746a956bffc8858091b0212edaf1195ff77df214e5e529c67ce46b12c2273cd4f44cc097b10f17330311d8a6161a68cca82 EBUILD nnn-4.8.ebuild 3172 BLAKE2B e08054dfbf5d37ef5f5f2893a7ff1a19a5bc85361d3355e520ccdd02b616b73effb61cc828e87fd27897eecb1e91990c78aa22beb7deed0c1aa48a77de928937 SHA512 cc5f215d7d099b03227dca7951cd23d06f6c143d01bbf02e395fc12cb978b250d83a0e43cad993a6c409f1d3dc76dddac8e5d977ccb5724faa695187aa3aa3df MISC metadata.xml 1236 BLAKE2B 9afb37cabe29313f3b7203be1583fab01e067c798d5a9bb0ab5a4d5bf172d016feae30f2bf02577d390378d3292bb1f51aa4ffeeaf34c738c330bea020bbe80d SHA512 05ada5daf33b0fa8df18bca4432dea9a1dd9bfb0e74ecb4ae6d4b0860437aaf5f3850ef67283a28a4edb49fe747fb65ef9a27b829529992ed6826436530d07df 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 -} |