[neon/snap-packaging/kf6-core/work.core24] /: Continued effort to get compiled schemas
Scarlett Moore
null at kde.org
Tue Apr 29 14:46:05 BST 2025
Git commit 734d6b7a40e82f96d345947764396febab3f0691 by Scarlett Moore.
Committed on 29/04/2025 at 13:45.
Pushed by scarlettmoore into branch 'work.core24'.
Continued effort to get compiled schemas
M +6 -4 snapcraft.yaml
https://invent.kde.org/neon/snap-packaging/kf6-core/-/commit/734d6b7a40e82f96d345947764396febab3f0691
diff --git a/snapcraft.yaml b/snapcraft.yaml
index 88fb133..b3f0289 100644
--- a/snapcraft.yaml
+++ b/snapcraft.yaml
@@ -51,6 +51,7 @@ parts:
- lib/$CRAFT_ARCH_TRIPLET_BUILD_FOR/*
- etc/xdg/*
- etc/qt6/*
+ - usr/share/glib-2.0/
- -usr/lib/*/libdrm*
- -usr/share/doc/libdrm*
- -usr/lib/*/cmake
@@ -85,8 +86,6 @@ parts:
- -usr/bin/gtester*
- -usr/bin/gtk-builder-tool
- -usr/bin/gtk4-builder-tool
- - -usr/bin/gtk-update-icon-cache
- - -usr/bin/gtk4-update-icon-cache
- -usr/bin/h2ph
- -usr/bin/h2xs
- -usr/bin/make
@@ -241,7 +240,10 @@ parts:
- usr/share/fontconfig
caches:
- after: [ fonts-config ]
+ after:
+ - fonts-config
+ - kf6-sdk
+ - kf6
plugin: nil
build-packages:
- shared-mime-info
@@ -253,7 +255,7 @@ parts:
override-stage: |
set -eux
craftctl default
- glib-compile-schemas $CRAFT_PRIME/usr/share/glib-2.0/schemas
+ glib-compile-schemas $CRAFT_STAGE/usr/share/glib-2.0/schemas
update-mime-database $CRAFT_STAGE/usr/share/mime
# the icons cache is rebuilt in 'cleanup' priming because it is there where the duplicated icons are removed
More information about the Neon-commits
mailing list