[neon/snap-packaging/gtk-theme-breeze-snap] /: Fix theme content declaration, don't bundle unneeded files from base,

Scarlett Moore null at kde.org
Wed Oct 16 13:14:43 BST 2024


Git commit 3f2526230e13ebb842356741fadbf3a943fa8e9a by Scarlett Moore.
Committed on 16/10/2024 at 12:10.
Pushed by scarlettmoore into branch 'master'.

Fix theme content declaration, don't bundle unneeded files from base,
make arch all.

M  +12   -16   snapcraft.yaml

https://invent.kde.org/neon/snap-packaging/gtk-theme-breeze-snap/-/commit/3f2526230e13ebb842356741fadbf3a943fa8e9a

diff --git a/snapcraft.yaml b/snapcraft.yaml
index ccd3ce5..b28a3c5 100644
--- a/snapcraft.yaml
+++ b/snapcraft.yaml
@@ -1,41 +1,37 @@
 name: gtk-theme-breeze
-version: '1.1'
+version: '1.2'
 summary: Breeze is the default theme for KDE plasma;
 description: |
   Snap of the Breeze GTK theme.
 
 # We build against Ubuntu 22.04 packages, but use the "bare" base as
 # we don't want to force installation of a large base snap.
-build-base: core22
+build-base: core24
 base: bare
 
+platforms:
+  all:
+    build-on: amd64
+    build-for: all
+
 grade: stable
 confinement: strict
 
 slots:
-  gtk-theme-breeze:
+  gtk-2-themes:
     interface: content
     source:
       read:
         - $SNAP/share/gtk2/Breeze
         - $SNAP/share/gtk2/Breeze-Dark
+  gtk-3-themes:
+    interface: content
+    source:
+      read:
         - $SNAP/share/themes/Breeze
         - $SNAP/share/themes/Breeze-Dark
 
 parts:
-  base:
-    after: [utils]
-    plugin: nil
-    stage-snaps:
-    - qt-common-themes-sdk/latest/stable
-    stage:
-    - -usr/lib/*/libdrm*
-    - -usr/share/doc/libdrm*
-    override-prime: |
-        set -eux
-        craftctl default
-        cd $CRAFT_PRIME
-        find . -type f,l -name "*.h" -exec bash -c "rm -f {}*" \;
   breeze-gtk:
     after: [utils]
     plugin: nil


More information about the Neon-commits mailing list