mirror of
https://github.com/vale981/tdesktop
synced 2025-03-05 09:41:41 -05:00
snap: use content interfaces for themes icons and sounds
Reduce the space used and support proper theming
This commit is contained in:
parent
e482f041a8
commit
20c1b58307
1 changed files with 24 additions and 2 deletions
|
@ -48,6 +48,20 @@ apps:
|
||||||
- removable-media
|
- removable-media
|
||||||
- unity7
|
- unity7
|
||||||
|
|
||||||
|
plugs:
|
||||||
|
gtk-3-themes:
|
||||||
|
interface: content
|
||||||
|
target: $SNAP/usr/share/themes
|
||||||
|
default-provider: gtk-common-themes
|
||||||
|
icon-themes:
|
||||||
|
interface: content
|
||||||
|
target: $SNAP/usr/share/icons
|
||||||
|
default-provider: gtk-common-themes
|
||||||
|
sound-themes:
|
||||||
|
interface: content
|
||||||
|
target: $SNAP/usr/share/sounds
|
||||||
|
default-provider: gtk-common-themes
|
||||||
|
|
||||||
parts:
|
parts:
|
||||||
telegram:
|
telegram:
|
||||||
plugin: gyp-cmake
|
plugin: gyp-cmake
|
||||||
|
@ -122,10 +136,18 @@ parts:
|
||||||
- libpulse0
|
- libpulse0
|
||||||
- libunity9
|
- libunity9
|
||||||
after: [desktop-gtk3]
|
after: [desktop-gtk3]
|
||||||
stage: [-./usr/share/fonts/**]
|
stage:
|
||||||
|
- -./usr/share/fonts/**
|
||||||
|
- -./usr/share/themes/**
|
||||||
|
- -./usr/share/icons/**
|
||||||
|
- -./usr/share/sounds/**
|
||||||
|
|
||||||
desktop-gtk3:
|
desktop-gtk3:
|
||||||
stage: [-./usr/share/fonts/**]
|
stage:
|
||||||
|
- -./usr/share/fonts/**
|
||||||
|
- -./usr/share/themes/**
|
||||||
|
- -./usr/share/icons/**
|
||||||
|
- -./usr/share/sounds/**
|
||||||
override-build: |
|
override-build: |
|
||||||
set -xe
|
set -xe
|
||||||
snapcraftctl build
|
snapcraftctl build
|
||||||
|
|
Loading…
Add table
Reference in a new issue