kumquat-buildroot/package/libvpl/Config.in
Bernd Kuhls e07402afff package/libvpl: fix libdrm dependency
Buildroot commit c50e9c21f0 initially
added the package onevpl (meanwhile renamed to libvpl) and forgot to
add all dependencies of BR2_PACKAGE_LIBDRM_INTEL.

Fixes:
http://autobuild.buildroot.org/results/8fa/8fa0f2cd7a027d3d8fae56125621b0b814e132da/

Note: BR2_PACKAGE_LIBDRM_HAS_ATOMIC is always true on x86, but it is
propagated for consistency with the actual dependencies of libdrm-intel.

Notes: this means the current comntition in the .mk is correct in
practice, even if it does not account for the atomic case on x86.

Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
[yann.morin.1998@free.fr: add notes]
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
2024-01-15 22:09:33 +01:00

30 lines
1.0 KiB
Plaintext

config BR2_PACKAGE_LIBVPL_ARCH_SUPPORTS
bool
default y if BR2_ARCH_IS_64
default y if BR2_arm
config BR2_PACKAGE_LIBVPL
bool "libvpl"
depends on BR2_PACKAGE_LIBVPL_ARCH_SUPPORTS
depends on BR2_INSTALL_LIBSTDCPP
depends on !BR2_STATIC_LIBS # dlfcn.h
depends on BR2_TOOLCHAIN_GCC_AT_LEAST_7
depends on BR2_TOOLCHAIN_HAS_THREADS
select BR2_PACKAGE_WAYLAND_PROTOCOLS if BR2_PACKAGE_WAYLAND
# libva support needs a libdrm with intel driver
select BR2_PACKAGE_LIBDRM_INTEL if BR2_PACKAGE_LIBVA && \
(BR2_i386 || BR2_x86_64) && \
BR2_PACKAGE_LIBDRM_HAS_ATOMIC
select BR2_PACKAGE_LIBXCB if BR2_PACKAGE_XORG7
select BR2_PACKAGE_XLIB_LIBX11 if BR2_PACKAGE_XORG7
help
oneAPI Video Processing Library (oneVPL) dispatcher,
tools, and examples
https://github.com/oneapi-src/oneVPL
comment "libvpl needs a toolchain w/ dynamic library, gcc >= 7, C++, threads"
depends on BR2_PACKAGE_LIBVPL_ARCH_SUPPORTS
depends on BR2_STATIC_LIBS || !BR2_TOOLCHAIN_GCC_AT_LEAST_7 || \
!BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HAS_THREADS