extra/btop to 1.3.1-1

This commit is contained in:
Kevin Mihelich 2024-02-11 19:39:18 +00:00
parent 72d2d862a5
commit ead8836d1f
2 changed files with 9 additions and 14 deletions

View file

@ -1,15 +1,14 @@
pkgbase = btop
pkgdesc = A monitor of system resources, bpytop ported to C++
pkgver = 1.3.0
pkgrel = 3
pkgver = 1.3.1
pkgrel = 1
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
source = https://github.com/aristocratos/btop/archive/v1.3.0/btop-1.3.0.tar.gz
sha256sums = 375e078ce2091969f0cd14030620bd1a94987451cf7a73859127a786006a32cf
source = https://github.com/aristocratos/btop/archive/v1.3.1/btop-1.3.1.tar.gz
sha256sums = 9e7faa30550137598a712fc28c1fb907e48a1fa1a5b2fa2f939195cf91e1816e
pkgname = btop

View file

@ -1,30 +1,26 @@
# 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=4
pkgver=1.3.1
pkgrel=1
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')
sha256sums=('9e7faa30550137598a712fc28c1fb907e48a1fa1a5b2fa2f939195cf91e1816e')
build() {
cd "$_archive"
sed -i 's/-flto\S*//' Makefile
make all GPU_SUPPORT=false
make all
}
package() {