From 996942710a91289c238843dc53389d289ed6c31c Mon Sep 17 00:00:00 2001 From: Fabrice Fontaine Date: Sun, 25 Apr 2021 21:37:42 +0200 Subject: [PATCH] package/pipewire: needs headers >= 3.18 v4l2 plugin needs headers >= 3.18 since https://gitlab.freedesktop.org/pipewire/pipewire/-/commit/4cb90f3b868e5169cb9bfe2200f3b079d3f0db7b (so since its addition to buildroot in commit 75c86f90c73c42ee35559610aec28a02190b65b7) because of V4L2_PIX_FMT_ARGB555X which is only available since https://github.com/torvalds/linux/commit/fcc0d3db28922f9ba21ea6c7b23ea10ffb5d3521 v4l2 plugin can't be disabled until https://gitlab.freedesktop.org/pipewire/pipewire/-/commit/8d71d2dab831b77cadb74f2e4630f549acc94ac4 Fixes: - http://autobuild.buildroot.org/results/b887b6ccd2c22bb3214c07d1281ad486438fb58e Signed-off-by: Fabrice Fontaine Signed-off-by: Yann E. MORIN --- package/pipewire/Config.in | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/package/pipewire/Config.in b/package/pipewire/Config.in index 57e70d65f8..9c6b6eb881 100644 --- a/package/pipewire/Config.in +++ b/package/pipewire/Config.in @@ -2,6 +2,7 @@ config BR2_PACKAGE_PIPEWIRE bool "pipewire" depends on BR2_PACKAGE_HAS_UDEV # libudev depends on BR2_TOOLCHAIN_HAS_THREADS # dbus, alsa-lib + depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_18 depends on BR2_USE_MMU # dbus select BR2_PACKAGE_ALSA_LIB select BR2_PACKAGE_DBUS @@ -30,6 +31,8 @@ comment "pipewire gstreamer support needs a toolchain w/ wchar, threads" endif -comment "pipewire needs udev and a toolchain w/ threads" +comment "pipewire needs udev and a toolchain w/ threads, headers >= 3.18" depends on BR2_USE_MMU - depends on !BR2_PACKAGE_HAS_UDEV || !BR2_TOOLCHAIN_HAS_THREADS + depends on !BR2_PACKAGE_HAS_UDEV || \ + !BR2_TOOLCHAIN_HAS_THREADS || \ + !BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_18 -- 2.30.2