Use ibus portal in snap

It's supported since snapd 2.46 that was released in August
This commit is contained in:
Ilya Fedin 2020-12-24 03:14:51 +04:00 committed by John Preston
parent e99558abeb
commit edcd462fb9

View file

@ -20,6 +20,8 @@ apps:
environment: environment:
# Tell glib to use portals on file associations handling. # Tell glib to use portals on file associations handling.
GTK_USE_PORTAL: 1 GTK_USE_PORTAL: 1
# Use sandboxed ibus api
IBUS_USE_PORTAL: 1
plugs: plugs:
- alsa - alsa
- audio-playback - audio-playback
@ -174,16 +176,6 @@ parts:
after: after:
- mozjpeg - mozjpeg
# Qt checks that ibus-daemon binary is present, otherwise doesn't work
ibus:
plugin: nil
stage-packages:
- ibus
stage:
- -./usr/lib/$SNAPCRAFT_ARCH_TRIPLET/libjpeg.so.8.2.2
after:
- mozjpeg
ffmpeg: ffmpeg:
plugin: nil plugin: nil
build-packages: build-packages: