app-editors/neovim-bin: drop 0.12.2

Signed-off-by: Leo Douglas <douglarek@gmail.com>
This commit is contained in:
Leo Douglas authored and jinqiang zhang committed 2026-05-09 20:03:52 +08:00
1 parent caa80d663e
commit bfb3722f96
2 files changed
-97

No files matched your search

-2
View File
@@ -1,2 +0,0 @@
DIST neovim-bin-0.12.2-amd64.tar.gz 11368705 BLAKE2B b300a267fde7ea6f9a90da590b50a6c2005a57e3d82201a773093bc0dc674aa18b7fd5ecd375de98d9b1d71f097b1a9830bb51673f3959ad067fcbb942b3fec7 SHA512 7d10e9b0e9cd8ab9d7be6893011b07f72520ee07401fc6a1c63014ea8312bcae210158eed766c8a30a72bc5bcf5779175462d35b7cd2f004827c6f25d66ccd48
DIST neovim-bin-0.12.2-arm64.tar.gz 11330653 BLAKE2B 31fe5549243bdaae2051198bb76e7299c0b74f66ea312bb85a0f971ebc19f83a175c92a4c641685cbedc694fce371f9e7cf10c077d1174fb8bc74482e2d745c7 SHA512 dcf95fcc325eedbf191de4d965148314517ade7e4e17c8f389c48d9ae2a678e3fcb322f922bb7613ae39f4cd9c401d54d0b39c4b37894b282d0933b76eedf73c
@@ -1,95 +0,0 @@
# Copyright 2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit desktop optfeature xdg
DESCRIPTION="Vim-fork focused on extensibility and agility"
HOMEPAGE="https://neovim.io"
if [[ ${PV} == 9999 ]]; then
PROPERTIES+=" live"
else
SRC_URI="
amd64? ( https://github.com/neovim/neovim/releases/download/v${PV}/nvim-linux-x86_64.tar.gz -> ${P}-amd64.tar.gz )
arm64? ( https://github.com/neovim/neovim/releases/download/v${PV}/nvim-linux-arm64.tar.gz -> ${P}-arm64.tar.gz )
"
KEYWORDS="-* ~amd64"
fi
S="${WORKDIR}"
LICENSE="Apache-2.0 vim"
SLOT="0"
IUSE="+nvimpager"
[[ ${PV} == *9999* ]] && BDEPEND+=" net-misc/curl"
RDEPEND="
!app-editors/neovim
app-eselect/eselect-vi
"
RESTRICT="strip"
src_unpack() {
if [[ ${PV} == 9999 ]]; then
local arch_url
case ${ARCH} in
amd64) arch_url="https://github.com/neovim/neovim/releases/download/nightly/nvim-linux-x86_64.tar.gz" ;;
arm64) arch_url="https://github.com/neovim/neovim/releases/download/nightly/nvim-linux-arm64.tar.gz" ;;
*) die "Unsupported architecture: ${ARCH}" ;;
esac
einfo "Downloading neovim nightly for ${ARCH}..."
curl -L -o "${WORKDIR}/nvim-nightly-${ARCH}.tar.gz" "${arch_url}" || die "Failed to download"
cd "${WORKDIR}" || die
tar -xzf "nvim-nightly-${ARCH}.tar.gz" || die "Failed to extract"
else
default_src_unpack
fi
}
src_prepare() {
default
mv nvim-linux-*/* . && rm -r nvim-linux-* || die
}
src_install() {
dobin bin/nvim
# install a default configuration file
insinto /etc/vim
doins "${FILESDIR}"/sysinit.vim
insinto /usr/lib
doins -r lib/*
insinto /usr/share/nvim/runtime
doins -r share/nvim/runtime/*
for parser in c lua markdown query vim vimdoc; do
dosym ../../../../lib/nvim/parser/${parser}.so /usr/share/nvim/runtime/parser/${parser}.so
done
# conditionally install a symlink for nvimpager
if use nvimpager; then
fperms a+x usr/share/nvim/runtime/scripts/less.sh
dosym ../share/nvim/runtime/scripts/less.sh /usr/bin/nvimpager
fi
doicon -s 128 share/icons/hicolor/128x128/apps/nvim.png
domenu share/applications/nvim.desktop
doman share/man/man1/nvim.1
}
pkg_postinst() {
xdg_pkg_postinst
eselect vi update --if-unset
optfeature "clipboard support" x11-misc/xsel x11-misc/xclip gui-apps/wl-clipboard
optfeature "Python plugin support" dev-python/pynvim
optfeature "Ruby plugin support" dev-ruby/neovim-ruby-client
optfeature "remote/nvr support" dev-python/neovim-remote
}
pkg_postrm() {
eselect vi update --if-unset
}