flatpak: update permissions

GTK 4 apps want OpenGL access.

Also, we don't need dconf access anymore. And we don't need X11 access
when running under Wayland.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-chess/-/merge_requests/46>
This commit is contained in:
Michael Catanzaro 2023-06-29 15:26:09 -05:00
parent 3fe757a60b
commit 618d67cf6a

View file

@ -8,13 +8,11 @@
"tags": ["nightly"],
"desktop-file-name-prefix": "(Nightly) ",
"finish-args": [
/* X11 + XShm access */
"--share=ipc", "--socket=x11",
/* Wayland access */
"--share=ipc",
"--socket=fallback-x11",
"--socket=wayland",
/* dconf */
"--filesystem=xdg-run/dconf", "--filesystem=~/.config/dconf:ro",
"--talk-name=ca.desrt.dconf", "--env=DCONF_USER_CONFIG_DIR=.config/dconf"
"--device=dri",
"--metadata=X-DConf=migrate-path=/org/gnome/Chess/"
],
"build-options": {
"prepend-path": "/usr/lib/sdk/vala-nightly/bin/",