diff options
author | John Stebbins <[email protected]> | 2018-06-26 18:22:30 -0700 |
---|---|---|
committer | John Stebbins <[email protected]> | 2018-06-26 18:22:30 -0700 |
commit | b25af79e205c55f9f09b93a88e3f4f7cc18acb8c (patch) | |
tree | 185c0669c0b201ea17e608ec082507d84dd48f1e /pkg/linux | |
parent | 7a2b06d19503175c79fdbee353d6a1149cd72349 (diff) |
flatpak: add flatpak extensions support
This allows us to add additional libraries or executables as separate
flatpak bundles
Diffstat (limited to 'pkg/linux')
-rw-r--r-- | pkg/linux/flatpak/fr.handbrake.ghb.json | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/pkg/linux/flatpak/fr.handbrake.ghb.json b/pkg/linux/flatpak/fr.handbrake.ghb.json index eea299b79..ed0bfbd94 100644 --- a/pkg/linux/flatpak/fr.handbrake.ghb.json +++ b/pkg/linux/flatpak/fr.handbrake.ghb.json @@ -11,8 +11,21 @@ "--filesystem=~/.config/dconf:ro", "--talk-name=ca.desrt.dconf", "--env=DCONF_USER_CONFIG_DIR=.config/dconf", + "--env=PATH=/app/bin:/usr/bin:/app/extensions/bin", + "--env=JAVA_HOME=/app/extensions/jre", "--filesystem=host" ], + "add-extensions": { + "fr.handbrake.plugin": { + "version": "1", + "directory": "extensions", + "add-ld-path": "lib", + "merge-dirs": "lib;bin;share;jre", + "subdirectories": true, + "no-autodownload": true, + "autodelete": true + } + }, "modules": [ { "name": "fribidi", @@ -42,6 +55,7 @@ "no-autogen": true, "config-opts": ["--flatpak", "--disable-gtk-update-checks"], "builddir": true, + "post-install": ["install -d /app/extensions"], "sources": [ { "type": "archive", |