[neon/snap-packaging/qt-common-themes] /: Fix oxygen
Scarlett Moore
null at kde.org
Thu Jul 4 19:51:22 BST 2024
Git commit 18335567668580bf597b501ebc7ee04c096201f7 by Scarlett Moore.
Committed on 04/07/2024 at 18:50.
Pushed by scarlettmoore into branch 'master'.
Fix oxygen
M +7 -11 snapcraft.yaml
https://invent.kde.org/neon/snap-packaging/qt-common-themes/-/commit/18335567668580bf597b501ebc7ee04c096201f7
diff --git a/snapcraft.yaml b/snapcraft.yaml
index 74eb762..3e20629 100644
--- a/snapcraft.yaml
+++ b/snapcraft.yaml
@@ -1,13 +1,8 @@
name: qt-common-themes
-adopt-info: version-script
summary: All the qt (common) themes
description: |
A snap that exports the KDE/Qt6 themes and icon themes used on various Linux distros.
-
-# 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
-base: bare
+base: core22
compression: lzo
grade: stable
@@ -19,14 +14,14 @@ slots:
interface: content
source:
read:
- - $SNAP/usr/share/gtk2/Breeze
- - $SNAP/usr/share/gtk2/Breeze-Dark
+ - $SNAP/share/gtk2/Breeze
+ - $SNAP/share/gtk2/Breeze-Dark
gtk-3-themes:
interface: content
source:
read:
- - $SNAP/usr/share/themes/Breeze
- - $SNAP/usr/share/themes/Breeze-Dark
+ - $SNAP/share/themes/Breeze
+ - $SNAP/share/themes/Breeze-Dark
qt-6-themes:
interface: content
source:
@@ -236,8 +231,9 @@ parts:
- qt-common-themes-sdk
stage:
- share/themes/oxygen-gtk
+ - lib/gtk-2.0/2.10.0/engines/liboxygen-gtk.so
override-build: |
- cp -rfv /snap/qt-common-themes-sdk/current/share $CRAFT_PART_INSTALL
+ cp -rfv /snap/qt-common-themes-sdk/current/* $CRAFT_PART_INSTALL
craftctl default
$CRAFT_STAGE/split-gtk-theme.sh $CRAFT_PART_INSTALL
More information about the Neon-commits
mailing list