package/pipewire: needs headers >= 3.18
authorFabrice Fontaine <fontaine.fabrice@gmail.com>
Sun, 25 Apr 2021 19:37:42 +0000 (21:37 +0200)
committerYann E. MORIN <yann.morin.1998@free.fr>
Sun, 25 Apr 2021 20:02:41 +0000 (22:02 +0200)
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 <fontaine.fabrice@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
package/pipewire/Config.in

index 57e70d65f8c5d589067bcf72cb316f6025dc5d4e..9c6b6eb8813d1f631c74837468f60a5e5dd64453 100644 (file)
@@ -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