diff --git a/srcpkgs/gstreamer1/template b/srcpkgs/gstreamer1/template index d3cedb0d5cb..5aa0bfb7ba2 100644 --- a/srcpkgs/gstreamer1/template +++ b/srcpkgs/gstreamer1/template @@ -2,7 +2,7 @@ pkgname=gstreamer1 reverts="1:1.4.5_1" version=1.8.3 -revision=2 +revision=3 wrksrc="gstreamer-${version#*:}" build_style=gnu-configure configure_args="--disable-valgrind --enable-docbook @@ -24,6 +24,12 @@ if [ -z "$CROSS_BUILD" ]; then fi pre_configure() { + # Remove a non-existing include path from the gstreamer.pc.in file, + # or otherwise building pkgs which enable -Werror fail to build with + # gcc-6.2.1 which issues a warning for non existing -I/some/path args. + # There is no ./usr/lib/gstreamer-1.0/include path in this pkg. + sed -i pkgconfig/gstreamer.pc.in \ + -e 's; -I${libdir}/gstreamer-@GST_API_VERSION@/include;;' NOCONFIGURE=1 ./autogen.sh }