Files
btop/snap/snapcraft.yaml

65 lines
1.4 KiB
YAML
Raw Normal View History

2021-09-18 12:48:21 -05: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: core24
2021-09-18 12:48:21 -05:00
grade: stable
confinement: strict
compression: lzo
contact: https://github.com/kz6fittycent/btop/issues
issues: https://github.com/kz6fittycent/btop/issues
source-code: https://github.com/aristocratos/btop
2021-09-18 14:30:16 -05:00
platforms:
amd64:
build-on: [amd64]
build-for: [amd64]
arm64:
build-on: [arm64]
build-for: [arm64]
2021-09-26 23:34:39 +02:00
2021-09-18 12:48:21 -05:00
apps:
btop:
2022-08-21 15:02:48 -05:00
command: usr/local/bin/btop
2021-09-24 16:58:26 -05:00
environment:
LC_ALL: C.UTF-8
2021-09-26 23:34:39 +02:00
LANG: C.UTF-8
plugs:
2021-09-18 12:48:21 -05:00
- mount-observe
- process-control
- system-observe
- hardware-observe
- network
2021-09-26 12:54:58 -05:00
- network-observe
2021-09-18 12:48:21 -05:00
- home
2021-11-28 13:35:08 -06:00
- removable-media
- opengl
2021-09-26 23:34:39 +02:00
2021-09-18 12:48:21 -05:00
parts:
2021-09-26 23:34:39 +02:00
btop:
2021-09-18 12:48:21 -05:00
source: https://github.com/aristocratos/btop
2021-09-18 14:19:50 -05:00
source-type: git
2021-09-23 15:21:46 -05:00
plugin: make
make-parameters:
- CC=gcc-14
- CXX=g++-14
2021-09-23 15:21:46 -05:00
- PREFIX=/usr/local
- STATIC=true #required
- ADDFLAGS="-D SNAPPED" #required
build-packages:
- coreutils
- sed
- git
- build-essential
- gcc-14
- g++-14
2021-09-18 12:48:21 -05:00
override-pull: |
craftctl default
craftctl set version="$(git describe --tags | sed 's/^v//' | cut -d "-" -f1)"