since my Pi 2 arrived I started playing around with it and since I couldn't find any up2date guides for compiling kodi natively, I wrote one.
This is actual not very stable, if you want to use your pi 2 mainly with kodi, use Openelec/Raspbmc/Osmc/xbian (all are highly optimized and have lots of features).
But for the fun of compiling and learning some stuff read further
To be honest I thought it would be lot easier....
I did not test much after compiling besides normal features, but exiting likes to crash, and probably tons of of other things.
I tried to comment as much as I could, it does compile and should give you some idea what is needed to compile kodi on raspbian (debian wheezy) and what options you have.
Feel free to test or make suggestions.
https://drive.google.com/file/d/0B8nSlx ... sp=sharing
or direct link to file
Ok, build seems pretty stable, exiting fails after a video was played, probably kodi bug, taking some logs and maybe kodi team can fix, workaround with a cronjob wich kills kodi.bin here: http://www.raspberrypi.org/forums/viewt ... 3&t=100811
direct link added, also kodi exit bug is fixed in kodi 15 Isengard
changed branch to Isengard and new libcec instructions