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

Scarlett Moore null at kde.org
Fri Jul 5 10:47:12 BST 2024


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

Fix theming.

M  +41   -0    snapcraft.yaml

https://invent.kde.org/neon/snap-packaging/gwenview-snap/-/commit/b4d06bbf9c69bbcd2ff69c82b091d4e6eea74db3

diff --git a/snapcraft.yaml b/snapcraft.yaml
index 96a3e57..df01b21 100644
--- a/snapcraft.yaml
+++ b/snapcraft.yaml
@@ -32,6 +32,47 @@ environment:
   QT_PLUGIN_PATH: "/snap/kf6-core22/current/usr/lib/$CRAFT_ARCH_TRIPLET_BUILD_FOR/qt6/plugins"
   VLC_PLUGIN_PATH: "/snap/kf6-core22/current/usr/lib/$CRAFT_ARCH_TRIPLET_BUILD_FOR/vlc/plugins"
   LIBVA_DRIVERS_PATH: "/snap/kf6-core22/current/usr/lib/$CRAFT_ARCH_TRIPLET_BUILD_FOR/dri"
+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