mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-18 14:26:43 +00:00
c3dfad8ff8
Original commit message from CVS: * tests/icles/Makefile.am: Only build test-colorkey if GTK+ is available.
42 lines
1.2 KiB
Makefile
42 lines
1.2 KiB
Makefile
if USE_X
|
|
X_TESTS = stress-xoverlay
|
|
|
|
stress_xoverlay_SOURCES = stress-xoverlay.c
|
|
stress_xoverlay_CFLAGS = $(GST_PLUGINS_BASE_CFLAGS) $(GST_CFLAGS) $(X_CFLAGS)
|
|
stress_xoverlay_LDADD = $(GST_LIBS) $(X_LIBS) $(LIBM) \
|
|
$(top_builddir)/gst-libs/gst/interfaces/libgstinterfaces-$(GST_MAJORMINOR).la
|
|
|
|
if HAVE_GTK
|
|
X_TESTS += test-colorkey
|
|
|
|
test_colorkey_SOURCES = test-colorkey.c
|
|
test_colorkey_CFLAGS = $(GST_PLUGINS_BASE_CFLAGS) $(GST_CFLAGS) $(X_CFLAGS) $(GTK_CFLAGS)
|
|
test_colorkey_LDADD = $(GST_LIBS) $(X_LIBS) $(LIBM) $(GTK_LIBS) \
|
|
$(top_builddir)/gst-libs/gst/interfaces/libgstinterfaces-$(GST_MAJORMINOR).la
|
|
endif
|
|
|
|
else
|
|
X_TESTS =
|
|
endif
|
|
|
|
|
|
if USE_PANGO
|
|
PANGO_TESTS = test-textoverlay
|
|
|
|
test_textoverlay_SOURCES = test-textoverlay.c
|
|
test_textoverlay_CFLAGS = $(GST_PLUGINS_BASE_CFLAGS) $(GST_CFLAGS)
|
|
test_textoverlay_LDADD = $(GST_LIBS) $(LIBM)
|
|
|
|
else
|
|
PANGO_TESTS =
|
|
endif
|
|
|
|
stress_playbin_SOURCES = stress-playbin.c
|
|
stress_playbin_CFLAGS = $(GST_PLUGINS_BASE_CFLAGS) $(GST_CFLAGS)
|
|
stress_playbin_LDADD = $(GST_LIBS) $(LIBM)
|
|
|
|
test_scale_SOURCES = test-scale.c
|
|
test_scale_CFLAGS = $(GST_PLUGINS_BASE_CFLAGS) $(GST_CFLAGS)
|
|
test_scale_LDADD = $(GST_LIBS) $(LIBM)
|
|
|
|
noinst_PROGRAMS = $(X_TESTS) $(PANGO_TESTS) stress-playbin test-scale
|