From f5c3d20e9cbd2e57d48c6080691eb493be10c7fc Mon Sep 17 00:00:00 2001
From: Daigo 3 Dango <zunda@users.noreply.github.com>
Date: Wed, 24 May 2017 15:57:33 +0000
Subject: [PATCH] Add ffmpeg and dependent packages as well as LD_LIBRARY_PATHs
 (#3276)

This change adds mp4 support confirmed on Heroku-16 stack.
---
 .profile | 1 +
 Aptfile  | 3 +++
 2 files changed, 4 insertions(+)
 create mode 100644 .profile

diff --git a/.profile b/.profile
new file mode 100644
index 0000000000..c6d57b609d
--- /dev/null
+++ b/.profile
@@ -0,0 +1 @@
+LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/app/.apt/lib/x86_64-linux-gnu:/app/.apt/usr/lib/x86_64-linux-gnu/mesa:/app/.apt/usr/lib/x86_64-linux-gnu/pulseaudio
diff --git a/Aptfile b/Aptfile
index f4efb985f8..0456343ef4 100644
--- a/Aptfile
+++ b/Aptfile
@@ -1,2 +1,5 @@
 protobuf-compiler
 libprotobuf-dev
+ffmpeg
+libxdamage1
+libxfixes3