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 pkgbase = btop
pkgdesc = A monitor of system resources, bpytop ported to C++ pkgdesc = A monitor of system resources, bpytop ported to C++
pkgver = 1.3.0 pkgver = 1.3.1
pkgrel = 3 pkgrel = 1
url = https://github.com/aristocratos/btop url = https://github.com/aristocratos/btop
arch = x86_64 arch = x86_64
license = Apache license = Apache
makedepends = rocm-smi-lib
depends = gcc-libs depends = gcc-libs
depends = glibc depends = glibc
optdepends = rocm-smi-lib: AMD GPU support optdepends = rocm-smi-lib: AMD GPU support
source = https://github.com/aristocratos/btop/archive/v1.3.0/btop-1.3.0.tar.gz source = https://github.com/aristocratos/btop/archive/v1.3.1/btop-1.3.1.tar.gz
sha256sums = 375e078ce2091969f0cd14030620bd1a94987451cf7a73859127a786006a32cf sha256sums = 9e7faa30550137598a712fc28c1fb907e48a1fa1a5b2fa2f939195cf91e1816e
pkgname = btop pkgname = btop

View file

@ -1,30 +1,26 @@
# Maintainer: Caleb Maclennan <caleb@alerque.com> # 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> # ALARM: Kevin Mihelich <kevin@archlinuxarm.org>
# - disable lto # - disable lto
pkgname=btop pkgname=btop
pkgver=1.3.0 pkgver=1.3.1
pkgrel=4 pkgrel=1
pkgdesc='A monitor of system resources, bpytop ported to C++' pkgdesc='A monitor of system resources, bpytop ported to C++'
arch=(x86_64) arch=(x86_64)
url="https://github.com/aristocratos/$pkgname" url="https://github.com/aristocratos/$pkgname"
license=(Apache) license=(Apache)
depends=(gcc-libs depends=(gcc-libs
glibc) glibc)
# optdepends=('rocm-smi-lib: AMD GPU support') optdepends=('rocm-smi-lib: AMD GPU support')
_archive="$pkgname-$pkgver" _archive="$pkgname-$pkgver"
source=("$url/archive/v$pkgver/$_archive.tar.gz") source=("$url/archive/v$pkgver/$_archive.tar.gz")
sha256sums=('375e078ce2091969f0cd14030620bd1a94987451cf7a73859127a786006a32cf') sha256sums=('9e7faa30550137598a712fc28c1fb907e48a1fa1a5b2fa2f939195cf91e1816e')
build() { build() {
cd "$_archive" cd "$_archive"
sed -i 's/-flto\S*//' Makefile sed -i 's/-flto\S*//' Makefile
make all GPU_SUPPORT=false make all
} }
package() { package() {