qt5Libs.phonon_backend_gstreamer: fix build with gstreamer-1.6.1

An include flag which should be picked up through pkgconfig is not. The
root cause is unknown, but it's simple to add the missing flag to
NIX_CFLAGS_COMPILE.
This commit is contained in:
Thomas Tuegel 2015-12-11 09:05:16 -06:00
parent 577df36b56
commit cc64f51baa

View File

@ -17,6 +17,11 @@ stdenv.mkDerivation rec {
buildInputs = with gst_all_1; [ gstreamer gst-plugins-base phonon qtbase ];
NIX_CFLAGS_COMPILE = [
# This flag should be picked up through pkgconfig, but it isn't.
"-I${gst_all_1.gstreamer}/lib/gstreamer-1.0/include"
];
nativeBuildInputs = [ cmake pkgconfig ];
cmakeFlags = [