From 7d5cd18cfd7eb97652fac7e2e694bec154bfd285 Mon Sep 17 00:00:00 2001 From: James Rose <92864596+RoseBlume@users.noreply.github.com> Date: Wed, 22 May 2024 17:53:38 -0400 Subject: [PATCH] Add files via upload Signed-off-by: James Rose <92864596+RoseBlume@users.noreply.github.com> --- snapcraft.yaml | 22 +++++++++++++++++++++- 1 file changed, 21 insertions(+), 1 deletion(-) diff --git a/snapcraft.yaml b/snapcraft.yaml index 6c019ec5..80c95fc7 100644 --- a/snapcraft.yaml +++ b/snapcraft.yaml @@ -10,6 +10,9 @@ confinement: strict architectures: - build-on: amd64 + build-for: amd64 + - build-on: arm64 + - build-for: arm64 apps: rosary: @@ -18,10 +21,27 @@ apps: desktop: usr/share/applications/rosary.desktop parts: - prep: + prepamd: plugin: dump source: https://github.com/RoseBlume/Rosary/releases/download/v1.2.3/rosary_1.2.3_amd64.deb source-type: deb + architectures: [amd64] + override-pull: | + set -eu + craftctl default + sed -i -e "s|Icon=rosary|Icon=/usr/share/icons/hicolor/32x32/apps/rosary.png|g" usr/share/applications/rosary.desktop + organize: + usr/bin/rosary: bin/rosary + stage-packages: + - libwebkit2gtk-4.1-0 + - libglu1-mesa + - libsoup-3.0-0 + - freeglut3 + preparm: + plugin: dump + source: https://github.com/RoseBlume/Rosary/releases/download/v1.2.2/rosary_1.2.2_arm64.deb + source-type: deb + architectures: [arm64] override-pull: | set -eu craftctl default