[neon/snap-packaging/elisa-snap] /: Fix theming.

Scarlett Moore null at kde.org
Fri Jul 5 10:49:13 BST 2024


Git commit b1a4991eb33be25e1694977ec1ce62e5cace41f1 by Scarlett Moore.
Committed on 05/07/2024 at 09:48.
Pushed by scarlettmoore into branch 'master'.

Fix theming.

M  +41   -0    snapcraft.yaml

https://invent.kde.org/neon/snap-packaging/elisa-snap/-/commit/b1a4991eb33be25e1694977ec1ce62e5cace41f1

diff --git a/snapcraft.yaml b/snapcraft.yaml
index 59d61ef..58b908a 100644
--- a/snapcraft.yaml
+++ b/snapcraft.yaml
@@ -35,6 +35,47 @@ environment:
   ALSA_CONFIG_PATH: "$SNAP/kf6/etc/asound.conf"
   QT_MEDIA_BACKEND: "ffmpeg"
   QT_PLUGIN_PATH: /snap/kf6-core22/current/usr/lib/$CRAFT_ARCH_TRIPLET_BUILD_FOR/qt6/plugins
+plugs:
+    gtk-3-themes:
+        interface: content
+        target: $SNAP/data-dir/themes
+        default-provider: gtk-common-themes
+    kde-gtk3-themes:
+        interface: content
+        target: $SNAP/data-dir/themes
+        default-provider: qt-common-themes
+    gtk-2-themes:
+        interface: content
+        target: $SNAP/data-dir/themes
+        default-provider: gtk-common-themes
+    kde-gtk2-themes:
+        interface: content
+        target: $SNAP/data-dir/themes
+        default-provider: qt-common-themes
+    qt-icon-themes:
+        interface: content
+        target: $SNAP/data-dir/icons
+        default-provider: qt-common-themes
+    gtk-icon-themes:
+        interface: content
+        target: $SNAP/data-dir/icons
+        default-provider: gtk-common-themes
+    qt-sound-themes:
+        interface: content
+        target: $SNAP/data-dir/sounds
+        default-provider: qt-common-themes
+    gtk-sound-themes:
+        interface: content
+        target: $SNAP/data-dir/sounds
+        default-provider: gtk-common-themes
+    qt-6-themes:
+        interface: content
+        target: $SNAP/kf6
+        default-provider: qt-common-themes
+    dot-config-kde-globals:
+        interface: personal-files
+        read:
+            - $HOME/.config/kdeglobals
 layout:
   /usr/lib/$CRAFT_ARCH_TRIPLET_BUILD_FOR/alsa-lib:
     bind: $SNAP/usr/lib/$CRAFT_ARCH_TRIPLET_BUILD_FOR/alsa-lib


More information about the Neon-commits mailing list