[neon/snap-packaging/kf6-core-sdk/work.core24] /: Attempt to fix the wayland-protocols pkgconfig file
Kevin Ottens
null at kde.org
Mon Jan 13 22:55:40 GMT 2025
Git commit 651680a9b806ccb835961c0a35c0b107758e5dee by Kevin Ottens.
Committed on 13/01/2025 at 22:55.
Pushed by ervin into branch 'work.core24'.
Attempt to fix the wayland-protocols pkgconfig file
M +1 -0 snapcraft.yaml
https://invent.kde.org/neon/snap-packaging/kf6-core-sdk/-/commit/651680a9b806ccb835961c0a35c0b107758e5dee
diff --git a/snapcraft.yaml b/snapcraft.yaml
index 36d0ff8..d6ccf3d 100644
--- a/snapcraft.yaml
+++ b/snapcraft.yaml
@@ -2316,3 +2316,4 @@ 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=.*$:pkgdatadir=/snap/$CRAFT_PROJECT_NAME/current/usr/share/wayland-protocols:g' {}*" \;
More information about the Neon-commits
mailing list