AC_PATH_PROG([wayland_scanner], [wayland-scanner])
AG_GST_CHECK_FEATURE(WAYLAND, [wayland sink], wayland , [
PKG_CHECK_MODULES(WAYLAND, wayland-client >= 1.4.0, [
+ PKG_CHECK_MODULES([WAYLAND_DRM], [libdrm >= 2.4.55])
PKG_CHECK_MODULES(WAYLAND_PROTOCOLS, wayland-protocols >= 1.4, [
if test "x$wayland_scanner" != "x"; then
HAVE_WAYLAND="yes"
$(GST_PLUGINS_BAD_CFLAGS) \
$(GST_PLUGINS_BASE_CFLAGS) \
$(GST_CFLAGS) \
- $(WAYLAND_CFLAGS)
+ $(WAYLAND_CFLAGS) \
+ $(WAYLAND_DRM_CFLAGS)
libgstwaylandsink_la_LIBADD = \
$(top_builddir)/gst-libs/gst/wayland/libgstwayland-$(GST_API_VERSION).la \
$(GST_PLUGINS_BASE_LIBS) \
-lgstvideo-$(GST_API_VERSION) \
-lgstallocators-$(GST_API_VERSION) \
- $(WAYLAND_LIBS)
+ $(WAYLAND_LIBS) \
+ $(WAYLAND_DRM_LIBS)
libgstwaylandsink_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS)
libgstwaylandsink_la_LIBTOOLFLAGS = $(GST_PLUGIN_LIBTOOLFLAGS)
#include <wayland-client-protocol.h>
#include <gst/video/video.h>
-#include <drm/drm_fourcc.h>
+#include <drm_fourcc.h>
G_BEGIN_DECLS