1config BR2_PACKAGE_ONEVPL_INTEL_GPU
2	bool "onevpl-intel-gpu"
3	depends on BR2_x86_64 # intel-mediadriver
4	depends on BR2_PACKAGE_LIBVPL_ARCH_SUPPORTS # libvpl
5	depends on BR2_INSTALL_LIBSTDCPP # libvpl
6	depends on !BR2_STATIC_LIBS # libvpl
7	depends on BR2_TOOLCHAIN_GCC_AT_LEAST_7 # libvpl
8	depends on BR2_TOOLCHAIN_HAS_SYNC_1 # intel-mediadriver
9	depends on BR2_TOOLCHAIN_HAS_THREADS # libvpl
10	depends on BR2_TOOLCHAIN_HAS_THREADS_NPTL # intel-mediadriver
11	select BR2_PACKAGE_INTEL_MEDIADRIVER # runtime
12	select BR2_PACKAGE_LIBVA
13	select BR2_PACKAGE_LIBVPL
14	help
15	  Intel® oneVPL GPU Runtime is a Runtime implementation of
16	  oneVPL API for Intel Gen GPUs, starting with Tiger Lake.
17
18	  https://github.com/oneapi-src/oneVPL-intel-gpu
19
20comment "onevpl-intel-gpu needs a toolchain w/ dynamic library, gcc >= 7, C++, NPTL"
21	depends on BR2_x86_64
22	depends on BR2_PACKAGE_LIBVPL_ARCH_SUPPORTS
23	depends on BR2_TOOLCHAIN_HAS_SYNC_1
24	depends on BR2_STATIC_LIBS || !BR2_TOOLCHAIN_GCC_AT_LEAST_7 || \
25		!BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HAS_THREADS
26