Flatpak: limit dbus access
This commit is contained in:
parent
c534d3a147
commit
8d0815c176
1 changed files with 16 additions and 7 deletions
|
@ -7,25 +7,34 @@
|
||||||
"tags": ["nightly"],
|
"tags": ["nightly"],
|
||||||
"desktop-file-name-prefix": "(Nightly) ",
|
"desktop-file-name-prefix": "(Nightly) ",
|
||||||
"finish-args": [
|
"finish-args": [
|
||||||
/* X11 + XShm access */
|
|
||||||
"--share=ipc",
|
"--share=ipc",
|
||||||
"--socket=x11",
|
|
||||||
/* Wayland access */
|
|
||||||
"--socket=wayland",
|
|
||||||
/* Needs to talk to the network: */
|
|
||||||
"--share=network",
|
"--share=network",
|
||||||
"--filesystem=home",
|
"--socket=x11",
|
||||||
|
"--socket=wayland",
|
||||||
"--socket=pulseaudio",
|
"--socket=pulseaudio",
|
||||||
"--socket=system-bus"
|
"--filesystem=home",
|
||||||
|
"--system-talk-name=org.freedesktop.GeoClue2",
|
||||||
|
"--system-talk-name=org.freedesktop.login1",
|
||||||
|
"--talk-name=org.gnome.ScreenSaver",
|
||||||
|
"--talk-name=org.mpris.MediaPlayer2.*",
|
||||||
|
/* Keyring */
|
||||||
|
"--talk-name=org.freedesktop.secrets",
|
||||||
|
/* dconf */
|
||||||
|
"--filesystem=xdg-run/dconf",
|
||||||
|
"--filesystem=~/.config/dconf:ro",
|
||||||
|
"--talk-name=ca.desrt.dconf",
|
||||||
|
"--env=DCONF_USER_CONFIG_DIR=.config/dconf"
|
||||||
],
|
],
|
||||||
"build-options": {
|
"build-options": {
|
||||||
"cflags": "-O2 -g",
|
"cflags": "-O2 -g",
|
||||||
"cxxflags": "-O2 -g"
|
"cxxflags": "-O2 -g"
|
||||||
},
|
},
|
||||||
"cleanup": [
|
"cleanup": [
|
||||||
|
"/bin/easy*",
|
||||||
"/include",
|
"/include",
|
||||||
"/lib/debug",
|
"/lib/debug",
|
||||||
"/lib/pkgconfig",
|
"/lib/pkgconfig",
|
||||||
|
"/lib/python2.7",
|
||||||
"/share/aclocal",
|
"/share/aclocal",
|
||||||
"/share/doc",
|
"/share/doc",
|
||||||
"/share/man",
|
"/share/man",
|
||||||
|
|
Loading…
Add table
Reference in a new issue