Solved SDL dependencies
#1
Hi all,

I'm building KODI from source (483ceb9827) and according to the README.linux the following SDL dependencies are required:
  • libsdl-dev
  • libsdl-image1.2-dev
  • libsdl-mixer1.2-dev
  • libsdl2-dev

Do these commits
reflect the libsdl2-dev dependency?
Is the libsdl2-dev dependency required only if I want to use the joystick option like described in this commit (Make SDL depend on joystick)?
Are the libsdl*1* dependencies a general requirement decoupled from the joystick option?

Cheers
Reply
#2
libsdl1.2 was used for texturepacker as well, that is gone now in current nightly with https://github.com/xbmc/xbmc/pull/5436 , so libsdl2-dev is in effect for joysticks (not sure what else) and finally see https://github.com/xbmc/xbmc/pull/6168.

But sure those commits reflect it, it was added to readmes, which now require an update to remove old sdl, - I think (will have to check about that).
Reply
#3
yes, linux doesn't need sdl-image or sdl-mixer anymore. If you need joystick support, you need sdl2.
Reply
#4
Thank you for your replies!
As a conclusion the following statement would validate as True? Smile

"KODI requires a single sdl component named libsdl2-dev as a dependency only if one wants to use the joystick option."

Additionally which make options does libsdl2-dev need in that case? I think joystick support should be the only option required then?
Reply
#5
nothing special. the input layer is a default component in sdl.
Reply

Logout Mark Read Team Forum Stats Members Help
SDL dependencies0