mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-14 13:21:28 +00:00
0b9517cc96
Check in configure if the gtk-3.0 has wayland support, and don't build the waylandsink example if it doesn't.
67 lines
1.2 KiB
Makefile
67 lines
1.2 KiB
Makefile
if USE_UVCH264
|
|
UVCH264_DIR=uvch264
|
|
else
|
|
UVCH264_DIR=
|
|
endif
|
|
|
|
if HAVE_GTK
|
|
GTK_EXAMPLES=mxf camerabin2 $(UVCH264_DIR)
|
|
else
|
|
GTK_EXAMPLES=
|
|
endif
|
|
|
|
if USE_DIRECTFB
|
|
DIRECTFB_DIR=directfb
|
|
else
|
|
DIRECTFB_DIR=
|
|
endif
|
|
|
|
OPENCV_EXAMPLES=opencv
|
|
|
|
MATRIXMIX_DIR=audiomixmatrix
|
|
|
|
if HAVE_AVFOUNDATION
|
|
if HAVE_IOS
|
|
AVSAMPLE_DIR=
|
|
else
|
|
AVSAMPLE_DIR=avsamplesink
|
|
endif
|
|
else
|
|
AVSAMPLE_DIR=
|
|
endif
|
|
|
|
if USE_WAYLAND
|
|
if HAVE_GTK3_WAYLAND
|
|
WAYLAND_DIR=waylandsink
|
|
else
|
|
WAYLAND_DIR=
|
|
endif
|
|
else
|
|
WAYLAND_DIR=
|
|
endif
|
|
|
|
if USE_IPCPIPELINE
|
|
IPCPIPELINE_DIR=ipcpipeline
|
|
else
|
|
IPCPIPELINE_DIR=
|
|
endif
|
|
|
|
if USE_WEBRTC
|
|
WEBRTC_DIR=webrtc
|
|
else
|
|
WEBRTC_DIR=
|
|
endif
|
|
|
|
noinst_PROGRAMS = playout
|
|
|
|
playout_SOURCES = playout.c
|
|
playout_CFLAGS = $(GST_PLUGINS_BASE_CFLAGS) $(GST_CFLAGS)
|
|
playout_LDADD = $(GST_PLUGINS_BASE_LIBS) -lgstvideo-$(GST_API_VERSION) $(GST_LIBS)
|
|
|
|
SUBDIRS= codecparsers compositor mpegts $(DIRECTFB_DIR) $(GTK_EXAMPLES) $(OPENCV_EXAMPLES) \
|
|
$(AVSAMPLE_DIR) $(WAYLAND_DIR) $(MATRIXMIX_DIR) \
|
|
$(IPCPIPELINE_DIR) $(WEBRTC_DIR)
|
|
DIST_SUBDIRS= codecparsers compositor mpegts camerabin2 directfb mxf opencv uvch264 \
|
|
avsamplesink waylandsink audiomixmatrix ipcpipeline webrtc
|
|
|
|
include $(top_srcdir)/common/parallel-subdirs.mak
|