Commit 2a50e82e authored by Thibault Saunier's avatar Thibault Saunier

flatpak: Set FREI0R_PATH in the sandbox

parent 0f66cf7b
......@@ -81,7 +81,7 @@ def expand_json_file(json_template, outfile, basedir, gst_version, branchname):
pass
with open(json_template, "r") as tf:
txt = re.sub('/\*[^*]*\*+(?:[^/*][^*]*\*+)*/', '', tf.read())
txt = re.sub(r"/\*[^*]*\*+(?:[^/*][^*]*\*+)*/", "", tf.read())
template = json.loads(txt)
if branchname == "stable":
......@@ -571,6 +571,7 @@ class PitiviFlatpak: # pylint: disable=too-many-instance-attributes
"GST_ENCODING_TARGET_PATH":
"/app/share/gstreamer-1.0/encoding-profiles/:/app/share/pitivi/encoding-profiles/",
"GST_PLUGIN_SYSTEM_PATH": "/app/lib/gstreamer-1.0/",
"FREI0R_PATH": "/app/lib/frei0r-1/",
"GST_PRESET_PATH":
"/app/share/gstreamer-1.0/presets/:/app/share/pitivi/gstpresets/",
}
......
......@@ -18,7 +18,8 @@
"cxxflags": "-O0 -g",
"env": {
"PYTHON": "python3",
"GST_PLUGIN_SYSTEM_PATH": "/app/lib/gstreamer-1.0/"
"GST_PLUGIN_SYSTEM_PATH": "/app/lib/gstreamer-1.0/",
"FREI0R_PATH": "/app/lib/frei0r-1/"
},
"strip": false,
"no-debuginfo": true
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment