gst-libs/gst/pbutils/: Use glib-enum generator to have a proper enum GType for

Original commit message from CVS:
* gst-libs/gst/pbutils/Makefile.am:
* gst-libs/gst/pbutils/pbutils.h:
Use glib-enum generator to have a proper enum GType for
GST_TYPE_INSTALL_PLUGINS_RETURN so we can easily wrap it in bindings.
This commit is contained in:
Edward Hervey 2008-01-01 12:53:48 +00:00
parent f85d8a21e0
commit 7701190c01
3 changed files with 41 additions and 9 deletions

View file

@ -1,3 +1,10 @@
2008-01-01 Edward Hervey <edward.hervey@collabora.co.uk>
* gst-libs/gst/pbutils/Makefile.am:
* gst-libs/gst/pbutils/pbutils.h:
Use glib-enum generator to have a proper enum GType for
GST_TYPE_INSTALL_PLUGINS_RETURN so we can easily wrap it in bindings.
2007-12-31 David Schleef <ds@schleef.org>
* tests/check/Makefile.am:

View file

@ -1,22 +1,46 @@
lib_LTLIBRARIES = libgstpbutils-@GST_MAJORMINOR@.la
headers_pbutils = \
pbutils.h \
descriptions.h \
install-plugins.h \
missing-plugins.h
# variables used for enum/marshal generation
glib_enum_headers=$(headers_pbutils)
glib_enum_define=GST_INSTALL
glib_enum_prefix=gst_install
built_sources = \
pbutils-enumtypes.c
built_headers = \
pbutils-enumtypes.h
libgstpbutils_@GST_MAJORMINOR@_la_SOURCES = \
pbutils.c \
pbutils.h \
descriptions.c \
descriptions.h \
install-plugins.c \
install-plugins.h \
missing-plugins.c \
missing-plugins.h
missing-plugins.c
nodist_libgstpbutils_@GST_MAJORMINOR@_la_SOURCES = \
$(built_sources)
libgstpbutils_@GST_MAJORMINOR@includedir = $(includedir)/gstreamer-@GST_MAJORMINOR@/gst/pbutils
libgstpbutils_@GST_MAJORMINOR@include_HEADERS = \
pbutils.h \
descriptions.h \
install-plugins.h \
missing-plugins.h
$(headers_pbutils)
nodist_libgstpbutils_@GST_MAJORMINOR@include_HEADERS = \
pbutils-enumtypes.h
libgstpbutils_@GST_MAJORMINOR@_la_LIBADD = $(GST_LIBS)
libgstpbutils_@GST_MAJORMINOR@_la_CFLAGS = $(GST_PLUGINS_BASE_CFLAGS) $(GST_CFLAGS)
libgstpbutils_@GST_MAJORMINOR@_la_LDFLAGS = $(GST_LIB_LDFLAGS) $(GST_ALL_LDFLAGS) $(GST_LT_LDFLAGS)
BUILT_SOURCES = \
$(built_sources) \
$(built_headers)
CLEANFILES = $(BUILT_SOURCES)
include $(top_srcdir)/common/glib-gen.mak

View file

@ -25,6 +25,7 @@
#include <gst/pbutils/descriptions.h>
#include <gst/pbutils/missing-plugins.h>
#include <gst/pbutils/install-plugins.h>
#include <gst/pbutils/pbutils-enumtypes.h>
G_BEGIN_DECLS