Fix build.
[dcpomatic.git] / cscript
diff --git a/cscript b/cscript
index 5d1ab941e2b9270d1f38d31553893dfd7394109e..0cfc31edbf5801a46d1177b95e193cff674d4f6b 100644 (file)
--- a/cscript
+++ b/cscript
@@ -325,11 +325,14 @@ def dependencies(target):
 
     if target.platform == 'windows' and target.version == 'xp':
         deps = [('ffmpeg-cdist', '5783efa', ffmpeg_options)]
-    else:
+    elif target.platform != 'linux' or target.distro != 'arch':
         deps = [('ffmpeg-cdist', '27f25fb', ffmpeg_options)]
+    else:
+        # Use distro-provided FFmpeg on Arch
+        deps = []
 
-    deps.append(('libdcp', '5d8a158'))
-    deps.append(('libsub', '7adea71'))
+    deps.append(('libdcp', '6fef005'))
+    deps.append(('libsub', '32b8463'))
     deps.append(('rtaudio-cdist', '739969e'))
 
     return deps