extra/btop to 1.3.0-4

This commit is contained in:
Kevin Mihelich 2024-02-06 13:49:35 +00:00
parent bb174de49c
commit 328cff1d7f
2 changed files with 9 additions and 4 deletions

View file

@ -1,10 +1,11 @@
pkgbase = btop
pkgdesc = A monitor of system resources, bpytop ported to C++
pkgver = 1.3.0
pkgrel = 2
pkgrel = 3
url = https://github.com/aristocratos/btop
arch = x86_64
license = Apache
makedepends = rocm-smi-lib
depends = gcc-libs
depends = glibc
optdepends = rocm-smi-lib: AMD GPU support

View file

@ -1,18 +1,22 @@
# Maintainer: Caleb Maclennan <caleb@alerque.com>
# Drop GPU_SUPPORT=false and re-add optdepends when upstream ROCm 6 support is addressed:
# - https://gitlab.archlinux.org/archlinux/packaging/packages/btop/-/issues/2
# - https://github.com/aristocratos/btop/issues/705
# ALARM: Kevin Mihelich <kevin@archlinuxarm.org>
# - disable lto
pkgname=btop
pkgver=1.3.0
pkgrel=2
pkgrel=4
pkgdesc='A monitor of system resources, bpytop ported to C++'
arch=(x86_64)
url="https://github.com/aristocratos/$pkgname"
license=(Apache)
depends=(gcc-libs
glibc)
optdepends=('rocm-smi-lib: AMD GPU support')
# optdepends=('rocm-smi-lib: AMD GPU support')
_archive="$pkgname-$pkgver"
source=("$url/archive/v$pkgver/$_archive.tar.gz")
sha256sums=('375e078ce2091969f0cd14030620bd1a94987451cf7a73859127a786006a32cf')
@ -20,7 +24,7 @@ sha256sums=('375e078ce2091969f0cd14030620bd1a94987451cf7a73859127a786006a32cf')
build() {
cd "$_archive"
sed -i 's/-flto\S*//' Makefile
make all
make all GPU_SUPPORT=false
}
package() {