[neon/snap-packaging/kf5-core-sdk/work.core24] /: Add baloo fix core24.

Scarlett Moore null at kde.org
Mon Oct 28 12:11:25 GMT 2024


Git commit b00ed3dd178c85c3ca8c53886637840f0ef412e8 by Scarlett Moore.
Committed on 28/10/2024 at 12:10.
Pushed by scarlettmoore into branch 'work.core24'.

Add baloo fix core24.

M  +6    -3    snapcraft.yaml

https://invent.kde.org/neon/snap-packaging/kf5-core-sdk/-/commit/b00ed3dd178c85c3ca8c53886637840f0ef412e8

diff --git a/snapcraft.yaml b/snapcraft.yaml
index 3f3c980..e724c83 100644
--- a/snapcraft.yaml
+++ b/snapcraft.yaml
@@ -1750,9 +1750,12 @@ parts:
         stage-packages:
         - init-system-helpers
         - liblmdb0
-        prime:
-        - -usr/bin/baloo_file_extractor
-        - -usr/bin/baloo_file
+        override-stage: |
+          craftctl default
+          rm $CRAFT_STAGE/usr/bin/baloo_file_extractor
+          cp $CRAFT_STAGE/usr/lib/$CRAFT_ARCH_TRIPLET_BUILD_FOR/libexec/baloo_file_extractor $CRAFT_STAGE/usr/bin/
+          rm $CRAFT_STAGE/usr/bin/baloo_file
+          cp $CRAFT_STAGE/usr/lib/$CRAFT_ARCH_TRIPLET_BUILD_FOR/libexec/baloo_file $CRAFT_STAGE/usr/bin/
     kdesu:
         after:
         - extra-cmake-modules


More information about the Neon-commits mailing list