mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-08-09 17:03:35 -09:00
package/libvpl: update configure options
Upstream removed configure option INSTALL_EXAMPLE_CODE with commit8434de3cbcwhich was first released with version 2.11.0. Upstream re-added a similar configure option named INSTALL_EXAMPLE_CODE with commitsf8d989160e7c803c8538which were first released with version 2.15.0. Buildroot bumped the package to 2.15.0 with8e713dcc88and forgot to rename the configure option. Remove libva/x11/wayland-related configure option due to upstream commit8434de3cbcwhich was first released with version 2.11.0. Remove the selection of optional packages for these dependencies as well. Removed unneeded libatomic handling. Signed-off-by: Bernd Kuhls <bernd@kuhls.net> Signed-off-by: Julien Olivain <ju.o@free.fr>
This commit is contained in:
committed by
Julien Olivain
parent
11bf0dc202
commit
53c29cf046
@@ -10,13 +10,6 @@ config BR2_PACKAGE_LIBVPL
|
||||
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
|
||||
|
||||
@@ -13,32 +13,6 @@ LIBVPL_DEPENDENCIES = host-pkgconf
|
||||
|
||||
LIBVPL_CONF_OPTS = \
|
||||
-DBUILD_TOOLS=OFF \
|
||||
-DINSTALL_EXAMPLE_CODE=OFF
|
||||
|
||||
ifeq ($(BR2_TOOLCHAIN_HAS_LIBATOMIC),y)
|
||||
LIBVPL_CONF_OPTS += \
|
||||
-DCMAKE_CXX_FLAGS="-latomic"
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_LIBVA),y)
|
||||
LIBVPL_CONF_OPTS += -DENABLE_VA=ON
|
||||
LIBVPL_DEPENDENCIES += libva
|
||||
else
|
||||
LIBVPL_CONF_OPTS += -DENABLE_VA=OFF
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_WAYLAND),y)
|
||||
LIBVPL_CONF_OPTS += -DENABLE_WAYLAND=ON
|
||||
LIBVPL_DEPENDENCIES += wayland wayland-protocols
|
||||
else
|
||||
LIBVPL_CONF_OPTS += -DENABLE_WAYLAND=OFF
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_XORG7),y)
|
||||
LIBVPL_CONF_OPTS += -DENABLE_X11=ON
|
||||
LIBVPL_DEPENDENCIES += libxcb xlib_libX11
|
||||
else
|
||||
LIBVPL_CONF_OPTS += -DENABLE_X11=OFF
|
||||
endif
|
||||
-DINSTALL_EXAMPLES=OFF
|
||||
|
||||
$(eval $(cmake-package))
|
||||
|
||||
Reference in New Issue
Block a user