How do you build OSMC?

Trying to get my hands diry for OSMC.

What is required to do a build of OSMC from the github sources?

I guess you can find some answers in this thread Are there any nightly builds for OSMC?

Most of the answers are in the above thread, Building Kodi 15.x is pretty easy. v16 is proving to be more difficult but I’m working on getting this done and doing nightly builds.

I’m busy creating a document with all the steps needed and will share once finished.

Summary of how to build v15.2

The current build of OSMC is based on XBMC (v15.2 isengard – commit 02e70138)

  • Clone OSMC

git clone GitHub - osmc/osmc: OSMC (Open Source Media Center) is a free and open source media center distribution

  • Build

cd osmc/package/mediacenter-osmc
make PLATFORM (Where PLATFORM is vero, rbp1, rbp2)

After an hour or two of compiling you will have 2 files:
PLATFORM-mediacenter-debug-osmc.deb
PLATFORM-mediacenter-osmc.deb