GNOME Bugzilla – Bug 782922
build: Make gudev and libdrm checks reusable across plugins
Last modified: 2018-01-27 11:10:38 UTC
Currently, gudev is checked inside the uvch264 block, and libdrm is checked inside the KMS block. These two features will be needed in future commits, so factor them out as their own standalone checks.
Created attachment 352293 [details] [review] libdrm checks patch
Created attachment 352294 [details] [review] gudev checks patch
Review of attachment 352293 [details] [review]: This fails to build here. ::: configure.ac @@ +2255,3 @@ AG_GST_CHECK_FEATURE(WAYLAND, [wayland sink], wayland , [ + if test "x$HAVE_DRM" = "xyes"; then + PKG_CHECK_MODULES(WAYLAND, wayland-client >= 1.4.0 wayland-protocols >= 1.4, [ This removes the drm cflags/libs from WAYLAND_CFLAGS/LIBS which breaks building the wayland plugin. Either DRM_CFLAGS/LIBS needs to be readded to WAYLAND_CFLAGS/LIBS or DRM_CFLAGS/LIBS needs to be added to the flags gst/wayland/Makefile.am like done for kms in this patch
Review of attachment 352294 [details] [review]: ack.
Ping? Carlos?
Unfortunately I am not able to follow up this week. Will do that early next week.
Created attachment 353344 [details] [review] libdrm checks patch v2 Ah nevermind, I got a chance to upload my stuff :) Here is the updated version that also adds the DRM flags to the wayland plugin.
Since this is being done for bug #782923 and gst-gl has moved to -base now, and there hasn't been any follow-up here, let's close this. Please attach these patches to the other bug if you ever have time to follow up, thanks! (And they'll have to be reworked against -base I presume)