[neon/snap-packaging/kde-qt6-core-sdk] /: Fix the fix_pkgconfig by actually replacing the existing prefix line..
Scarlett Moore
null at kde.org
Wed May 29 14:45:15 BST 2024
Git commit f031743df6ef4cc77570993310c3632bb5bed0d0 by Scarlett Moore.
Committed on 29/05/2024 at 13:44.
Pushed by scarlettmoore into branch 'master'.
Fix the fix_pkgconfig by actually replacing the existing prefix line..
M +1 -1 snapcraft.yaml
https://invent.kde.org/neon/snap-packaging/kde-qt6-core-sdk/-/commit/f031743df6ef4cc77570993310c3632bb5bed0d0
diff --git a/snapcraft.yaml b/snapcraft.yaml
index a662e55..de169d4 100644
--- a/snapcraft.yaml
+++ b/snapcraft.yaml
@@ -382,7 +382,7 @@ parts:
set -eux
for PC in $(find . -path "*/pkgconfig/*.pc")
do
- sed -i '1cprefix=/snap/$CRAFT_PROJECT_NAME/current/usr' $PC
+ sed -i 's#prefix=/build/kde-qt6-core22-sdk/stage/usr#prefix=/snap/$CRAFT_PROJECT_NAME/current/usr#g' $PC
done
for snap in "core22" "ffmpeg-2204-sdk"; do
cd "/snap/$snap/current" && find . -type f,l -exec rm -f "$CRAFT_PRIME/{}" \;
More information about the Neon-commits
mailing list