mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 12:11:13 +00:00
allocators: Add single-include header
This commit is contained in:
parent
76400ef226
commit
37f0067946
2 changed files with 33 additions and 2 deletions
|
@ -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@ \
|
||||
|
|
28
gst-libs/gst/allocators/allocators.h
Normal file
28
gst-libs/gst/allocators/allocators.h
Normal file
|
@ -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 <gst/allocators/gstdmabuf.h>
|
||||
|
||||
#endif /* __GST_ALLOCATORS_H__ */
|
||||
|
Loading…
Reference in a new issue