diff --git a/extra/btop/.SRCINFO b/extra/btop/.SRCINFO index c71df4e44..9c66498f9 100644 --- a/extra/btop/.SRCINFO +++ b/extra/btop/.SRCINFO @@ -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 diff --git a/extra/btop/PKGBUILD b/extra/btop/PKGBUILD index fd5022b0a..d39b28b16 100644 --- a/extra/btop/PKGBUILD +++ b/extra/btop/PKGBUILD @@ -1,18 +1,22 @@ # Maintainer: Caleb Maclennan +# 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 # - 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() {