[neon/snap-packaging/kwrite-snap] /: Temp fix for libpulse issue.
Scarlett Moore
null at kde.org
Thu Jun 13 16:50:14 BST 2024
Git commit 694efec6be3606193741143150b3197d0f73349c by Scarlett Moore.
Committed on 13/06/2024 at 15:49.
Pushed by scarlettmoore into branch 'master'.
Temp fix for libpulse issue.
M +9 -0 snapcraft.yaml
https://invent.kde.org/neon/snap-packaging/kwrite-snap/-/commit/694efec6be3606193741143150b3197d0f73349c
diff --git a/snapcraft.yaml b/snapcraft.yaml
index 4e051f7..0f0d498 100644
--- a/snapcraft.yaml
+++ b/snapcraft.yaml
@@ -43,6 +43,7 @@ parts:
source-branch: release/24.05
build-packages:
- libxkbcommon-dev
+ - libpulse0
stage-packages:
- libxkbcommon0
- libpulse0
@@ -63,6 +64,14 @@ parts:
- -DCMAKE_INSTALL_LIBDIR=lib/$CRAFT_ARCH_TRIPLET_BUILD_FOR
- --log-level=STATUS
- -DCMAKE_LIBRARY_PATH=lib/$CRAFT_ARCH_TRIPLET_BUILD_FOR
+ - "-DCMAKE_FIND_ROOT_PATH=$CRAFT_STAGE\\;/snap/kde-qt6-core22-sdk/current\\;/snap/kf6-core22-sdk/current/usr"
+ - "-DCMAKE_PREFIX_PATH=$CRAFT_STAGE\\;/snap/kde-qt6-core22-sdk/current\\;/snap/kf6-core22-sdk/current/usr"
+ build-environment:
+ - PATH: /snap/kde-qt6-core22-sdk/current/usr/bin${PATH:+:$PATH}
+ - PKG_CONFIG_PATH: /snap/kde-qt6-core22-sdk/current/usr/lib/${CRAFT_ARCH_TRIPLET_BUILD_FOR}/pkgconfig${PKG_CONFIG_PATH:+:$PKG_CONFIG_PATH}
+ - XDG_DATA_DIRS: $CRAFT_STAGE/usr/share:/snap/kde-qt6-core22-sdk/current/usr/share:/usr/share${XDG_DATA_DIRS:+:$XDG_DATA_DIRS}
+ - XDG_CONFIG_HOME: $CRAFT_STAGE/etc/xdg:/snap/kde-qt6-core22-sdk/current/etc/xdg:/etc/xdg${XDG_CONFIG_HOME:+:$XDG_CONFIG_HOME}
+ - LD_LIBRARY_PATH: "/snap/kde-qt6-core22-sdk/current/usr/lib/${CRAFT_ARCH_TRIPLET_BUILD_FOR}:/snap/kde-qt6-core22-sdk/current/usr/lib:/snap/kf6-core22-sdk/current/usr/lib/${CRAFT_ARCH_TRIPLET_BUILD_FOR}:/snap/kf6-core22-sdk/current/usr/lib:$CRAFT_STAGE/usr/lib:$CRAFT_STAGE/lib/:$CRAFT_STAGE/usr/lib/${CRAFT_ARCH_TRIPLET_BUILD_FOR}${LD_LIBRARY_PATH:+:$LD_LIBRARY_PATH}"
prime:
- -usr/lib/*/cmake/*
- -usr/include/*
More information about the Neon-commits
mailing list