[neon/snap-packaging/kf6-core-sdk/work.core24] /: don't build glib tests and make sure we have libelf-dev

Carlos De Maine null at kde.org
Fri Feb 13 08:55:14 GMT 2026


Git commit 128b4f6bf2af212ea6e0d40ceeabcd2113ec6d9d by Carlos De Maine.
Committed on 13/02/2026 at 08:55.
Pushed by carlosdem into branch 'work.core24'.

don't build glib tests and make sure we have libelf-dev

M  +8    -6    snapcraft.yaml

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

diff --git a/snapcraft.yaml b/snapcraft.yaml
index 285d99e..98d0ba7 100644
--- a/snapcraft.yaml
+++ b/snapcraft.yaml
@@ -57,6 +57,7 @@ parts:
       - --prefix=/usr
       - -Doptimization=3
       - -Ddebug=true
+      - -Dtests=false
     build-environment: *buildenvironment
     override-build: |
       set -eux
@@ -64,14 +65,15 @@ parts:
       mkdir -p $CRAFT_PART_INSTALL/usr/lib/$CRAFT_ARCH_TRIPLET_BUILD_FOR/glib-2.0/
       cp $CRAFT_PART_INSTALL/usr/bin/{gio-querymodules,glib-compile-schemas} $CRAFT_PART_INSTALL/usr/lib/$CRAFT_ARCH_TRIPLET_BUILD_FOR/glib-2.0/
     build-packages:
-      - pkg-config
-      - libmount-dev
-      - libdbus-1-dev
-      - gcc
-      - g++
-      - clang-18
       - binutils
+      - clang-18
       - elfutils
+      - gcc
+      - g++
+      - libmount-dev
+      - libdbus-1-dev
+      - libelf-dev
+      - pkg-config
 
   ninja:
     plugin: nil


More information about the Neon-commits mailing list