[pitivi] flatpak: Set GStreamer env variable related to preset in the sandbox
- From: Thibault Saunier <tsaunier src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [pitivi] flatpak: Set GStreamer env variable related to preset in the sandbox
- Date: Thu, 2 Jun 2016 14:28:10 +0000 (UTC)
commit 33ee1d5df3ace48f5686fb090efd5c2b2c2082b0
Author: Thibault Saunier <tsaunier gnome org>
Date: Thu Jun 2 01:54:48 2016 +0000
flatpak: Set GStreamer env variable related to preset in the sandbox
Reviewed-by: Alex Băluț <alexandru balut gmail com>
Reviewed-by: Alex Băluț <alexandru balut gmail com>
Differential Revision: https://phabricator.freedesktop.org/D1052
build/flatpak/pitivi-flatpak | 8 +++++---
1 files changed, 5 insertions(+), 3 deletions(-)
---
diff --git a/build/flatpak/pitivi-flatpak b/build/flatpak/pitivi-flatpak
index 45ea22e..149656d 100755
--- a/build/flatpak/pitivi-flatpak
+++ b/build/flatpak/pitivi-flatpak
@@ -51,11 +51,11 @@ then
which $FLATPAK > /dev/null 2>&1
if [ ! $? -eq 0 ]
then
- printf "$RED \n\n\nYou need to install flatpak to be able to use the '$0' script.
+ printf "$RED \nYou need to install flatpak to be able to use the '$0' script.
You can find some informations about how to install it for your distribution at:
- * https://wiki.gnome.org/Projects/SandboxedApps/NightlyBuilds $NC\n\n\n"
+ * http://flatpak.org/ $NC\n\n\n"
if [ -n "$INSTALLER" ]
then
@@ -110,7 +110,7 @@ Options:
--repo-commit-body: The commit body to be used when updating the ostree repository
--check: Run make check on pitivi (work only when --bundle is used)
-You can find more information about flatpak at: https://wiki.gnome.org/Projects/SandboxedApps
+You can find more information about flatpak at: http://flatpak.org/
"
for i in "$@"
@@ -392,6 +392,8 @@ then
then
$FLATPAK build --socket=x11 --socket=session-bus --socket=pulseaudio \
--share=network \
+ --env=GST_PRESET_PATH=/app/share/gstreamer-1.0/presets/:/app/share/pitivi/gstpresets/:$GST_PRESET_PATH
\
+ --env=GST_ENCODING_TARGET_PATH=/app/share/pitivi/gstpresets/:$GST_ENCODING_TARGET_PATH \
--env=GST_DEBUG=$GST_DEBUG \
--env=GST_VALIDATE=$GST_VALIDATE \
--env=GST_VALIDATE_LAUNCHER_DEBUG=$GST_VALIDATE_LAUNCHER_DEBUG \
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]