mlt: extra CFLAGS for QtSvg
This commit is contained in:
parent
0b4564fdb1
commit
afac783343
|
@ -3,6 +3,8 @@
|
||||||
, fftw, vid-stab, opencv3, ladspa-sdk
|
, fftw, vid-stab, opencv3, ladspa-sdk
|
||||||
}:
|
}:
|
||||||
|
|
||||||
|
let inherit (stdenv.lib) getDev; in
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "mlt-${version}";
|
name = "mlt-${version}";
|
||||||
version = "6.4.1";
|
version = "6.4.1";
|
||||||
|
@ -27,6 +29,10 @@ stdenv.mkDerivation rec {
|
||||||
"--enable-opengl"
|
"--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";
|
CXXFLAGS = "-std=c++11";
|
||||||
|
|
||||||
enableParallelBuilding = true;
|
enableParallelBuilding = true;
|
||||||
|
|
Loading…
Reference in New Issue