summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohn Stebbins <[email protected]>2018-11-09 12:01:07 -0800
committerJohn Stebbins <[email protected]>2018-11-09 12:02:48 -0800
commitaa03552c64ac34fbc3a79396a72df3cd37b6a6f2 (patch)
tree8264dbc3e46537a9b1c07fc2b99e5e8ec5464b65
parentdf1b3c39a31e45e79576621bf05a5422acc6dcfb (diff)
flatpak: fix gvfs access
The freedesktop platform doesn't supply the gvfs module. So add it to the flatpak. Fixes https://forum.handbrake.fr/viewtopic.php?f=13&t=38383
-rw-r--r--pkg/linux/flatpak/fr.handbrake.ghb.json15
1 files changed, 15 insertions, 0 deletions
diff --git a/pkg/linux/flatpak/fr.handbrake.ghb.json b/pkg/linux/flatpak/fr.handbrake.ghb.json
index ed0bfbd94..c723a9f5f 100644
--- a/pkg/linux/flatpak/fr.handbrake.ghb.json
+++ b/pkg/linux/flatpak/fr.handbrake.ghb.json
@@ -10,9 +10,11 @@
"--filesystem=xdg-run/dconf",
"--filesystem=~/.config/dconf:ro",
"--talk-name=ca.desrt.dconf",
+ "--talk-name=org.gtk.vfs.*",
"--env=DCONF_USER_CONFIG_DIR=.config/dconf",
"--env=PATH=/app/bin:/usr/bin:/app/extensions/bin",
"--env=JAVA_HOME=/app/extensions/jre",
+ "--env=GIO_EXTRA_MODULES=/app/lib/gio/modules",
"--filesystem=host"
],
"add-extensions": {
@@ -28,6 +30,19 @@
},
"modules": [
{
+ "name": "gvfs",
+ "cleanup": [ "/libexec/*", "/share/dbus-1/services/*", "/share/gvfs/mounts" ],
+ "config-opts": [ "--disable-hal", "--disable-gdu", "--disable-gcr", "--disable-obexftp",
+ "--disable-avahi", "--disable-documentation", "--disable-admin" ],
+ "sources": [
+ {
+ "type": "archive",
+ "url": "https://download.gnome.org/sources/gvfs/1.36/gvfs-1.36.1.tar.xz",
+ "sha256": "3840dff386c2c8a445337bea4ade0eb71339efaff8602767659fa2896792f026"
+ }
+ ]
+ },
+ {
"name": "fribidi",
"make-args": ["-j1"],
"sources": [