Skip to content

Commit

Permalink
[Snap] Avoid staging several graphics-related packages
Browse files Browse the repository at this point in the history
  • Loading branch information
past-due committed Nov 8, 2023
1 parent a855345 commit 80eb522
Showing 1 changed file with 12 additions and 11 deletions.
23 changes: 12 additions & 11 deletions .snapcraft.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -111,22 +111,22 @@ parts:
- libdbus-1-3
- libudev1
- fcitx-libs
- libdrm2
- libgbm1
- libegl1-mesa
- libgl1
- libgles2
#- libdrm2
#- libgbm1
#- libegl1-mesa
#- libgl1
#- libgles2
- libibus-1.0-5
- libjack0
- libpulse0
- libpipewire-0.3-0
- libsamplerate0
- libts0
- libsndfile1
- libwayland-client0
#- libwayland-client0
- libwayland-cursor0
- libwayland-egl1-mesa
- libvulkan1
#- libwayland-egl1-mesa
#- libvulkan1
- libx11-6
- libxcursor1
- libxext6
Expand Down Expand Up @@ -216,11 +216,11 @@ parts:
- libvorbis0a
- libvorbisenc2
- libvorbisfile3
- libvulkan1
#- libvulkan1
- libcurl3-gnutls
- libsodium23
- libsqlite3-0
- libglu1-mesa
# - libglu1-mesa
# - mesa-vulkan-drivers # provided by graphics-core22 / mesa-core22
- unzip
- zip
Expand Down Expand Up @@ -252,9 +252,10 @@ parts:
- core22
- gtk-common-themes
- gnome-42-2204
- mesa-core22
override-prime: |
set -eux
for snap in "core22" "gtk-common-themes" "gnome-42-2204"; do # List all content-snaps and base snaps you're using here
for snap in "core22" "gtk-common-themes" "gnome-42-2204" "mesa-core22"; 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/{}" \;
done
# The following is required while using core18 + gnome-3-34
Expand Down

0 comments on commit 80eb522

Please sign in to comment.