2008-04-06 18:28:09 +00:00
|
|
|
if HAVE_GTK
|
2014-11-29 13:59:35 +00:00
|
|
|
GTK_TESTS = gdkpixbufsink-test gdkpixbufoverlay-test
|
|
|
|
|
2008-04-06 18:28:09 +00:00
|
|
|
gdkpixbufsink_test_SOURCES = gdkpixbufsink-test.c
|
2010-04-14 19:06:09 +00:00
|
|
|
gdkpixbufsink_test_CFLAGS = $(GST_CFLAGS) $(GTK_CFLAGS)
|
|
|
|
gdkpixbufsink_test_LDADD = $(GST_LIBS) $(GTK_LIBS)
|
2014-11-29 13:59:35 +00:00
|
|
|
|
|
|
|
gdkpixbufoverlay_test_SOURCES = gdkpixbufoverlay-test.c
|
|
|
|
gdkpixbufoverlay_test_CFLAGS = $(GST_PLUGINS_BASE_CFLAGS) $(GST_CFLAGS) \
|
|
|
|
$(GDK_PIXBUF_CFLAGS) $(GIO_CFLAGS)
|
|
|
|
gdkpixbufoverlay_test_LDADD = $(GST_LIBS) $(GDK_PIXBUF_LIBS) $(GIO_LIBS) \
|
|
|
|
$(LIBM)
|
2008-04-06 18:28:09 +00:00
|
|
|
else
|
|
|
|
GTK_TESTS =
|
|
|
|
endif
|
|
|
|
|
2006-10-03 18:35:34 +00:00
|
|
|
V4L2_TESTS = v4l2src-test
|
|
|
|
|
|
|
|
v4l2src_test_SOURCES = v4l2src-test.c
|
2009-01-30 18:04:11 +00:00
|
|
|
v4l2src_test_CFLAGS = $(GST_PLUGINS_BASE_CFLAGS) $(GST_CFLAGS)
|
2011-11-29 18:10:58 +00:00
|
|
|
v4l2src_test_LDADD = $(GST_PLUGINS_BASE_LIBS) \
|
2012-04-13 11:04:12 +00:00
|
|
|
-lgstvideo-$(GST_API_VERSION)
|
2006-10-03 18:35:34 +00:00
|
|
|
|
2010-05-11 15:08:21 +00:00
|
|
|
if USE_OSS4
|
|
|
|
OSS4_TESTS=test-oss4
|
|
|
|
|
|
|
|
test_oss4_SOURCES = test-oss4.c
|
|
|
|
test_oss4_CFLAGS = $(GST_PLUGINS_BASE_CFLAGS) $(GST_CFLAGS)
|
2012-04-13 11:04:12 +00:00
|
|
|
test_oss4_LDADD = $(GST_PLUGINS_BASE_LIBS) $(GST_LIBS)
|
2010-05-11 15:08:21 +00:00
|
|
|
test_oss4_LDFLAGS = $(GST_PLUGIN_LDFLAGS)
|
|
|
|
else
|
|
|
|
OSS4_TESTS=
|
|
|
|
endif
|
|
|
|
|
2006-03-31 17:52:36 +00:00
|
|
|
if USE_X
|
2006-04-01 10:14:26 +00:00
|
|
|
X_TESTS = ximagesrc-test
|
2006-03-31 17:52:36 +00:00
|
|
|
|
|
|
|
ximagesrc_test_SOURCES = ximagesrc-test.c
|
|
|
|
ximagesrc_test_CFLAGS = $(GST_CFLAGS)
|
2010-04-14 19:06:09 +00:00
|
|
|
ximagesrc_test_LDADD = $(GST_LIBS)
|
2006-03-31 17:52:36 +00:00
|
|
|
else
|
|
|
|
X_TESTS =
|
|
|
|
endif
|
|
|
|
|
2011-02-16 14:28:53 +00:00
|
|
|
equalizer_test_SOURCES = equalizer-test.c
|
|
|
|
equalizer_test_CFLAGS = $(GST_CFLAGS)
|
|
|
|
equalizer_test_LDADD = $(GST_LIBS)
|
|
|
|
|
2014-11-27 11:16:35 +00:00
|
|
|
test_accurate_seek_SOURCES = test-accurate-seek.c
|
|
|
|
test_accurate_seek_CFLAGS = $(GST_PLUGINS_BASE_CFLAGS) \
|
|
|
|
$(GST_BASE_CFLAGS) $(GST_CFLAGS)
|
|
|
|
test_accurate_seek_LDADD = $(GST_PLUGINS_BASE_LIBS) -lgstapp-$(GST_API_VERSION) \
|
|
|
|
$(GST_BASE_LIBS) $(GST_LIBS)
|
|
|
|
|
2014-11-28 10:41:55 +00:00
|
|
|
test_segment_seeks_SOURCES = test-segment-seeks.c
|
|
|
|
test_segment_seeks_CFLAGS = $(GST_CFLAGS)
|
|
|
|
test_segment_seeks_LDADD = $(GST_LIBS)
|
|
|
|
|
2007-06-12 20:15:29 +00:00
|
|
|
videocrop_test_SOURCES = videocrop-test.c
|
|
|
|
videocrop_test_CFLAGS = $(GST_CFLAGS)
|
|
|
|
videocrop_test_LDADD = $(GST_LIBS)
|
|
|
|
|
2008-08-20 10:59:52 +00:00
|
|
|
videobox_test_SOURCES = videobox-test.c
|
|
|
|
videobox_test_CFLAGS = $(GST_CFLAGS)
|
|
|
|
videobox_test_LDADD = $(GST_LIBS)
|
|
|
|
|
2008-11-25 16:06:22 +00:00
|
|
|
videocrop2_test_SOURCES = videocrop2-test.c
|
|
|
|
videocrop2_test_CFLAGS = $(GST_CFLAGS)
|
|
|
|
videocrop2_test_LDADD = $(GST_LIBS)
|
|
|
|
|
2014-11-27 11:16:35 +00:00
|
|
|
noinst_PROGRAMS = $(GTK_TESTS) $(OSS4_TESTS) $(V4L2_TESTS) $(X_TESTS) \
|
|
|
|
equalizer-test \
|
|
|
|
test-accurate-seek \
|
2014-11-28 10:41:55 +00:00
|
|
|
test-segment-seeks \
|
2014-11-27 11:16:35 +00:00
|
|
|
videocrop-test \
|
|
|
|
videobox-test \
|
|
|
|
videocrop2-test
|