mirror of
https://github.com/aristocratos/btop.git
synced 2024-09-29 08:41:19 +13:00
d8c054d92f
Building the man page is optional and happens automatically if command 'lowdown' is present on the system. Add it to all possible GitHub CI files so man page conversion will be tested and fully used. Unfortunately 'lowdown' cannot be added to the musl jobs the program is available only starting from Alpine v3.15, while the musl Docker images run Alpine v3.14 (and haven't been updated in 2+ years). Also, the Snap build used Ubuntu 20.04 "Focal" which equally is too old to include Lowdown, which is available only from Ubuntu 22.04 "Jammy" onward: https://packages.ubuntu.com/search?suite=all&searchon=names&keywords=lowdown
64 lines
1.4 KiB
YAML
64 lines
1.4 KiB
YAML
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
|
|
|
|
package-repositories:
|
|
- type: apt
|
|
ppa: ubuntu-toolchain-r/test
|
|
|
|
apps:
|
|
btop:
|
|
command: usr/local/bin/btop
|
|
environment:
|
|
LC_ALL: C.UTF-8
|
|
LANG: C.UTF-8
|
|
plugs:
|
|
- mount-observe
|
|
- process-control
|
|
- system-observe
|
|
- hardware-observe
|
|
- network
|
|
- network-observe
|
|
- home
|
|
- removable-media
|
|
- opengl
|
|
|
|
parts:
|
|
btop:
|
|
source: https://github.com/aristocratos/btop
|
|
source-type: git
|
|
plugin: make
|
|
make-parameters:
|
|
- CXX=g++-11
|
|
- PREFIX=/usr/local
|
|
- STATIC=true
|
|
- ADDFLAGS="-D SNAPPED"
|
|
# Add 'lowdown' to build dependencies as soon at Snap builder updates from
|
|
# Ubuntu 20.04 "Focal" to something newer that has Lowdown included
|
|
build-packages:
|
|
- coreutils
|
|
- sed
|
|
- git
|
|
- build-essential
|
|
- gcc-11
|
|
- g++-11
|
|
|
|
override-pull: |
|
|
snapcraftctl pull
|
|
snapcraftctl set-version "$(git describe --tags | sed 's/^v//' | cut -d "-" -f1)"
|