Changed to static build

This commit is contained in:
aristocratos 2021-09-26 23:34:39 +02:00
parent 4b1af4f368
commit ced6dd62be
1 changed files with 24 additions and 23 deletions

View File

@ -25,16 +25,16 @@ architectures:
package-repositories: package-repositories:
- type: apt - type: apt
ppa: ubuntu-toolchain-r/test ppa: ubuntu-toolchain-r/test
apps: apps:
btop: btop:
command: usr/local/bin/btop command: usr/local/bin/btop
command-chain: command-chain:
- bin/homeishome-launch - bin/homeishome-launch
environment: environment:
LC_ALL: C.UTF-8 LC_ALL: C.UTF-8
LANG: C.UTF-8 LANG: C.UTF-8
plugs: plugs:
- mount-observe - mount-observe
- process-control - process-control
- system-observe - system-observe
@ -43,36 +43,37 @@ apps:
- network-observe - network-observe
- physical-memory-observe - physical-memory-observe
- home - home
parts: parts:
btop: btop:
source: https://github.com/aristocratos/btop source: https://github.com/aristocratos/btop
source-type: git source-type: git
plugin: make plugin: make
make-parameters: make-parameters:
- PREFIX=/usr/local - PREFIX=/usr/local
- STATIC=true
build-packages: build-packages:
- coreutils - coreutils
- sed - sed
- git - git
- build-essential - build-essential
- gcc-11 - gcc-11
- g++-11 - g++-11
stage-packages: stage-packages:
- coreutils - coreutils
- sed - sed
- git - git
- build-essential - build-essential
- gcc-11 - gcc-11
- g++-11 - g++-11
override-pull: | override-pull: |
snapcraftctl pull snapcraftctl pull
snapcraftctl set-version "$(git describe --tags | sed 's/^v//' | cut -d "-" -f1)" snapcraftctl set-version "$(git describe --tags | sed 's/^v//' | cut -d "-" -f1)"
homeishome-launch: homeishome-launch:
plugin: nil plugin: nil
stage-snaps: stage-snaps:
- homeishome-launch - homeishome-launch