[neon/snap-packaging/kf6-core-sdk/work.core24] /: add libplasma and marble

Scarlett Moore null at kde.org
Sun Jun 21 16:12:35 BST 2026


Git commit 54385db5c26f6c7d1fb4660fee83a38e380a300f by Scarlett Moore.
Committed on 21/06/2026 at 15:12.
Pushed by scarlettmoore into branch 'work.core24'.

add libplasma and marble

M  +84   -36   snapcraft.yaml

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

diff --git a/snapcraft.yaml b/snapcraft.yaml
index 9b7d294..1d25bba 100644
--- a/snapcraft.yaml
+++ b/snapcraft.yaml
@@ -2326,7 +2326,6 @@ parts:
       - kconfigwidgets
       - kservice
       - kwidgetsaddons
-      - libplasma
     source: https://invent.kde.org/plasma/oxygen.git
     source-tag: *plasma-version
     source-depth: 1
@@ -2339,6 +2338,11 @@ parts:
     cmake-generator: Ninja
     cmake-parameters: *cmakeparameters-withoutqt5
     build-environment: *buildenvironment
+    override-pull: |
+        craftctl default
+        while read -r PATCHFILE ; do
+            patch -p1 < "$CRAFT_PROJECT_DIR/patches/oxygen/$PATCHFILE"
+        done < $CRAFT_PROJECT_DIR/patches/oxygen/series
   plasma-integration:
     after:
       - extra-cmake-modules
@@ -2409,47 +2413,30 @@ parts:
       - -usr/share/glib-2.0/schemas/org.gnome.desktop.wm.preferences.gschema.xml
       - -usr/share/glib-2.0/schemas/org.gnome.system.proxy.gschema.xml
       - -usr/share/icons/*
-  wayland:
-    source: https://gitlab.freedesktop.org/wayland/wayland.git
-    source-branch: 1.23
-    plugin: meson
-    meson-parameters:
-      - --prefix=/usr
-    build-snaps:
-      - kde-qt6-core24-sdk/latest/beta
-      - kf6-core24-sdk/latest/beta
-    build-packages:
-      - meson
-      - pkgconf
-      - xsltproc
-      - xmlto
-      - libexpat1-dev
-      - libffi-dev
-      - libxml2-dev
-      - doxygen
-      - graphviz
-    build-environment:
-      - PKG_CONFIG_PATH: "$CRAFT_STAGE/usr/lib/$CRAFT_ARCH_TRIPLET_BUILD_FOR/pkgconfig:/snap/kde-qt6-core24-sdk/usr/lib/$CRAFT_ARCH_TRIPLET_BUILD_FOR/pkgconfig:/snap/kf6-core24-sdk/usr/lib/$CRAFT_ARCH_TRIPLET_BUILD_FOR/pkgconfig"
-  libplasma:
-    after: [wayland-protocols]
-    source: https://invent.kde.org/plasma/libplasma.git
+
+  qqc2-breeze-style:
+    after:
+      - extra-cmake-modules
+      - kcodecs
+      - kcolorscheme
+      - kconfig
+      - kcoreaddons
+      - kguiaddons
+      - kirigami
+      - kquickcharts
+      - kiconthemes
+    source: https://invent.kde.org/plasma/qqc2-breeze-style.git
     source-tag: *plasma-version
-    plugin: cmake
+    source-depth: 1
     build-packages:
-      - libpulse0
-      - rsync
-    stage-packages:
-      - libpulse0
+      - cmake
     build-snaps:
       - kde-qt6-core24-sdk/latest/beta
-      - kf6-core24-sdk/latest/beta
+    plugin: cmake
     cmake-generator: Ninja
+    cmake-parameters: *cmakeparameters
     build-environment: *buildenvironment
-    override-build: |
-      craftctl default
-      rsync -a --ignore-existing $CRAFT_PART_INSTALL/ /
-    prime:
-      - -usr/bin/rsync
+
   libkdegames:
     after:
       - extra-cmake-modules
@@ -2512,6 +2499,67 @@ parts:
     cmake-generator: Ninja
     cmake-parameters: *cmakeparameters
     build-environment: *buildenvironment
+  libplasma:
+    after: [wayland-protocols]
+    source: https://invent.kde.org/plasma/libplasma.git
+    source-tag: *plasma-version
+    plugin: cmake
+    build-packages:
+      - libpulse0
+      - rsync
+    stage-packages:
+      - libpulse0
+    build-snaps:
+      - kde-qt6-core24-sdk/latest/beta
+      - kf6-core24-sdk/latest/beta
+    cmake-generator: Ninja
+    cmake-parameters:
+      - -DCMAKE_INSTALL_PREFIX=/usr
+      - -DCMAKE_BUILD_TYPE=Release
+      - -DQT_MAJOR_VERSION=6
+      - -DENABLE_QT5=OFF
+      - -DENABLE_QT6=ON
+      - -DBUILD_TESTING=OFF
+    override-build: |
+      craftctl default
+      rsync -a --ignore-existing $CRAFT_PART_INSTALL/ /
+    prime:
+      - -usr/bin/rsync
+  marble:
+    source: https://invent.kde.org/education/marble.git
+    source-tag: *apps-version
+    plugin: cmake
+    build-packages:
+      - libpulse0
+      - rsync
+    stage-packages:
+      - libpulse0
+    build-snaps:
+      - kde-qt6-core24-sdk/latest/beta
+      - kf6-core24-sdk/latest/beta
+      - hunspell-dictionaries
+      - ffmpeg-2404-sdk
+    cmake-generator: Ninja
+    cmake-parameters:
+      - -DCMAKE_INSTALL_PREFIX=/usr
+      - -DCMAKE_BUILD_TYPE=Release
+      - -DQT_MAJOR_VERSION=6
+      - -DENABLE_QT5=OFF
+      - -DENABLE_QT6=ON
+      - -DBUILD_TESTING=OFF
+      - -DCMAKE_FIND_ROOT_PATH="/snap/ffmpeg-2404-sdk/current;/snap/kde-qt6-core24-sdk/current;/snap/kf6-core24-sdk/current"
+    override-pull: |
+        craftctl default
+        patch -p0 < ${SNAPCRAFT_PROJECT_DIR}/project/bundles/snap/snap/local/disable_broken_osm_plugin.patch
+    override-build: |
+      craftctl default
+      rsync -a --ignore-existing $CRAFT_PART_INSTALL/ /
+    build-environment: &build-environment
+      - PKG_CONFIG_PATH: "$CRAFT_STAGE/usr/lib/$CRAFT_ARCH_TRIPLET_BUILD_FOR/pkgconfig:/snap/ffmpeg-2404-sdk/current/usr/lib/$CRAFT_ARCH_TRIPLET_BUILD_FOR/pkgconfig"
+      - LD_LIBRARY_PATH: "/snap/mesa-2404/current/usr/lib/$CRAFT_ARCH_TRIPLET_BUILD_FOR:$CRAFT_STAGE/usr/lib/$CRAFT_ARCH_TRIPLET_BUILD_FOR:/snap/ffmpeg-2404-sdk/current/usr/lib/$CRAFT_ARCH_TRIPLET_BUILD_FOR:/snap/kde-qt6-core24-sdk/current/usr/lib/$CRAFT_ARCH_TRIPLET_BUILD_FOR/libproxy:$LD_LIBRARY_PATH"
+      - DICPATH: "$CRAFT_STAGE/usr/share/hunspell"
+    prime:
+      - -usr/bin/rsync
   fix_pc_files:
     after:
       - missing-deps


More information about the Neon-commits mailing list