[pitivi] flatpak: Grant access to the DRI
- From: Thibault Saunier <tsaunier src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [pitivi] flatpak: Grant access to the DRI
- Date: Fri, 11 Aug 2017 00:59:01 +0000 (UTC)
commit 5845f784575a096f7954d9c5d2842f9f05b4cf14
Author: Thibault Saunier <tsaunier gnome org>
Date: Thu Aug 10 18:00:14 2017 -0400
flatpak: Grant access to the DRI
Mandatory for vaapi plugins
build/flatpak/pitivi-flatpak | 2 +-
build/flatpak/pitivi.template.json | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/build/flatpak/pitivi-flatpak b/build/flatpak/pitivi-flatpak
index 8d7f6ba..8a19c5e 100755
--- a/build/flatpak/pitivi-flatpak
+++ b/build/flatpak/pitivi-flatpak
@@ -558,7 +558,7 @@ class PitiviFlatpak: # pylint: disable=too-many-instance-attributes
"--socket=session-bus", "--socket=pulseaudio",
"--share=network", "--env=PITIVI_DEVELOPMENT=1",
"--env=CC=ccache gcc",
- "--env=CXX=ccache g++"]
+ "--env=CXX=ccache g++", "--device=dri"]
# The forwarded environment variables.
forwarded = {}
diff --git a/build/flatpak/pitivi.template.json b/build/flatpak/pitivi.template.json
index b4173a5..60e9b5e 100644
--- a/build/flatpak/pitivi.template.json
+++ b/build/flatpak/pitivi.template.json
@@ -7,7 +7,7 @@
"--share=ipc", "--socket=x11", "--socket=session-bus", "--socket=pulseaudio",
"--talk-name=ca.desrt.dconf",
"--talk-name=org.freedesktop.Notifications",
- "--filesystem=host"],
+ "--filesystem=host", "--device=dri"],
"sdk": "org.gnome.Sdk",
"rename-appdata-file": "pitivi.appdata.xml",
"rename-desktop-file": "pitivi.desktop",
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]