gtk/modules/media
Alessandro Bono b6767d2eef meson: Decouple linux/dma-buf.h and libdrm checks
Currently dmabuf_dep is found when the following conditions are met:
 - linux/dma-buf.h is present;
 - libdrm is found.

This is because Linux dmabuf support requires drm_fourcc.h which is part
of libdrm.

However, dmabuf_dep is used for two purposes:
 - define HAVE_DMABUF to state dmabuf support;
 - ensure the presence of drm_fourcc.h for gdk and for the
   media-gstreamer module.

Decouple this, unconditionally check for libdrm and require it on
Linux. Then, use libdrm_dep only to state the drm_fourcc.h presence.

Given that now we unconditionally require libdrm on Linux, HAVE_DMABUF
depends only on the linux/dma-buf.h presence.
2024-02-16 14:01:44 +01:00
..
gtkgstmediafile.c Visual Studio: Remove workarounds for <= glib-2.74.x 2023-06-21 12:29:38 +08:00
gtkgstmediafileprivate.h media: Convert headers to #pragma once 2023-12-20 09:43:54 -05:00
gtkgstpaintable.c gstreamer: Pass viewport along 2024-02-11 21:44:47 -05:00
gtkgstpaintableprivate.h gstreamer: Pass viewport along 2024-02-11 21:44:47 -05:00
gtkgstsink.c gtkgstsink: Include gdkdmabuffourccprivate.h 2024-02-13 14:15:32 +01:00
gtkgstsinkprivate.h gstsink: Add support for DMABuf import and graphics offload 2024-01-28 19:09:41 +01:00
meson.build meson: Decouple linux/dma-buf.h and libdrm checks 2024-02-16 14:01:44 +01:00