package/libvpl: update configure options

Upstream removed configure option INSTALL_EXAMPLE_CODE with commit
8434de3cbc
which was first released with version 2.11.0.

Upstream re-added a similar configure option named INSTALL_EXAMPLE_CODE
with commits
f8d989160e
7c803c8538
which were first released with version 2.15.0.

Buildroot bumped the package to 2.15.0 with
8e713dcc88 and forgot to rename the
configure option.

Remove libva/x11/wayland-related configure option due to upstream commit
8434de3cbc
which 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:
Bernd Kuhls
2026-07-15 23:03:58 +02:00
committed by Julien Olivain
parent 11bf0dc202
commit 53c29cf046
2 changed files with 1 additions and 34 deletions

View File

@@ -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

View File

@@ -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))