Skip to contentSkip to conversation

package/pipewire: add libdrm dependency

PATCH Applied James Hilliard 2 participants 2 messages Aug 3, 2021

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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

---
 package/pipewire/pipewire.mk | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
package/pipewire/pipewire.mk +2 -2
index b316d482d9..2317398088 100644
@@ -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
Signature · 6 lines
2.25.1

_______________________________________________
buildroot mailing list
[email protected]
http://lists.busybox.net/mailman/listinfo/buildroot
#1 lore raw
Quoted 7 lines · James Hilliard

The libcamera option requires libdrm, require and depend on it when available for libcamera plugin.

Fixes:
- http://autobuild.buildroot.net/results/e3bc1d9aa69af1d2cdeee7709df318fccbaa5476

Applied to master, thanks.

Regards,
Arnout

Quoted 11 lines
---
 package/pipewire/pipewire.mk | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
package/pipewire/pipewire.mk +0 -0
index b316d482d9..2317398088 100644
@@ -95,9 +95,9 @@ else
 PIPEWIRE_CONF_OPTS += -Dv4l2=disabled

package/pipewire/pipewire.mk else · line 103

Quoted 10 lines
package/pipewire/pipewire.mk +2 -2
 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

_______________________________________________
buildroot mailing list
[email protected]
http://lists.busybox.net/mailman/listinfo/buildroot