Skip to content

Commit

Permalink
fix: avoid priming any libraries provided by gpu-2404 content provide…
Browse files Browse the repository at this point in the history
…rs (#17)
  • Loading branch information
AlanGriffiths authored Aug 5, 2024
1 parent 5e1e0dd commit 40b5fdb
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions webkitgtk-6-gnome-2404-sdk/snapcraft.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -104,3 +104,14 @@ parts:
sed -i '1cprefix=/snap/webkitgtk-6-gnome-2404-sdk/current/usr' $PC
sed -i 's#libdir=/usr/lib#libdir=${prefix}/lib#' $PC
done
# avoid priming any libraries provided by gpu-2404 content providers
gpu-2404:
after: [pkg-config-fix]
source: https://github.com/canonical/gpu-snap.git
plugin: dump
override-prime: |
craftctl default
${CRAFT_PART_SRC}/bin/gpu-2404-cleanup mesa-2404 nvidia-2404
prime:
- bin/gpu-2404-wrapper

0 comments on commit 40b5fdb

Please sign in to comment.