summaryrefslogtreecommitdiffstats
path: root/snap
diff options
context:
space:
mode:
authorkz6fittycent <jimmy.tigert@gmail.com>2021-09-18 12:48:21 -0500
committerGitHub <noreply@github.com>2021-09-18 12:48:21 -0500
commit1c4fbdcd14fd97027bae0c5a5ec613b1e06e0821 (patch)
treeb0778e703b64da5f7822e297c9c55cb82b357691 /snap
parent8ea296dcea17ddeab455f8e0f873ad70df3cef31 (diff)
Create snapcraft.yaml
Diffstat (limited to 'snap')
-rw-r--r--snap/snapcraft.yaml67
1 files changed, 67 insertions, 0 deletions
diff --git a/snap/snapcraft.yaml b/snap/snapcraft.yaml
new file mode 100644
index 0000000..eb540e2
--- /dev/null
+++ b/snap/snapcraft.yaml
@@ -0,0 +1,67 @@
+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
+
+assumes:
+ - command-chain
+
+base: core20
+grade: stable
+confinement: strict
+compression: lzo
+
+architectures:
+ - build-on: amd64
+ - build-on: arm64
+ - build-on: armhf
+ - build-on: ppc64el
+ - build-on: s390x
+
+apps:
+ btop:
+ command: usr/bin/btop
+ command-chain:
+ - bin/homeishome-launch
+ plugs:
+ - mount-observe
+ - process-control
+ - system-observe
+ - hardware-observe
+ - network
+ - physical-memory-observe
+ - home
+
+parts:
+ btop:
+ source: https://github.com/aristocratos/btop
+ plugin: make
+ build-packages:
+ - coreutils
+ - sed
+ - git
+ - build-essential
+ - gcc-11
+ - g++-11
+
+ stage-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)"
+
+ homeishome-launch:
+ plugin: nil
+ stage-snaps:
+ - homeishome-launch
+