[neon/snap-packaging/qt-common-themes] /: Move gtk stuff to snaps.
Scarlett Moore
null at kde.org
Wed Jul 31 00:59:53 BST 2024
Git commit fa81d9cc694f9a1db101b41b02752d65cfe97b55 by Scarlett Moore.
Committed on 30/07/2024 at 23:59.
Pushed by scarlettmoore into branch 'master'.
Move gtk stuff to snaps.
M +0 -65 snapcraft.yaml
https://invent.kde.org/neon/snap-packaging/qt-common-themes/-/commit/fa81d9cc694f9a1db101b41b02752d65cfe97b55
diff --git a/snapcraft.yaml b/snapcraft.yaml
index 4dcf5f5..07e129a 100644
--- a/snapcraft.yaml
+++ b/snapcraft.yaml
@@ -10,18 +10,6 @@ confinement: strict
version: 1.0
slots:
- kde-gtk2-themes:
- interface: content
- source:
- read:
- - $SNAP/share/gtk2/Breeze
- - $SNAP/share/gtk2/Breeze-Dark
- kde-gtk3-themes:
- interface: content
- source:
- read:
- - $SNAP/share/themes/Breeze
- - $SNAP/share/themes/Breeze-Dark
qt-6-themes:
interface: content
source:
@@ -40,17 +28,13 @@ slots:
interface: content
source:
read:
- - $SNAP/usr/share/icons/breeze_cursors
- $SNAP/usr/share/icons/KDE_Classic
- $SNAP/usr/share/icons/Oxygen_White
- - $SNAP/usr/share/icons/Breeze_Light
- $SNAP/usr/share/icons/Oxygen_Black
- $SNAP/usr/share/icons/Oxygen_Yellow
- $SNAP/usr/share/icons/Oxygen_Blue
- $SNAP/usr/share/icons/Oxygen_Zion
- $SNAP/usr/share/icons/oxygen
- - $SNAP/usr/share/icons/breeze
- - $SNAP/usr/share/icons/breeze-dark
qt-sound-themes:
interface: content
source:
@@ -127,40 +111,6 @@ parts:
craftctl default
$CRAFT_STAGE/update-icon-cache.sh $CRAFT_PART_INSTALL/share/icons
- # KDE's Breeze icons themes
- breeze-icons:
- after: [utils]
- plugin: nil
- build-snaps:
- - kf6-core22
- stage:
- - usr/share/icons/breeze
- - usr/share/icons/breeze-dark
- override-build: |
- mkdir -p $CRAFT_PART_INSTALL/usr/share/icons/
- cp -rfv /snap/kf6-core22/current/usr/share/icons/breeze $CRAFT_PART_INSTALL/usr/share/icons/
- cp -rfv /snap/kf6-core22/current/usr/share/icons/breeze-dark $CRAFT_PART_INSTALL/usr/share/icons/
- craftctl default
- $CRAFT_STAGE/update-icon-cache.sh $CRAFT_PART_INSTALL/share/icons
-
- breeze-cursors:
- after: [utils]
- plugin: nil
- build-snaps:
- - qt-common-themes-sdk
- stage:
- - usr/share/icons/Breeze_Light
- - usr/share/icons/breeze_cursors
- organize:
- 'cursors/Breeze/Breeze/cursors' : 'share/icons/breeze_cursors/cursors'
- 'cursors/Breeze/Breeze/index.theme' : 'share/icons/breeze_cursors/index.theme'
- 'cursors/Breeze/Breeze_Light/cursors' : 'share/icons/Breeze_Light/cursors'
- 'cursors/Breeze/Breeze_Light/index.theme' : 'share/icons/Breeze_Light/index.theme'
- override-build: |
- cp -rfv /snap/qt-common-themes-sdk/current/usr $CRAFT_PART_INSTALL
- craftctl default
- $CRAFT_STAGE/update-icon-cache.sh $CRAFT_PART_INSTALL/share/icons
-
oxygen-cursors:
after: [utils]
plugin: nil
@@ -203,21 +153,6 @@ parts:
ls $CRAFT_STAGE/
#KDE GTK themes
- breeze-gtk:
- after: [utils]
- plugin: nil
- build-snaps:
- - qt-common-themes-sdk
- stage:
- - share/themes/Breeze
- - share/themes/Breeze-Dark
- override-build: |
- cp -rfv /snap/qt-common-themes-sdk/current/share $CRAFT_PART_INSTALL
- craftctl default
- $CRAFT_STAGE/split-gtk-theme.sh $CRAFT_PART_INSTALL
- # Make assets available to both GTK 3 and GTK 2 themes after split
- cp -a $CRAFT_PART_INSTALL/share/themes/Breeze/assets $CRAFT_PART_INSTALL/share/gtk2/Breeze/
- cp -a $CRAFT_PART_INSTALL/share/themes/Breeze-Dark/assets $CRAFT_PART_INSTALL/share/gtk2/Breeze-Dark/
oxygen-gtk:
after: [utils]
More information about the Neon-commits
mailing list