[neon/snap-packaging/kde-qt6-core-sdk] /: Bring in pc fix to core22
Scarlett Moore
null at kde.org
Fri Nov 15 11:49:58 GMT 2024
Git commit 04260513e1c6c29d28a7ffdccc0faf2bba6a31c2 by Scarlett Moore.
Committed on 15/11/2024 at 11:49.
Pushed by scarlettmoore into branch 'master'.
Bring in pc fix to core22
M +3 -0 snapcraft.yaml
https://invent.kde.org/neon/snap-packaging/kde-qt6-core-sdk/-/commit/04260513e1c6c29d28a7ffdccc0faf2bba6a31c2
diff --git a/snapcraft.yaml b/snapcraft.yaml
index 92b244c..a6f66a8 100644
--- a/snapcraft.yaml
+++ b/snapcraft.yaml
@@ -389,6 +389,9 @@ parts:
override-stage: |
craftctl default
find $CRAFT_STAGE -type f,l -name "*.pc" -exec bash -c "sed -i 's:/root/stage:/snap/$CRAFT_PROJECT_NAME/current:g' {}*" \;
+ find $CRAFT_STAGE -type f,l -name "*.pc" -exec bash -c "sed -i 's:libdir=/usr:libdir=/snap/$CRAFT_PROJECT_NAME/current/usr:g' {}*" \;
+ find $CRAFT_STAGE -type f,l -name "*.pc" -exec bash -c "sed -i 's:includedir=/usr:includedir=/snap/$CRAFT_PROJECT_NAME/current/usr:g' {}*" \;
+
cleanup:
plugin: nil
More information about the Neon-commits
mailing list