2010-02-16 13:43:26 +00:00
|
|
|
EXAMPLES =
|
|
|
|
|
|
|
|
if USE_X
|
|
|
|
|
|
|
|
if HAVE_GTK_X11
|
2011-08-08 12:55:21 +00:00
|
|
|
EXAMPLES += gtk-videooverlay
|
2010-02-16 13:43:26 +00:00
|
|
|
|
2011-08-08 12:55:21 +00:00
|
|
|
gtk_videooverlay_SOURCES = gtk-videooverlay.c
|
|
|
|
gtk_videooverlay_CFLAGS = $(GST_PLUGINS_BASE_CFLAGS) $(GST_BASE_CFLAGS) $(GST_CFLAGS) $(X_CFLAGS) $(GTK_CFLAGS)
|
2011-08-08 13:16:39 +00:00
|
|
|
gtk_videooverlay_LDADD = \
|
2012-04-04 12:20:13 +00:00
|
|
|
$(top_builddir)/gst-libs/gst/video/libgstvideo-$(GST_API_VERSION).la \
|
2011-08-08 13:16:39 +00:00
|
|
|
$(GST_LIBS) $(X_LIBS) $(LIBM) $(GTK_LIBS)
|
2010-02-16 13:43:26 +00:00
|
|
|
endif
|
|
|
|
|
|
|
|
if HAVE_QT
|
2011-08-08 12:55:21 +00:00
|
|
|
EXAMPLES += qt-videooverlay
|
2010-02-16 13:43:26 +00:00
|
|
|
|
2011-08-08 12:55:21 +00:00
|
|
|
qt_videooverlay_SOURCES = qt-videooverlay.cpp
|
2017-01-25 17:13:40 +00:00
|
|
|
qt_videooverlay_CXXFLAGS = $(GST_PLUGINS_BASE_CFLAGS) $(GST_BASE_CFLAGS) $(GST_CXXFLAGS) $(X_CFLAGS) $(QT_CFLAGS) -fPIC -std=c++11
|
2011-08-08 13:16:39 +00:00
|
|
|
qt_videooverlay_LDADD = \
|
2012-04-04 12:20:13 +00:00
|
|
|
$(top_builddir)/gst-libs/gst/video/libgstvideo-$(GST_API_VERSION).la \
|
2011-08-08 13:16:39 +00:00
|
|
|
$(GST_LIBS) $(X_LIBS) $(LIBM) $(QT_LIBS)
|
2010-02-16 13:43:26 +00:00
|
|
|
endif
|
|
|
|
|
2014-01-20 08:46:15 +00:00
|
|
|
if HAVE_QT_MOC
|
2011-08-08 12:55:21 +00:00
|
|
|
EXAMPLES += qtgv-videooverlay
|
2010-02-16 13:43:26 +00:00
|
|
|
|
2011-08-08 12:55:21 +00:00
|
|
|
qtgv_videooverlay_SOURCES = qtgv-videooverlay.cpp qtgv-videooverlay.h
|
2014-01-20 08:46:15 +00:00
|
|
|
qtgv_videooverlay_CXXFLAGS = $(GST_PLUGINS_BASE_CFLAGS) $(GST_BASE_CFLAGS) $(GST_CXXFLAGS) $(X_CFLAGS) $(QT_CFLAGS) -fPIC
|
2011-08-08 13:16:39 +00:00
|
|
|
qtgv_videooverlay_LDADD = \
|
2012-04-04 12:20:13 +00:00
|
|
|
$(top_builddir)/gst-libs/gst/video/libgstvideo-$(GST_API_VERSION).la \
|
2011-08-08 13:16:39 +00:00
|
|
|
$(GST_LIBS) $(X_LIBS) $(LIBM) $(QT_LIBS)
|
2010-02-16 13:43:26 +00:00
|
|
|
|
|
|
|
# qt moc support, according to http://qtnode.net/wiki/Qt_with_autotools
|
|
|
|
|
2011-08-08 12:55:21 +00:00
|
|
|
nodist_qtgv_videooverlay_SOURCES = moc_qtgv-videooverlay.cpp
|
2010-02-16 13:43:26 +00:00
|
|
|
|
|
|
|
moc_%.cpp:%.h
|
2014-01-20 08:46:15 +00:00
|
|
|
$(AM_V_GEN)$(QT_MOC) $< -o $@
|
2010-02-16 13:43:26 +00:00
|
|
|
|
2011-08-08 12:55:21 +00:00
|
|
|
EXTRA_DIST = $(nodist_qtgv_videooverlay_SOURCES:moc_%.cpp=%.h)
|
|
|
|
CLEANFILES = $(nodist_qtgv_videooverlay_SOURCES)
|
2010-02-16 13:43:26 +00:00
|
|
|
endif
|
|
|
|
|
|
|
|
endif
|
|
|
|
|
|
|
|
noinst_PROGRAMS = $(EXAMPLES)
|
|
|
|
|