Add a few more stage dependencies to try to resolve 'library not found' warnings emitted in terminal (doesn't seem to cause a functional issue though)

This commit is contained in:
Miguel Jacq 2025-02-11 10:08:37 +11:00
parent 2c2745827a
commit 7b1edaf4f6
No known key found for this signature in database
GPG Key ID: 59B3F0C24135C6A9

View File

@ -1,5 +1,5 @@
name: onionshare name: onionshare
base: core24 base: core22
version: "2.6.2" version: "2.6.2"
summary: Securely and anonymously share files, host websites, and chat using Tor summary: Securely and anonymously share files, host websites, and chat using Tor
description: | description: |
@ -11,10 +11,11 @@ description: |
grade: stable # stable or devel grade: stable # stable or devel
confinement: strict confinement: strict
platforms: architectures:
amd64: - build-on: i386
arm64: - build-on: amd64
armhf: - build-on: arm64
- build-on: armhf
apps: apps:
onionshare: onionshare:
@ -127,6 +128,7 @@ parts:
- libmysqlclient21 - libmysqlclient21
- libxcb-cursor0 - libxcb-cursor0
- libxkbfile1 - libxkbfile1
- libodbc1
override-pull: | override-pull: |
craftctl default craftctl default
override-build: | override-build: |
@ -206,11 +208,11 @@ parts:
- meek-client - meek-client
plugin: nil plugin: nil
build-snaps: # List all content-snaps and base snaps you're using here build-snaps: # List all content-snaps and base snaps you're using here
- core24 - core22
- go/latest/stable - go/latest/stable
- gnome-46-2404 - gnome-42-2204-sdk
override-prime: | override-prime: |
set -eux set -eux
for snap in core24 go/latest/stable gnome-46-2404; do # List all content-snaps and base snaps you're using here for snap in core22 go/latest/stable gnome-42-2204-sdk; do # List all content-snaps and base snaps you're using here
cd "/snap/$snap/current" && find . -type f,l -exec rm -f "$CRAFT_PRIME/{}" \; cd "/snap/$snap/current" && find . -type f,l -exec rm -f "$CRAFT_PRIME/{}" \;
done done