From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id DD837158093 for ; Mon, 4 Jul 2022 13:57:23 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 163D9E0A9F; Mon, 4 Jul 2022 13:57:23 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id EEF37E0A9F for ; Mon, 4 Jul 2022 13:57:22 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id E919B34178B for ; Mon, 4 Jul 2022 13:57:21 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 5F8624EC for ; Mon, 4 Jul 2022 13:57:20 +0000 (UTC) From: "Florian Schmaus" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Florian Schmaus" Message-ID: <1656942906.c7cd94f46d5f20d83b34afc505a66e6dab6f77fd.flow@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sys-process/btop/ X-VCS-Repository: repo/gentoo X-VCS-Files: sys-process/btop/Manifest sys-process/btop/btop-1.2.8.ebuild X-VCS-Directories: sys-process/btop/ X-VCS-Committer: flow X-VCS-Committer-Name: Florian Schmaus X-VCS-Revision: c7cd94f46d5f20d83b34afc505a66e6dab6f77fd X-VCS-Branch: master Date: Mon, 4 Jul 2022 13:57:20 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: d3b42943-04e8-475d-8e62-05d05bd75aae X-Archives-Hash: b147d8a9f4847a502523f6e75d1eb2b0 commit: c7cd94f46d5f20d83b34afc505a66e6dab6f77fd Author: Adrian Schollmeyer nexadn de> AuthorDate: Thu Jun 30 09:30:48 2022 +0000 Commit: Florian Schmaus gentoo org> CommitDate: Mon Jul 4 13:55:06 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c7cd94f4 sys-process/btop: add 1.2.8 Signed-off-by: Adrian Schollmeyer nexadn.de> Closes: https://github.com/gentoo/gentoo/pull/26162 Signed-off-by: Florian Schmaus gentoo.org> sys-process/btop/Manifest | 1 + sys-process/btop/btop-1.2.8.ebuild | 44 ++++++++++++++++++++++++++++++++++++++ 2 files changed, 45 insertions(+) diff --git a/sys-process/btop/Manifest b/sys-process/btop/Manifest index 7ac2b8e4e579..bcc4fb50a4dd 100644 --- a/sys-process/btop/Manifest +++ b/sys-process/btop/Manifest @@ -1 +1,2 @@ DIST btop-1.2.7.tar.gz 974883 BLAKE2B c23c0b13ee6749e30ca8a7624f27bac8dc81466ff957a042c9c5e4f7c31b81fc6c15d6b214186e4baed474263ea96a3ffc584783cd098f3ebcae9e34bd75a955 SHA512 c29e1e3d098ef29c710bf76c1ef20e54feceb490aa59d20475a7083a276d422a32f4b4ff423a121aa4aa7f83389980e553e1f78c165f111fe00ccac693d96447 +DIST btop-1.2.8.tar.gz 976370 BLAKE2B ab71ac322afd84b5b73c5deb9003f319078809d81e2725a7447d2a8fe7539af21c669e7199a3422b2a1cc2ecbd79a46179343e00311f2d56bfa30f51d6340bd3 SHA512 4b5a3685ca5cf301cd7d6556bd365892587e6811f8323ca66728022aba7cc3ff95cf591b452151c9431824dc458bc3d09e10474c7c02a944e8931c4585914f5a diff --git a/sys-process/btop/btop-1.2.8.ebuild b/sys-process/btop/btop-1.2.8.ebuild new file mode 100644 index 000000000000..e1fc710c461d --- /dev/null +++ b/sys-process/btop/btop-1.2.8.ebuild @@ -0,0 +1,44 @@ +# 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 ~x86" + +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 +}