mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-27 02:30:35 +00:00
4915493932
These are uninstalled examples. Pass $srcdir to cpp to build the correct location for the UI file.
33 lines
804 B
Makefile
33 lines
804 B
Makefile
GST_CAMERABIN_UI_FILES = gst-camera2.ui
|
|
|
|
if HAVE_GTK
|
|
|
|
GST_CAMERABIN_GTK_EXAMPLES = gst-camera2
|
|
|
|
gst_camera2_SOURCES = gst-camera2.h gst-camera2.c
|
|
gst_camera2_CFLAGS = \
|
|
$(GST_PLUGINS_BAD_CFLAGS) \
|
|
$(GST_PLUGINS_BASE_CFLAGS) $(GST_CFLAGS) \
|
|
$(GTK_CFLAGS) \
|
|
$(GMODULE_EXPORT_CFLAGS) \
|
|
-DGST_USE_UNSTABLE_API
|
|
gst_camera2_LDADD = \
|
|
$(top_builddir)/gst-libs/gst/interfaces/libgstphotography-@GST_MAJORMINOR@.la \
|
|
$(GST_PLUGINS_BASE_LIBS) \
|
|
-lgstinterfaces-@GST_MAJORMINOR@ \
|
|
$(GST_LIBS) \
|
|
$(GTK_LIBS) \
|
|
$(GMODULE_EXPORT_LIBS)
|
|
|
|
noinst_DATA = $(GST_CAMERABIN_UI_FILES)
|
|
|
|
INCLUDES = -DCAMERA_APPS_UIDIR=\""$(srcdir)"\"
|
|
|
|
else
|
|
GST_CAMERABIN_GTK_EXAMPLES =
|
|
endif
|
|
|
|
noinst_PROGRAMS = $(GST_CAMERABIN_GTK_EXAMPLES)
|
|
|
|
EXTRA_DIST = $(GST_CAMERABIN_UI_FILES)
|
|
|