[neon/snap-packaging/kde-qt6-core-sdk/work.core24] /: Fix wayland pc files.

Scarlett Moore null at kde.org
Sun Dec 29 10:59:21 GMT 2024


Git commit 0e61c1c361001a6fe59a0c9615727047f882930f by Scarlett Moore.
Committed on 29/12/2024 at 10:58.
Pushed by scarlettmoore into branch 'work.core24'.

Fix wayland pc files.

M  +1    -0    snapcraft.yaml

https://invent.kde.org/neon/snap-packaging/kde-qt6-core-sdk/-/commit/0e61c1c361001a6fe59a0c9615727047f882930f

diff --git a/snapcraft.yaml b/snapcraft.yaml
index c896628..3a0fc13 100644
--- a/snapcraft.yaml
+++ b/snapcraft.yaml
@@ -412,6 +412,7 @@ parts:
         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' {}*" \;
+        find $CRAFT_STAGE -type f,l -name "*.pc" -exec bash -c "sed -i 's:pkgdatadir=${pc_sysrootdir}${datarootdir}:pkgdatadir=${datarootdir}:g' {}*" \;
 
   cleanup:
     plugin: nil


More information about the Neon-commits mailing list