summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--pkg/linux/flatpak/fr.handbrake.ghb.json14
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",