git.iko.soy/typeable/nixpkgs
on master help sign in
phonon_qt5_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.

commit577df36b56894a130c764933c1940c168938693c authorThomas Tuegel <ttuegel@gmail.com> dateFri 11 Dec 2015, 09:04 (11 years ago) parent3960ecb
1 file changed+8−1
pkgs/development/libraries/phonon-backend-gstreamer/qt5/old.nix+8−1
pkgs/development/libraries/phonon-backend-gstreamer/qt5/old.nix+8−1
@@ -15,7 +15,14 @@ stdenv.mkDerivation rec {
1515 sha256 = "1q1ix6zsfnh6gfnpmwp67s376m7g7ahpjl1qp2fqakzb5cgzgq10";
1616 };
1717
18− buildInputs = with gst_all_1; [ gstreamer gst-plugins-base phonon_qt5 qt5.base ];
18+ buildInputs = with gst_all_1; [
19+ gstreamer gst-plugins-base phonon_qt5 qt5.base
20+ ];
21+
22+ NIX_CFLAGS_COMPILE = [
23+ # This flag should be picked up through pkgconfig, but it isn't.
24+ "-I${gst_all_1.gstreamer}/lib/gstreamer-1.0/include"
25+ ];
1926
2027 nativeBuildInputs = [ cmake pkgconfig ];
2128