File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 9797 stage-packages :
9898 - xauth
9999 - libappindicator3-1
100+ - gnome-icon-theme
100101 build-packages :
101102 - intltool
102103 - libappindicator3-dev
@@ -108,13 +109,13 @@ parts:
108109 - libsoup2.4-dev
109110 - libspice-client-gtk-3.0-dev
110111 - libspice-protocol-dev
111- - libtelepathy-glib-dev
112112 - libvncserver-dev
113113 - libvte-2.91-dev
114114 - libxkbfile-dev
115115 configflags :
116116 - -DCMAKE_BUILD_TYPE=Release
117117 - -DCMAKE_PREFIX_PATH=$SNAPCRAFT_STAGE/usr
118+ - -DWITH_TELEPATHY=off
118119 - -DSNAP_BUILD=on
119120
120121 # XXX: This is an hack to have a kind of bind-mount with absolute prefix.
@@ -133,24 +134,26 @@ parts:
133134 - freerdp
134135 - desktop-gtk3
135136
136- shared-mime-info :
137- after : [remmina]
138- plugin : nil
139- stage-packages :
140- - shared-mime-info
141- build-attributes : [no-system-libraries]
142- install : |
143- set -eux
144- update-mime-database $SNAPCRAFT_PART_INSTALL/usr/share/mime
145-
146-
147137 # Removing files that are accessible thanks to desktop plug
148138 desktop-gtk3 :
149139 stage :
150140 - -./usr/share/fonts/**
141+ install : |
142+ set -x
143+ export XDG_DATA_DIRS=$SNAPCRAFT_PART_INSTALL/usr/share
144+ update-mime-database $SNAPCRAFT_PART_INSTALL/usr/share/mime
145+ for dir in $SNAPCRAFT_PART_INSTALL/usr/share/icons/*/; do
146+ if [ -f $dir/index.theme ]; then
147+ gtk-update-icon-cache-3.0 -q $dir
148+ fi
149+ done
151150
152151apps :
153152 remmina :
153+ # desktop-launch seems to be broken when setting up wayland env
154+ # so we disable it
155+ environment :
156+ DISABLE_WAYLAND : 1
154157 command : desktop-launch remmina
155158 plugs :
156159 - avahi-observe
You can’t perform that action at this time.
0 commit comments