From 37f0067946af9de9404093a90a3896d3e5461092 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Sebastian=20Dr=C3=B6ge?= Date: Tue, 19 Feb 2013 09:39:24 +0100 Subject: [PATCH] allocators: Add single-include header --- gst-libs/gst/allocators/Makefile.am | 7 +++++-- gst-libs/gst/allocators/allocators.h | 28 ++++++++++++++++++++++++++++ 2 files changed, 33 insertions(+), 2 deletions(-) create mode 100644 gst-libs/gst/allocators/allocators.h diff --git a/gst-libs/gst/allocators/Makefile.am b/gst-libs/gst/allocators/Makefile.am index 6cc127c..c550ab0 100644 --- a/gst-libs/gst/allocators/Makefile.am +++ b/gst-libs/gst/allocators/Makefile.am @@ -3,6 +3,7 @@ lib_LTLIBRARIES = libgstallocators-@GST_API_VERSION@.la libgstallocators_@GST_API_VERSION@_includedir = $(includedir)/gstreamer-@GST_API_VERSION@/gst/allocators libgstallocators_@GST_API_VERSION@_include_HEADERS = \ + allocators.h \ gstdmabuf.h noinst_HEADERS = @@ -11,7 +12,7 @@ libgstallocators_@GST_API_VERSION@_la_SOURCES = \ gstdmabuf.c libgstallocators_@GST_API_VERSION@_la_LIBADD = $(GST_LIBS) $(LIBM) -libgstallocators_@GST_API_VERSION@_la_CFLAGS = $(GST_CFLAGS) +libgstallocators_@GST_API_VERSION@_la_CFLAGS = $(GST_PLUGINS_BASE_CFLAGS) $(GST_CFLAGS) libgstallocators_@GST_API_VERSION@_la_LDFLAGS = $(GST_LIB_LDFLAGS) $(GST_ALL_LDFLAGS) $(GST_LT_LDFLAGS) if HAVE_INTROSPECTION @@ -28,7 +29,9 @@ GstAllocators-@GST_API_VERSION@.gir: $(INTROSPECTION_SCANNER) libgstallocators-@ --nsversion=@GST_API_VERSION@ \ --strip-prefix=Gst \ --warn-all \ - $(gir_cincludes) \ + --c-include "gst/allocators/allocators.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=libgstallocators-@GST_API_VERSION@.la \ --include=Gst-@GST_API_VERSION@ \ diff --git a/gst-libs/gst/allocators/allocators.h b/gst-libs/gst/allocators/allocators.h new file mode 100644 index 0000000..c12beff --- /dev/null +++ b/gst-libs/gst/allocators/allocators.h @@ -0,0 +1,28 @@ +/* GStreamer + * Copyright (C) 2012 GStreamer developers + * + * allocators.h: single include header for gst-allocators library + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Library General Public + * License as published by the Free Software Foundation; either + * version 2 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Library General Public License for more details. + * + * You should have received a copy of the GNU Library General Public + * License along with this library; if not, write to the + * Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, + * Boston, MA 02110-1301, USA. + */ + +#ifndef __GST_ALLOCATORS_H__ +#define __GST_ALLOCATORS_H__ + +#include + +#endif /* __GST_ALLOCATORS_H__ */ + -- 2.7.4