Skip to content

Commit

Permalink
snapcraft.yaml updated according to chnages in v3.12.0
Browse files Browse the repository at this point in the history
  • Loading branch information
stenya committed Sep 1, 2023
1 parent 7e12dea commit e9279f7
Showing 1 changed file with 28 additions and 6 deletions.
34 changes: 28 additions & 6 deletions snap/snapcraft.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,15 @@
# $ snapcraft
# or
# $ snapcraft --debug --use-lxd
#
# **********************************************
# List of multipass\LXD containers:
# multipass list
# lxc list
# Delete multipass\LXD container:
# multipass delete $vm --purge # eg: multipass delete snapcraft-ivpn --purge
# lxc delete $vm --force # eg: lxc delete snapcraft-ivpn --force
#
# **********************************************
# Installation:
# $ sudo snap install <filename>.snap --danderous
Expand Down Expand Up @@ -160,7 +169,7 @@ parts:
daemon:
plugin: nil
build-snaps:
- go
- go/1.20/stable # go # v2ray can not be compiled with go 1.21 yet (all other parts must be compiled with the same go version!)
build-packages:
- libiw30 # libiw for wifiNotifier functionality
- libiw-dev # libiw for wifiNotifier functionality
Expand All @@ -182,7 +191,7 @@ parts:
cli:
plugin: nil
build-snaps:
- go
- go/1.20/stable # go # v2ray can not be compiled with go 1.21 yet (all other parts must be compiled with the same go version!)
build-packages:
- git
source: .
Expand All @@ -195,7 +204,7 @@ parts:
wireguard-tools:
plugin: nil
build-snaps:
- go
- go/1.20/stable # go # v2ray can not be compiled with go 1.21 yet (all other parts must be compiled with the same go version!)
build-packages:
- git
source: ./daemon/References/Linux
Expand All @@ -209,7 +218,7 @@ parts:
dnscrypt-proxy:
plugin: nil
build-snaps:
- go
- go/1.20/stable # go # v2ray can not be compiled with go 1.21 yet (all other parts must be compiled with the same go version!)
build-packages:
- git
source: ./daemon/References/Linux
Expand All @@ -222,7 +231,7 @@ parts:
obfs4proxy:
plugin: nil
build-snaps:
- go
- go/1.20/stable # go # v2ray can not be compiled with go 1.21 yet (all other parts must be compiled with the same go version!)
build-packages:
- git
source: ./daemon/References/Linux
Expand All @@ -232,10 +241,23 @@ parts:
mkdir -p $SNAPCRAFT_PART_INSTALL/opt/ivpn/obfsproxy
cp _deps/obfs4proxy_inst/obfs4proxy $SNAPCRAFT_PART_INSTALL/opt/ivpn/obfsproxy/obfs4proxy
v2ray:
plugin: nil
build-snaps:
- go/1.20/stable # v2ray can not be compiled with go 1.21 yet (all other parts must be compiled with the same go version!)
build-packages:
- git
source: ./daemon/References/Linux
override-build: |
rm -fr ./_deps/v2ray*
./scripts/build-v2ray.sh
mkdir -p $SNAPCRAFT_PART_INSTALL/opt/ivpn/v2ray
cp _deps/v2ray_inst/v2ray $SNAPCRAFT_PART_INSTALL/opt/ivpn/v2ray/v2ray
kemhelper:
plugin: nil
build-snaps:
- go
- go/1.20/stable # go # v2ray can not be compiled with go 1.21 yet (all other parts must be compiled with the same go version!)
build-packages:
- git
- astyle
Expand Down

0 comments on commit e9279f7

Please sign in to comment.