mlt: extra CFLAGS for QtSvg

This commit is contained in:
Thomas Tuegel
2017-10-24 06:44:07 -05:00
parent 0b4564fdb1
commit afac783343

View File

@@ -3,6 +3,8 @@
, fftw, vid-stab, opencv3, ladspa-sdk
}:
let inherit (stdenv.lib) getDev; in
stdenv.mkDerivation rec {
name = "mlt-${version}";
version = "6.4.1";
@@ -27,6 +29,10 @@ stdenv.mkDerivation rec {
"--enable-opengl"
];
# mlt is unable to cope with our multi-prefix Qt build
# because it does not use CMake or qmake.
NIX_CFLAGS_COMPILE = [ "-I${getDev qtsvg}/include/QtSvg" ];
CXXFLAGS = "-std=c++11";
enableParallelBuilding = true;