[neon/snap-packaging/kf6-core-sdk/work.core24] /: copy kcmutils which works

Scarlett Moore null at kde.org
Fri Jun 26 14:55:26 BST 2026


Git commit a9a49b66a1294cca8411665bcbb929fa810647c3 by Scarlett Moore.
Committed on 26/06/2026 at 13:55.
Pushed by scarlettmoore into branch 'work.core24'.

copy kcmutils which works

M  +16   -2    snapcraft.yaml

https://invent.kde.org/neon/snap-packaging/kf6-core-sdk/-/commit/a9a49b66a1294cca8411665bcbb929fa810647c3

diff --git a/snapcraft.yaml b/snapcraft.yaml
index d3d99b2..6b20eab 100644
--- a/snapcraft.yaml
+++ b/snapcraft.yaml
@@ -1422,8 +1422,22 @@ parts:
       - kde-qt6-core24-sdk/latest/beta
     plugin: cmake
     cmake-generator: Ninja
-    cmake-parameters: *cmakeparameters
-    build-environment: *buildenvironment
+    cmake-parameters:
+      - -DCMAKE_INSTALL_PREFIX=/usr
+      - -DCMAKE_BUILD_TYPE=Release
+      - -DQT_MAJOR_VERSION=6
+      - -DUSE_QT6=ON
+      - "-DCMAKE_FIND_ROOT_PATH=$CRAFT_STAGE\\;/snap/kde-qt6-core24-sdk/current\\;/usr"
+      - "-DCMAKE_PREFIX_PATH=$CRAFT_STAGE\\:/snap/kde-qt6-core24-sdk/current\\:/usr"
+    build-environment:
+      - LIBCLANG_LIBDIR: /snap/kde-qt6-core24-sdk/current/usr/lib/llvm-19/lib
+      - LIBCLANG_PATH: /snap/kde-qt6-core24-sdk/current/usr/lib/llvm-19/bin
+      - LLVM_INSTALL_DIR: /snap/kde-qt6-core24-sdk/current/usr/lib/llvm-19
+      - PATH: /snap/kde-qt6-core24-sdk/current/usr/bin:/snap/kde-qt6-core24-sdk/current/usr/lib/llvm-19/bin:/snap/kde-pyside6-core24-sdk/current/usr/bin${PATH:+:$PATH}
+      - QT_PLUGIN_PATH: "$CRAFT_STAGE/usr/lib/$CRAFT_ARCH_TRIPLET_BUILD_FOR/plugins:/snap/kf6-core24/current/usr/lib/$CRAFT_ARCH_TRIPLET_BUILD_FOR/plugins:/snap/kde-qt6-core24-sdk/current/usr/lib/$CRAFT_ARCH_TRIPLET_BUILD_FOR/plugins"
+      - QML_IMPORT_PATH: "$CRAFT_STAGE/usr/lib/$CRAFT_ARCH_TRIPLET_BUILD_FOR/qml:/snap/kf6-core24/current/usr/lib/$CRAFT_ARCH_TRIPLET_BUILD_FOR/qml:/snap/kde-qt6-core24-sdk/current/usr/lib/$CRAFT_ARCH_TRIPLET_BUILD_FOR/qml"
+      - QT_INSTALL_QML: $QML_IMPORT_PATH
[suppressed due to size limit]
   kcmutils:
     after:
       - extra-cmake-modules


More information about the Neon-commits mailing list