garbear / xbmc

XBMC Main Repository
http://xbmc.org
Other
134 stars 53 forks source link

LG WebOS support? #139

Open mephitrpg opened 6 months ago

mephitrpg commented 6 months ago

Is LG WebOS support planned for Kodi Retro Player?

Thanks.

garbear commented 6 months ago

I think webOS has no way to do binary add-ons, so until that's fixed, probably not. But I'm meeting with our webOS builder in Budapest this weekend, we'll discuss this.

garbear commented 6 months ago

@sundermann

sundermann commented 6 months ago

At a first glance it seems that the kodi game binary addons are being built for the host platform instead of the target:

/home/stephan.linux/kodi-build/tools/webOS/packaging/addons/game.libretro.2048/game.libretro.2048.so: ELF 64-bit LSB shared object, ARM aarch64, version 1 (SYSV), dynamically linked, BuildID[sha1]=0dd0485d91e23abe98f32eef3c9d9bd82e248659, not stripped

Edit: game.libretro compiles fine so it's probably just the infrastructure that's not set up to distribute and build binary addons for webOS.

garbear commented 2 months ago

@sundermann Here's the script we use to build game add-ons: https://github.com/kodi-game/game.libretro.2048/blob/master/depends/common/2048/CMakeLists.txt

Looks like it needs a webos section, and it's maybe even the same as the linux section so the if statement just needs to be modified. Can you have a look?

sundermann commented 2 months ago

CORE_SYSTEM_NAME is linux for webOS which means it takes the same path as on normal linux systems. However, I wonder if cross compiling works for linux at all here

garbear commented 2 months ago

Maybe it doesn't. I compile Win/osx/android for the mirrors, and build linux locally, and LibreELEC doesn't use those scripts. So it's probably missing the flags needed to cross compile. I'll see if I can get the right flags set so that we build arm64 cores