summaryrefslogtreecommitdiffstats
path: root/snap
diff options
context:
space:
mode:
authoraristocratos <gnmjpl@gmail.com>2021-09-26 23:34:39 +0200
committeraristocratos <gnmjpl@gmail.com>2021-09-26 23:34:39 +0200
commitced6dd62be6cf82f5042ad76a51275fbd734b3ad (patch)
treeeb4fd8f1d0394ee0a44fefa255113fb470d62935 /snap
parent4b1af4f368ba13f013a1ca370652743c7c3b253a (diff)
Changed to static build
Diffstat (limited to 'snap')
-rw-r--r--snap/snapcraft.yaml47
1 files changed, 24 insertions, 23 deletions
diff --git a/snap/snapcraft.yaml b/snap/snapcraft.yaml
index 5af4ced..5f70f46 100644
--- a/snap/snapcraft.yaml
+++ b/snap/snapcraft.yaml
@@ -25,16 +25,16 @@ architectures:
package-repositories:
- type: apt
ppa: ubuntu-toolchain-r/test
-
+
apps:
btop:
command: usr/local/bin/btop
- command-chain:
- - bin/homeishome-launch
+ command-chain:
+ - bin/homeishome-launch
environment:
LC_ALL: C.UTF-8
- LANG: C.UTF-8
- plugs:
+ LANG: C.UTF-8
+ plugs:
- mount-observe
- process-control
- system-observe
@@ -43,36 +43,37 @@ apps:
- network-observe
- physical-memory-observe
- home
-
+
parts:
- btop:
+ btop:
source: https://github.com/aristocratos/btop
source-type: git
plugin: make
make-parameters:
- PREFIX=/usr/local
+ - STATIC=true
build-packages:
- - coreutils
- - sed
- - git
- - build-essential
- - gcc-11
+ - coreutils
+ - sed
+ - git
+ - build-essential
+ - gcc-11
- g++-11
-
+
stage-packages:
- - coreutils
- - sed
- - git
- - build-essential
- - gcc-11
- - g++-11
-
+ - 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
-
+ - homeishome-launch
+