mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-09-25 11:30:37 -09:00
package/kodi: fix wayland build
Fixes wayland-related build error: make[4]: *** No rule to make target '/usr/share/waylandpp/protocols/presentation-time.xml', needed by 'wayland-extra-protocols.hpp'. Stop. by adding a configure parameter pointing to STAGING_DIR. The build error was not recorded by the autobuilders and can be reproduced by this defconfig: BR2_x86_64=y BR2_TOOLCHAIN_EXTERNAL=y BR2_PER_PACKAGE_DIRECTORIES=y BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_EUDEV=y BR2_PACKAGE_KODI=y BR2_PACKAGE_MESA3D=y BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_SOFTPIPE=y BR2_PACKAGE_MESA3D_OPENGL_EGL=y BR2_PACKAGE_MESA3D_OPENGL_ES=y BR2_PACKAGE_PYTHON3=y BR2_PACKAGE_PYTHON3_PY_ONLY=y BR2_PACKAGE_WAYLAND=y LibreELEC added this configure parameter seven years ago:d19ab98bf3so a backport to LTS branches should be considered. Signed-off-by: Bernd Kuhls <bernd@kuhls.net> Signed-off-by: Arnout Vandecappelle <arnout@rnout.be> (cherry picked from commit1fed1a6c75) Signed-off-by: Thomas Perale <thomas.perale@mind.be>
This commit is contained in:
committed by
Thomas Perale
parent
b7e60b2db2
commit
97ac16c71c
@@ -123,7 +123,8 @@ endif
|
||||
ifeq ($(BR2_PACKAGE_KODI_PLATFORM_SUPPORTS_WAYLAND),y)
|
||||
KODI_CONF_OPTS += \
|
||||
-DPC_WAYLANDPP_SCANNER=$(HOST_DIR)/bin/wayland-scanner \
|
||||
-DPC_WAYLANDPP_SCANNER_FOUND=ON
|
||||
-DPC_WAYLANDPP_SCANNER_FOUND=ON \
|
||||
-DWAYLANDPP_PROTOCOLS_DIR=$(STAGING_DIR)/usr/share/waylandpp/protocols
|
||||
KODI_CORE_PLATFORM_NAME += wayland
|
||||
KODI_DEPENDENCIES += libxkbcommon waylandpp
|
||||
endif
|
||||
|
||||
Reference in New Issue
Block a user