gstreamer/tests/examples/cairo/Makefile.am
Sebastian Dröge 08232b470e cairooverlay: The example always requires gtk-x11
Check for gtk-x11 and only build the example if it's available.
2011-03-02 23:21:15 +01:00

12 lines
337 B
Makefile

if USE_CAIRO_GOBJECT
if HAVE_GTK_X11
noinst_PROGRAMS = cairo_overlay
endif
endif
cairo_overlay_SOURCES = cairo_overlay.c
cairo_overlay_CFLAGS = $(GST_PLUGINS_BASE_CFLAGS) $(GST_CFLAGS) \
$(GTK_CFLAGS) $(CAIRO_CFLAGS)
cairo_overlay_LDFLAGS = \
$(GST_LIBS) -lgstinterfaces-0.10 -lgstvideo-$(GST_MAJORMINOR) \
$(GTK_LIBS) $(CAIRO_LIBS)