[neon/snap-packaging/kf5-core/work.core24] /: Set XDG for caches

Scarlett Moore null at kde.org
Fri Jul 4 09:22:32 BST 2025


Git commit b1835106068b80fc5011ba713b52a93dbadffd06 by Scarlett Moore.
Committed on 04/07/2025 at 08:22.
Pushed by scarlettmoore into branch 'work.core24'.

Set XDG for caches

M  +4    -1    snapcraft.yaml

https://invent.kde.org/neon/snap-packaging/kf5-core/-/commit/b1835106068b80fc5011ba713b52a93dbadffd06

diff --git a/snapcraft.yaml b/snapcraft.yaml
index fc43d4e..ca7288c 100644
--- a/snapcraft.yaml
+++ b/snapcraft.yaml
@@ -1,6 +1,6 @@
 ---
 name: kf5-core24
-version: 5.116.0
+version: 5.15-19-5.116.0
 summary: KDE Frameworks 5
 description: KDE Frameworks are addons and useful extensions to Qt
 confinement: strict
@@ -93,6 +93,9 @@ parts:
     stage:
       - usr/bin/glib-compile-schemas
       - usr/bin/update-mime-database
+    build-environment:
+        - XDG_DATA_DIRS: $CRAFT_STAGE/usr/share:/usr/share${XDG_DATA_DIRS:+:$XDG_DATA_DIRS}
+        - XDG_CONFIG_HOME: $CRAFT_STAGE/etc/xdg:/etc/xdg${XDG_CONFIG_HOME:+:$XDG_CONFIG_HOME}
     override-stage: |
       set -eux
       craftctl default


More information about the Neon-commits mailing list