[neon/snap-packaging/kde-qt6-core-sdk/work.core24] /: move dup file removal to main prime.

Scarlett Moore null at kde.org
Fri Sep 27 11:31:59 BST 2024


Git commit 4af9653933dbf9c5d15726079ebaa8dd29a46aaf by Scarlett Moore.
Committed on 27/09/2024 at 10:29.
Pushed by scarlettmoore into branch 'work.core24'.

move dup file removal to main prime.

M  +3    -3    snapcraft.yaml

https://invent.kde.org/neon/snap-packaging/kde-qt6-core-sdk/-/commit/4af9653933dbf9c5d15726079ebaa8dd29a46aaf

diff --git a/snapcraft.yaml b/snapcraft.yaml
index 8eecaf1..e6122cd 100644
--- a/snapcraft.yaml
+++ b/snapcraft.yaml
@@ -239,6 +239,9 @@ parts:
       - zlib1g-dev
     stage-packages:
       - libpulse0
+    prime:
+      - -usr/lib/$CRAFT_ARCH_TRIPLET_BUILD_FOR/libcurl*
+      - -usr/lib/$CRAFT_ARCH_TRIPLET_BUILD_FOR/libvulkan*
     # override-pull: |
     #   craftctl default
     #   # while read -r PATCHFILE ; do
@@ -380,9 +383,6 @@ parts:
       - sgml-data
       - libxml2-utils
       - libglvnd-dev
-    stage:
-      - -usr/lib/**/libcurl.so.*
-      - -usr/lib/**/libvulkan.so.*
     prime:
       - -lib
       - -usr/lib/systemd


More information about the Neon-commits mailing list