From f83299cfd2a7aef116990ff0e280b246929b3705 Mon Sep 17 00:00:00 2001 From: clazzor <81418506+clazzor@users.noreply.github.com> Date: Tue, 2 Jul 2024 11:20:38 +0200 Subject: [PATCH] feat(snapcraft.yaml): ... --- snap/snapcraft.yaml | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) diff --git a/snap/snapcraft.yaml b/snap/snapcraft.yaml index f0ecbfd..8dffe30 100644 --- a/snap/snapcraft.yaml +++ b/snap/snapcraft.yaml @@ -19,6 +19,13 @@ architectures: - build-on: armhf parts: + install-dependencies: + plugin: nil + override-pull: | + if [ "$SNAP_ARCH" = "armhf" ]; then + apt update + apt -y install libffi-dev libssl-dev cargo pkg-config + fi certbot-dns-wedos: plugin: python source: . @@ -27,11 +34,12 @@ parts: snapcraftctl set-version `grep ^version $SNAPCRAFT_PART_SRC/setup.py | cut -f2 -d= | tr -d '"[:space:]'` build-environment: - SNAP_BUILD: "True" - build-packages: - - libffi-dev - - libssl-dev - - cargo +# build-packages: +# - libffi-dev +# - libssl-dev +# - cargo # - pkg-config + after: [install-dependencies] certbot-metadata: plugin: dump source: .