system-tools: remove ytop

This commit is contained in:
mglae 2020-12-25 16:15:13 +01:00
parent 0a4842fffd
commit f9f647e6d1
2 changed files with 2 additions and 31 deletions

View File

@ -1,25 +0,0 @@
# SPDX-License-Identifier: GPL-2.0
# Copyright (C) 2020-present Team LibreELEC (https://libreelec.tv)
PKG_NAME="ytop"
PKG_VERSION="0.6.2"
PKG_SHA256="d9fd6ce00e27de894bc0790947fbeab40e81e34afa5ead5a53d126c458d50e99"
PKG_LICENSE="MIT"
PKG_SITE="https://github.com/cjbassi/ytop"
PKG_URL="https://github.com/cjbassi/ytop/archive/$PKG_VERSION.tar.gz"
PKG_DEPENDS_TARGET="toolchain rust"
PKG_LONGDESC="A TUI system monitor written in Rust."
PKG_TOOLCHAIN="manual"
make_target() {
. "$(get_build_dir rust)/cargo/env"
cargo build \
--release \
--locked \
--all-features
}
makeinstall_target() {
mkdir -p $INSTALL
cp $PKG_BUILD/.$TARGET_NAME/*/release/ytop $INSTALL
}

View File

@ -11,7 +11,7 @@ PKG_URL=""
PKG_DEPENDS_TARGET="toolchain"
PKG_SECTION="virtual"
PKG_SHORTDESC="A bundle of system tools and programs"
PKG_LONGDESC="This bundle currently includes autossh, diffutils, dstat, dtach, efibootmgr, encfs, evtest, fdupes, file, getscancodes, hddtemp, hd-idle, hid_mapper, htop, i2c-tools, inotify-tools, jq, lm_sensors, lshw, mc, mtpfs, nmon, p7zip, patch, pv, screen, smartmontools, strace, stress-ng, unrar, usb-modeswitch, vim and ytop."
PKG_LONGDESC="This bundle currently includes autossh, diffutils, dstat, dtach, efibootmgr, encfs, evtest, fdupes, file, getscancodes, hddtemp, hd-idle, hid_mapper, htop, i2c-tools, inotify-tools, jq, lm_sensors, lshw, mc, mtpfs, nmon, p7zip, patch, pv, screen, smartmontools, strace, stress-ng, unrar, usb-modeswitch and vim."
PKG_IS_ADDON="yes"
PKG_ADDON_NAME="System Tools"
@ -48,8 +48,7 @@ PKG_DEPENDS_TARGET="toolchain \
stress-ng \
unrar \
usb-modeswitch \
vim \
ytop"
vim"
if [ "$TARGET_ARCH" = "x86_64" ]; then
PKG_DEPENDS_TARGET="$PKG_DEPENDS_TARGET efibootmgr st"
@ -164,7 +163,4 @@ addon() {
# vim
cp -P $(get_install_dir vim)/usr/bin/vim $ADDON_BUILD/$PKG_ADDON_ID/bin
cp -Pa $(get_install_dir vim)/storage/.kodi/addons/virtual.system-tools/data/vim/ $ADDON_BUILD/$PKG_ADDON_ID/data
# ytop
cp -P $(get_install_dir ytop)/ytop $ADDON_BUILD/$PKG_ADDON_ID/bin
}