diff options
author | V3n3RiX <venerix@koprulu.sector> | 2022-07-09 15:43:36 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2022-07-09 15:43:36 +0100 |
commit | 2719f73b6813d11d13a9650cdd2ab8ec6e69385d (patch) | |
tree | 8c816148bcbd22757d892089c989ae614eae4f5a /sys-process/btop | |
parent | 0f558761aa2dee1017b4751e4017205e015a9560 (diff) |
gentoo resync : 09.07.2022
Diffstat (limited to 'sys-process/btop')
-rw-r--r-- | sys-process/btop/Manifest | 4 | ||||
-rw-r--r-- | sys-process/btop/btop-1.2.7-r1.ebuild | 2 | ||||
-rw-r--r-- | sys-process/btop/btop-1.2.8.ebuild | 44 |
3 files changed, 48 insertions, 2 deletions
diff --git a/sys-process/btop/Manifest b/sys-process/btop/Manifest index 0229c2816e29..ef32823762fe 100644 --- a/sys-process/btop/Manifest +++ b/sys-process/btop/Manifest @@ -1,4 +1,6 @@ AUX btop-1.2.7-respect-cxx-var-839318.patch 440 BLAKE2B eb2361ad5c594a29145265996bfe175d4929676dd9ec987b2a2e2df42bbe4ea031b40775c0eca6c2bcc6ded4def12625e178a4e007901a724a104ded20564653 SHA512 ced8210a9e2e6cfec90f1c1f4b72c969aa1b5943c16250c30139ab87eebc9e189583c98687036252a819698eccaed09149ec188150db7ce756ce4a90e4bca6e4 DIST btop-1.2.7.tar.gz 974883 BLAKE2B c23c0b13ee6749e30ca8a7624f27bac8dc81466ff957a042c9c5e4f7c31b81fc6c15d6b214186e4baed474263ea96a3ffc584783cd098f3ebcae9e34bd75a955 SHA512 c29e1e3d098ef29c710bf76c1ef20e54feceb490aa59d20475a7083a276d422a32f4b4ff423a121aa4aa7f83389980e553e1f78c165f111fe00ccac693d96447 -EBUILD btop-1.2.7-r1.ebuild 980 BLAKE2B 24af8d3d1dcbf5125fbb64291a406c071e25fd0587b4702f415478525925753139670a9f66d8da29342e6b3d1fd1a1719fde8b3f06a68eb8f07ef7ed41d27c06 SHA512 a168c2fbf27f729108be1783937d58fd7cf854d866631e7b910c1550f1b28885170296f360097cea717dfa2219d6b2832aa31c55fe39d1d19fe7f060dad2008d +DIST btop-1.2.8.tar.gz 976370 BLAKE2B ab71ac322afd84b5b73c5deb9003f319078809d81e2725a7447d2a8fe7539af21c669e7199a3422b2a1cc2ecbd79a46179343e00311f2d56bfa30f51d6340bd3 SHA512 4b5a3685ca5cf301cd7d6556bd365892587e6811f8323ca66728022aba7cc3ff95cf591b452151c9431824dc458bc3d09e10474c7c02a944e8931c4585914f5a +EBUILD btop-1.2.7-r1.ebuild 976 BLAKE2B 671cf4f553dc3956185b30622ed3c40dd4bcb265d261dfbf9b1980b3303de6b62db57f2d7588fe764206c25cdcc375203d1d75b25b3c430b66db355790e4c309 SHA512 398c351c25fc0446935e02f24d42c6ca2ca29d227e0fe9e49157774ee479f7e47bb009dffe6af8a3edd4618cc20b91dcb7514d240c5dcd18e820041a16cb6164 +EBUILD btop-1.2.8.ebuild 918 BLAKE2B 5136711d0bf7cfc8052c5bc33848d671276544c324580f23ae83c075dc4d79a01d31e58ab771a5b1200d9c8287d6bb3b92586589eb1c6befe5a50492d1d33d0c SHA512 8dfa98ed489c41b4e279eb32c650e94d51587ae42f3f0d3d87f84f31b263d1a6e9591777cccd913aafd1afccd0e4cc7c15660777202925b1b809038be1ca0aa3 MISC metadata.xml 548 BLAKE2B 74762cdc63011b363a4c06de8190541f862d70f0006461c7a1cf2d734caf20601ba0769dc067e261957fe42a64bdaf26297bf3d080c3c08203eabd73165f2f8c SHA512 bb16944df9321001ca5c9e9fff49ea39069386117f0cfde67e8f19e3f44c13d360effb578d2c44c67f792d1ff574830f13cb9ef183f594e39ad3669083f2cf41 diff --git a/sys-process/btop/btop-1.2.7-r1.ebuild b/sys-process/btop/btop-1.2.7-r1.ebuild index 39adcfa15486..11ad6ec5ab11 100644 --- a/sys-process/btop/btop-1.2.7-r1.ebuild +++ b/sys-process/btop/btop-1.2.7-r1.ebuild @@ -11,7 +11,7 @@ SRC_URI="https://github.com/aristocratos/btop/archive/refs/tags/v${PV}.tar.gz -> LICENSE="Apache-2.0" SLOT="0" -KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86" +KEYWORDS="amd64 arm64 ppc64 x86" PATCHES=( "${FILESDIR}/${P}-respect-cxx-var-839318.patch" 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 +} |