[pitivi] flatpak: Set FREI0R_PATH in the sandbox



commit 2a50e82efcb7eb2a3b0a6304c2f65f288838446e
Author: Thibault Saunier <tsaunier gnome org>
Date:   Wed Aug 9 11:20:38 2017 -0400

    flatpak: Set FREI0R_PATH in the sandbox

 build/flatpak/pitivi-flatpak       |    3 ++-
 build/flatpak/pitivi.template.json |    3 ++-
 2 files changed, 4 insertions(+), 2 deletions(-)
---
diff --git a/build/flatpak/pitivi-flatpak b/build/flatpak/pitivi-flatpak
index d99cafb..8d7f6ba 100755
--- a/build/flatpak/pitivi-flatpak
+++ b/build/flatpak/pitivi-flatpak
@@ -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/",
         }
diff --git a/build/flatpak/pitivi.template.json b/build/flatpak/pitivi.template.json
index cfcb65a..b4173a5 100644
--- a/build/flatpak/pitivi.template.json
+++ b/build/flatpak/pitivi.template.json
@@ -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


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]