2021-09-18 19:48:21 +02:00
|
|
|
name: btop
|
|
|
|
adopt-info: btop
|
|
|
|
summary: Resource monitor that shows usage and stats
|
|
|
|
description: |
|
|
|
|
Resource monitor that shows usage and stats for processor, memory, disks, network and processes.
|
|
|
|
C++ version and continuation of bashtop and bpytop.
|
|
|
|
|
|
|
|
license: Apache-2.0
|
|
|
|
|
|
|
|
base: core20
|
|
|
|
grade: stable
|
|
|
|
confinement: strict
|
|
|
|
compression: lzo
|
|
|
|
|
|
|
|
architectures:
|
|
|
|
- build-on: amd64
|
|
|
|
- build-on: arm64
|
|
|
|
- build-on: armhf
|
|
|
|
- build-on: ppc64el
|
|
|
|
- build-on: s390x
|
2021-09-18 21:30:16 +02:00
|
|
|
|
|
|
|
package-repositories:
|
|
|
|
- type: apt
|
|
|
|
ppa: ubuntu-toolchain-r/test
|
2021-09-26 23:34:39 +02:00
|
|
|
|
2021-09-18 19:48:21 +02:00
|
|
|
apps:
|
|
|
|
btop:
|
2021-09-19 00:44:29 +02:00
|
|
|
command: usr/local/bin/btop
|
2021-09-24 23:58:26 +02:00
|
|
|
environment:
|
|
|
|
LC_ALL: C.UTF-8
|
2021-09-26 23:34:39 +02:00
|
|
|
LANG: C.UTF-8
|
|
|
|
plugs:
|
2021-09-18 19:48:21 +02:00
|
|
|
- mount-observe
|
|
|
|
- process-control
|
|
|
|
- system-observe
|
|
|
|
- hardware-observe
|
|
|
|
- network
|
2021-09-26 19:54:58 +02:00
|
|
|
- network-observe
|
2021-09-18 19:48:21 +02:00
|
|
|
- physical-memory-observe
|
|
|
|
- home
|
2021-09-26 23:34:39 +02:00
|
|
|
|
2021-09-18 19:48:21 +02:00
|
|
|
parts:
|
2021-09-26 23:34:39 +02:00
|
|
|
btop:
|
2021-09-18 19:48:21 +02:00
|
|
|
source: https://github.com/aristocratos/btop
|
2021-09-18 21:19:50 +02:00
|
|
|
source-type: git
|
2021-09-23 22:21:46 +02:00
|
|
|
plugin: make
|
|
|
|
make-parameters:
|
|
|
|
- PREFIX=/usr/local
|
2021-09-26 23:01:50 +02:00
|
|
|
- STATIC=true
|
2021-10-06 11:25:10 +02:00
|
|
|
- ADDFLAGS="-D SNAPPED"
|
2021-09-28 13:38:22 +02:00
|
|
|
|
2021-09-27 04:14:28 +02:00
|
|
|
build-packages:
|
2021-09-26 23:34:39 +02:00
|
|
|
- coreutils
|
|
|
|
- sed
|
|
|
|
- git
|
|
|
|
- build-essential
|
|
|
|
- gcc-11
|
2021-09-18 19:48:21 +02:00
|
|
|
- g++-11
|
2021-09-28 13:38:22 +02:00
|
|
|
|
2021-09-18 19:48:21 +02:00
|
|
|
override-pull: |
|
|
|
|
snapcraftctl pull
|
|
|
|
snapcraftctl set-version "$(git describe --tags | sed 's/^v//' | cut -d "-" -f1)"
|