2010-11-27 02:55:12 +00:00
|
|
|
GST_CAMERABIN_UI_FILES = gst-camera2.ui
|
|
|
|
|
2013-06-13 11:34:37 +00:00
|
|
|
AM_CPPFLAGS = -DCAMERA_APPS_UIDIR=\""$(srcdir)"\"
|
|
|
|
|
2015-04-27 18:41:04 +00:00
|
|
|
if HAVE_GTK3
|
2010-11-27 02:55:12 +00:00
|
|
|
|
|
|
|
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) \
|
2015-04-27 18:41:04 +00:00
|
|
|
$(GTK3_CFLAGS) \
|
2010-11-27 02:55:12 +00:00
|
|
|
$(GMODULE_EXPORT_CFLAGS) \
|
|
|
|
-DGST_USE_UNSTABLE_API
|
|
|
|
gst_camera2_LDADD = \
|
2012-04-04 12:41:22 +00:00
|
|
|
$(top_builddir)/gst-libs/gst/interfaces/libgstphotography-@GST_API_VERSION@.la \
|
2013-07-04 05:12:30 +00:00
|
|
|
$(top_builddir)/gst-libs/gst/basecamerabinsrc/libgstbasecamerabinsrc-@GST_API_VERSION@.la \
|
|
|
|
$(GST_PLUGINS_BAD_LIBS) \
|
2010-11-27 02:55:12 +00:00
|
|
|
$(GST_PLUGINS_BASE_LIBS) \
|
2012-04-04 12:41:22 +00:00
|
|
|
-lgstpbutils-@GST_API_VERSION@ \
|
|
|
|
-lgstvideo-@GST_API_VERSION@ \
|
2010-11-27 02:55:12 +00:00
|
|
|
$(GST_LIBS) \
|
2015-04-27 18:41:04 +00:00
|
|
|
$(GTK3_LIBS) \
|
2010-11-27 02:55:12 +00:00
|
|
|
$(GMODULE_EXPORT_LIBS)
|
|
|
|
|
|
|
|
noinst_DATA = $(GST_CAMERABIN_UI_FILES)
|
|
|
|
|
|
|
|
else
|
|
|
|
GST_CAMERABIN_GTK_EXAMPLES =
|
|
|
|
endif
|
|
|
|
|
2011-02-03 19:58:37 +00:00
|
|
|
if HAVE_X11
|
|
|
|
|
|
|
|
GST_CAMERABIN_X11_EXAMPLES = gst-camerabin2-test
|
|
|
|
|
|
|
|
gst_camerabin2_test_SOURCES = gst-camerabin2-test.c
|
|
|
|
gst_camerabin2_test_CFLAGS = $(GST_CFLAGS) $(GST_PLUGINS_BASE_CFLAGS) $(GST_PLUGINS_BAD_CFLAGS)
|
|
|
|
gst_camerabin2_test_LDADD = \
|
2012-04-04 12:41:22 +00:00
|
|
|
$(top_builddir)/gst-libs/gst/interfaces/libgstphotography-@GST_API_VERSION@.la \
|
2011-03-11 10:40:40 +00:00
|
|
|
$(GST_PLUGINS_BASE_LIBS) \
|
2012-04-04 12:41:22 +00:00
|
|
|
-lgstpbutils-@GST_API_VERSION@ \
|
|
|
|
-lgstvideo-@GST_API_VERSION@ \
|
2011-05-12 14:39:51 +00:00
|
|
|
$(GST_BASE_LIBS) \
|
2011-02-03 19:58:37 +00:00
|
|
|
$(GST_LIBS) \
|
|
|
|
$(X11_LIBS)
|
|
|
|
|
|
|
|
else
|
|
|
|
GST_CAMERABIN_X11_EXAMPLES =
|
|
|
|
endif
|
|
|
|
|
|
|
|
noinst_PROGRAMS = $(GST_CAMERABIN_GTK_EXAMPLES) $(GST_CAMERABIN_X11_EXAMPLES)
|
2010-11-27 02:55:12 +00:00
|
|
|
|
|
|
|
EXTRA_DIST = $(GST_CAMERABIN_UI_FILES)
|
|
|
|
|