mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-10 19:31:12 +00:00
a1a58d438f
When opening the .ui file it complains about being for GTK 2 and automatically updates it to GTK3. Commit this version and update the makefile
55 lines
1.5 KiB
Makefile
55 lines
1.5 KiB
Makefile
GST_CAMERABIN_UI_FILES = gst-camera2.ui
|
|
|
|
AM_CPPFLAGS = -DCAMERA_APPS_UIDIR=\""$(srcdir)"\"
|
|
|
|
if HAVE_GTK3
|
|
|
|
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) \
|
|
$(GTK3_CFLAGS) \
|
|
$(GMODULE_EXPORT_CFLAGS) \
|
|
-DGST_USE_UNSTABLE_API
|
|
gst_camera2_LDADD = \
|
|
$(top_builddir)/gst-libs/gst/interfaces/libgstphotography-@GST_API_VERSION@.la \
|
|
$(top_builddir)/gst-libs/gst/basecamerabinsrc/libgstbasecamerabinsrc-@GST_API_VERSION@.la \
|
|
$(GST_PLUGINS_BAD_LIBS) \
|
|
$(GST_PLUGINS_BASE_LIBS) \
|
|
-lgstpbutils-@GST_API_VERSION@ \
|
|
-lgstvideo-@GST_API_VERSION@ \
|
|
$(GST_LIBS) \
|
|
$(GTK3_LIBS) \
|
|
$(GMODULE_EXPORT_LIBS)
|
|
|
|
noinst_DATA = $(GST_CAMERABIN_UI_FILES)
|
|
|
|
else
|
|
GST_CAMERABIN_GTK_EXAMPLES =
|
|
endif
|
|
|
|
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 = \
|
|
$(top_builddir)/gst-libs/gst/interfaces/libgstphotography-@GST_API_VERSION@.la \
|
|
$(GST_PLUGINS_BASE_LIBS) \
|
|
-lgstpbutils-@GST_API_VERSION@ \
|
|
-lgstvideo-@GST_API_VERSION@ \
|
|
$(GST_BASE_LIBS) \
|
|
$(GST_LIBS) \
|
|
$(X11_LIBS)
|
|
|
|
else
|
|
GST_CAMERABIN_X11_EXAMPLES =
|
|
endif
|
|
|
|
noinst_PROGRAMS = $(GST_CAMERABIN_GTK_EXAMPLES) $(GST_CAMERABIN_X11_EXAMPLES)
|
|
|
|
EXTRA_DIST = $(GST_CAMERABIN_UI_FILES)
|
|
|