mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-06 17:47:07 -08:00
sys-process/btop: drop 1.2.8
Signed-off-by: Adrian Schollmeyer <nex+b-g-o@nexadn.de> Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
@@ -1,3 +1,2 @@
|
||||
DIST btop-1.2.12.tar.gz 980406 BLAKE2B ddaa023b85a00edfb27b55e574950934cce578ad7bbf0ea03b2780a511078638c14cd2316ebce8701be76c13ed3af8f0ded703071b363fddc14bcbea040279dd SHA512 36bf329a7b9922ff5cae990f5528625280b6b3fcb83d0af2e502876a2a8f4864c3a6ecbc6cb5aaa885f637859eef66470ff0cc86036f76b499b23a7c4086ea60
|
||||
DIST btop-1.2.8.tar.gz 976370 BLAKE2B ab71ac322afd84b5b73c5deb9003f319078809d81e2725a7447d2a8fe7539af21c669e7199a3422b2a1cc2ecbd79a46179343e00311f2d56bfa30f51d6340bd3 SHA512 4b5a3685ca5cf301cd7d6556bd365892587e6811f8323ca66728022aba7cc3ff95cf591b452151c9431824dc458bc3d09e10474c7c02a944e8931c4585914f5a
|
||||
DIST btop-1.2.9.tar.gz 978265 BLAKE2B ff80079a393342a2cf3aefad6ead8be8b786fbc2b9445e8e2a8b37386f65f4060c801a6f59d216cd611783f4135a60d64b95ff2b5e1a3d62bb2d40030bde8974 SHA512 424573c8f82d0daf748cba7c82e72232773f145af9792ac78a5f5f18d98a8695f11452de106c72cf685ecb8cc89729471a494f9ea6b4300bdb2fa6acdbf4ac60
|
||||
|
||||
@@ -1,57 +0,0 @@
|
||||
# Copyright 2021-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit toolchain-funcs xdg-utils
|
||||
|
||||
DESCRIPTION="A monitor of resources"
|
||||
HOMEPAGE="https://github.com/aristocratos/btop"
|
||||
SRC_URI="https://github.com/aristocratos/btop/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 arm64 ppc64 ~riscv x86"
|
||||
|
||||
BDEPEND="
|
||||
>=sys-devel/gcc-8
|
||||
"
|
||||
|
||||
pkg_setup() {
|
||||
if [[ "${MERGE_TYPE}" != "binary" ]]; then
|
||||
if ! tc-is-gcc ; then
|
||||
# https://bugs.gentoo.org/839318
|
||||
die "$(tc-getCXX) is not a supported compiler. Please use sys-devel/gcc instead."
|
||||
fi
|
||||
fi
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
# btop installs README.md to /usr/share/btop by default
|
||||
sed -i '/^.*cp -p README.md.*$/d' Makefile || die
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
# Disable btop optimization flags, since we have our flags in CXXFLAGS
|
||||
emake OPTFLAGS="" CXX="$(tc-getCXX)"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake \
|
||||
PREFIX="${EPREFIX}/usr" \
|
||||
DESTDIR="${D}" \
|
||||
install
|
||||
|
||||
dodoc README.md CHANGELOG.md
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
xdg_desktop_database_update
|
||||
xdg_icon_cache_update
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
xdg_desktop_database_update
|
||||
xdg_icon_cache_update
|
||||
}
|
||||
Reference in New Issue
Block a user