mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-26 18:20:44 +00:00
f8f4620451
_BAD_CFLAGS should always come first, then GST_PLUGINS_BASE_CFLAGS, then GST_BASE_CFLAGS then GST_CFLAGS. Same for libs: first plugins base libs, then GST_BASE_LIB then GST_LIBS.
41 lines
1.5 KiB
Makefile
41 lines
1.5 KiB
Makefile
gsettings_SCHEMAS = org.freedesktop.gstreamer-@GST_MAJORMINOR@.default-elements.gschema.xml
|
|
|
|
org.freedesktop.gstreamer-@GST_MAJORMINOR@.default-elements.gschema.xml: org.freedesktop.gstreamer.default-elements.gschema.xml
|
|
cp org.freedesktop.gstreamer.default-elements.gschema.xml org.freedesktop.gstreamer-@GST_MAJORMINOR@.default-elements.gschema.xml
|
|
|
|
if USE_GSETTINGS
|
|
@GSETTINGS_RULES@
|
|
endif
|
|
|
|
plugin_LTLIBRARIES = libgstgsettingselements.la
|
|
|
|
libgstgsettingselements_la_SOURCES = \
|
|
gstgsettingsaudiosink.c \
|
|
gstgsettingsaudiosrc.c \
|
|
gstgsettingsvideosink.c \
|
|
gstgsettingsvideosrc.c \
|
|
gstswitchsink.c \
|
|
gstswitchsrc.c \
|
|
plugin.c
|
|
|
|
libgstgsettingselements_la_CFLAGS = $(GST_PLUGINS_BAD_CFLAGS) $(GST_CFLAGS) $(GSETTINGS_CFLAGS) $(DIR_CFLAGS) \
|
|
-DGstSwitchSrc=GstGSettingsSwitchSrc \
|
|
-DGstSwitchSrcClass=GstGSettingsSwitchSrcClass \
|
|
-DGstSwitchSink=GstGSettingsSwitchSink \
|
|
-DGstSwitchSinkClass=GstGSettingsSwitchSinkClass
|
|
libgstgsettingselements_la_LIBADD = $(GST_LIBS) $(GSETTINGS_LIBS)
|
|
libgstgsettingselements_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS)
|
|
libgstgsettingselements_la_LIBTOOLFLAGS = --tag=disable-static
|
|
|
|
noinst_HEADERS = \
|
|
gstgsettingsaudiosink.h \
|
|
gstgsettingsaudiosrc.h \
|
|
gstgsettingsvideosink.h \
|
|
gstgsettingsvideosrc.h \
|
|
gstswitchsink.h \
|
|
gstswitchsrc.h \
|
|
gstgsettings.h
|
|
|
|
EXTRA_DIST = org.freedesktop.gstreamer.default-elements.gschema.xml
|
|
|
|
CLEANFILES = $(gsettings_SCHEMAS)
|