libs: Fix last commit by using correct include paths and only include existing headers

This commit is contained in:
Sebastian Dröge 2012-11-21 11:12:57 +01:00
parent 4d77fba46c
commit 7af386fdaf
3 changed files with 5 additions and 4 deletions

View file

@ -39,7 +39,7 @@ libgstfft_@GST_API_VERSION@_la_SOURCES = \
kiss_fftr_f64.c
libgstfft_@GST_API_VERSION@_la_LIBADD = $(GST_LIBS) $(LIBM)
libgstfft_@GST_API_VERSION@_la_CFLAGS = $(GST_CFLAGS)
libgstfft_@GST_API_VERSION@_la_CFLAGS = $(GST_PLUGINS_BASE_CFLAGS) $(GST_CFLAGS)
libgstfft_@GST_API_VERSION@_la_LDFLAGS = $(GST_LIB_LDFLAGS) $(GST_ALL_LDFLAGS) $(GST_LT_LDFLAGS)
EXTRA_DIST = kiss_version
@ -58,6 +58,8 @@ GstFft-@GST_API_VERSION@.gir: $(INTROSPECTION_SCANNER) libgstfft-@GST_API_VERSIO
--strip-prefix=Gst \
--warn-all \
--c-include "gst/fft/gstfft.h" \
-I$(top_srcdir)/gst-libs \
-I$(top_builddir)/gst-libs \
--add-include-path=`PKG_CONFIG_PATH="$(GST_PKG_CONFIG_PATH)" $(PKG_CONFIG) --variable=girdir gstreamer-@GST_API_VERSION@` \
--library=libgstfft-@GST_API_VERSION@.la \
--include=Gst-@GST_API_VERSION@ \

View file

@ -37,6 +37,8 @@ GstTag-@GST_API_VERSION@.gir: $(INTROSPECTION_SCANNER) libgsttag-@GST_API_VERSIO
--strip-prefix=Gst \
--warn-all \
--c-include "gst/tag/gsttag.h" \
-I$(top_srcdir)/gst-libs \
-I$(top_builddir)/gst-libs \
--add-include-path=`PKG_CONFIG_PATH="$(GST_PKG_CONFIG_PATH)" $(PKG_CONFIG) --variable=girdir gstreamer-@GST_API_VERSION@` \
--add-include-path=`PKG_CONFIG_PATH="$(GST_PKG_CONFIG_PATH)" $(PKG_CONFIG) --variable=girdir gstreamer-base-@GST_API_VERSION@` \
--library=libgsttag-@GST_API_VERSION@.la \

View file

@ -24,8 +24,6 @@
#include <gst/video/colorbalancechannel.h>
#include <gst/video/colorbalance.h>
#include <gst/video/gstsurfaceconverter.h>
#include <gst/video/gstsurfacemeta.h>
#include <gst/video/gstvideodecoder.h>
#include <gst/video/gstvideoencoder.h>
#include <gst/video/gstvideofilter.h>
@ -36,7 +34,6 @@
#include <gst/video/navigation.h>
#include <gst/video/video-blend.h>
#include <gst/video/video-color.h>
#include <gst/video/videocontext.h>
#include <gst/video/video-enumtypes.h>
#include <gst/video/video-event.h>
#include <gst/video/video-format.h>