btop/snap/snapcraft.yaml

62 lines
1.2 KiB
YAML
Raw Normal View History

2021-09-19 05:48:21 +12: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:
2022-04-25 07:22:55 +12:00
- build-on: amd64
2022-08-22 07:56:21 +12:00
- build-on: arm64
- build-on: armhf
2022-08-24 02:43:39 +12:00
- build-on: ppc64el
- build-on: s390x
2021-09-19 07:30:16 +12:00
package-repositories:
- type: apt
ppa: ubuntu-toolchain-r/test
2021-09-27 10:34:39 +13:00
2021-09-19 05:48:21 +12:00
apps:
btop:
2022-08-22 08:02:48 +12:00
command: usr/local/bin/btop
2021-09-25 09:58:26 +12:00
environment:
LC_ALL: C.UTF-8
2021-09-27 10:34:39 +13:00
LANG: C.UTF-8
plugs:
2021-09-19 05:48:21 +12:00
- mount-observe
- process-control
- system-observe
- hardware-observe
- network
2021-09-27 06:54:58 +13:00
- network-observe
2021-09-19 05:48:21 +12:00
- home
2021-11-29 08:35:08 +13:00
- removable-media
2021-09-27 10:34:39 +13:00
2021-09-19 05:48:21 +12:00
parts:
2021-09-27 10:34:39 +13:00
btop:
2021-09-19 05:48:21 +12:00
source: https://github.com/aristocratos/btop
2021-09-19 07:19:50 +12:00
source-type: git
2021-09-24 08:21:46 +12:00
plugin: make
make-parameters:
- PREFIX=/usr/local
2021-09-27 10:01:50 +13:00
- STATIC=true
- ADDFLAGS="-D SNAPPED"
2021-09-29 00:38:22 +13:00
build-packages:
2021-09-27 10:34:39 +13:00
- coreutils
- sed
- git
- build-essential
- gcc-11
2021-09-19 05:48:21 +12:00
- g++-11
2021-09-29 00:38:22 +13:00
2021-09-19 05:48:21 +12:00
override-pull: |
snapcraftctl pull
snapcraftctl set-version "$(git describe --tags | sed 's/^v//' | cut -d "-" -f1)"