From 53b25aa393bfefc9487b814af0f55a8a4235c3df Mon Sep 17 00:00:00 2001 From: James Hilliard Date: Tue, 3 Aug 2021 02:45:03 -0600 Subject: [PATCH] package/pipewire: add libdrm dependency The libcamera option requires libdrm, require and depend on it when available for libcamera plugin. Fixes: - http://autobuild.buildroot.net/results/e3bc1d9aa69af1d2cdeee7709df318fccbaa5476 Signed-off-by: James Hilliard Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- package/pipewire/pipewire.mk | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package/pipewire/pipewire.mk b/package/pipewire/pipewire.mk index b316d482d9..2317398088 100644 --- a/package/pipewire/pipewire.mk +++ b/package/pipewire/pipewire.mk @@ -95,9 +95,9 @@ else PIPEWIRE_CONF_OPTS += -Dv4l2=disabled endif -ifeq ($(BR2_PACKAGE_LIBCAMERA)$(BR2_PACKAGE_HAS_UDEV),yy) +ifeq ($(BR2_PACKAGE_LIBCAMERA)$(BR2_PACKAGE_LIBDRM)$(BR2_PACKAGE_HAS_UDEV),yyy) PIPEWIRE_CONF_OPTS += -Dlibcamera=enabled -PIPEWIRE_DEPENDENCIES += libcamera +PIPEWIRE_DEPENDENCIES += libcamera libdrm else PIPEWIRE_CONF_OPTS += -Dlibcamera=disabled endif