You probably need to make libusb support subject to PACKAGECONFIG as
well, as libsdl2 does seem to build ok without it?

Alex

On Thu, 19 May 2022 at 16:30, Markus Volk <f_...@t-online.de> wrote:
>
> Hello Luca,
> thats probably an issue because libusb-compat is not in oe-core but meta-oe
> What would be the preferred way to fix it ?
> +DEPENDS = "libusb1" ?
>
> Am 19.05.22 um 16:18 schrieb Luca Ceresoli:
>
> Hello Marius,
>
> Il giorno Thu, 19 May 2022 08:43:12 +0200
> "Markus Volk" <f_...@t-online.de> ha scritto:
>
> - add libusb dependency because libsdl2 is looking for it
> - remove xvm and xinerama since support has been dropped in sdl code
> - allow native build for libxkbcommon and xkeyboard-config to allow
>   alignment of native/target build
> - align native and target build
> - add PACKAGECONFIG options for pipewire and libdecor
>
> Signed-off-by: Markus Volk <f_...@t-online.de>
> ---
>  meta/recipes-graphics/libsdl2/libsdl2_2.0.22.bb | 17
> ++++++++--------- .../xorg-lib/libxkbcommon_1.4.0.bb              |
> 2 ++ .../xorg-lib/xkeyboard-config_2.35.1.bb         |  2 ++
>  3 files changed, 12 insertions(+), 9 deletions(-)
>
> diff --git a/meta/recipes-graphics/libsdl2/libsdl2_2.0.22.bb
> b/meta/recipes-graphics/libsdl2/libsdl2_2.0.22.bb index
> 7678319770..a6550c3175 100644 ---
> a/meta/recipes-graphics/libsdl2/libsdl2_2.0.22.bb +++
> b/meta/recipes-graphics/libsdl2/libsdl2_2.0.22.bb @@ -21,6 +21,8 @@
> LIC_FILES_CHKSUM:append = " ${@bb.utils.contains('PACKAGECONFIG',
> 'arm-neon', 'f PROVIDES = "virtual/libsdl2"
>
> +DEPENDS = "libusb"
>
> This patch is causing errors on the autobuilders due to this line:
>
> stdio: ERROR: Nothing PROVIDES 'libusb' (but
> /home/pokybuild/yocto-worker/beaglebone/build/meta/recipes-graphics/libsdl2/libsdl2_2.0.22.bb
> DEPENDS on or otherwise requires it). Close matches:
>
> Here are a few logs:
>
> https://autobuilder.yoctoproject.org/typhoon/#/builders/65/builds/5269/steps/11/logs/stdio
> https://autobuilder.yoctoproject.org/typhoon/#/builders/65/builds/5269/steps/12/logs/stdio
> https://autobuilder.yoctoproject.org/typhoon/#/builders/65/builds/5269/steps/14/logs/stdio
> https://autobuilder.yoctoproject.org/typhoon/#/builders/20/builds/5590/steps/12/logs/stdio
> https://autobuilder.yoctoproject.org/typhoon/#/builders/45/builds/5243/steps/12/logs/stdio
>
>
> 
>
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#165901): 
https://lists.openembedded.org/g/openembedded-core/message/165901
Mute This Topic: https://lists.openembedded.org/mt/91203656/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to