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.
commitcc64f51baa8f619500adb255fa40bf386faf4374
authorThomas Tuegel <ttuegel@gmail.com>
dateFri 11 Dec 2015, 09:05 (11 years ago)
parent577df36
pkgs/development/libraries/phonon-backend-gstreamer/qt5/default.nix+5
@@ -17,6 +17,11 @@ stdenv.mkDerivation rec {
1717
1818 buildInputs = with gst_all_1; [ gstreamer gst-plugins-base phonon qtbase ];
1919
20+ NIX_CFLAGS_COMPILE = [
21+ # This flag should be picked up through pkgconfig, but it isn't.
22+ "-I${gst_all_1.gstreamer}/lib/gstreamer-1.0/include"
23+ ];
24+
2025 nativeBuildInputs = [ cmake pkgconfig ];
2126
2227 cmakeFlags = [