Kodi 17 on OMV3
Introduction
This guide will hopefully help you compile Kodi 17 on OMV3. Both are as of November 2016 in beta stage so expect bugs. Used versions are:
Kodi 17.0-BETA6 Git:2016-11-12
OMV3 3.0.52 (Erasmus)
I am using an AMD Radeon R5 230 graphics card. For Nvidia and Intel see Debian Wiki.
If you don't have a Pulse-Eight USB CEC Adapter you can skip the part. It's only necessary if you have the adapter and want to use your remote.
This guide is baded on Kodi (formerly XBMC) for OMV by aoprea75.
Prerequisites
At least 10 GB free space
Clean install of OMV3 3.0.52 (or newer)
1. Installation of required packages/dependencies
omv-update
apt-get install python-software-properties pkg-config
apt-get install software-properties-common
apt-get install freeglut3 freeglut3-dev libdrm-dev doxygen swig git-core
- Installing graphics driver for AMD
For AMD see Debian AMD Wiki or spoiler
For Nvidia see Debian Nvidia Wiki
- Packages
apt-get install automake autopoint bison build-essential ccache cmake curl cvs default-jre fp-compiler gawk gdc gettext gnutls-bin gperf libao-dev libasound2-dev libass-dev libavahi-compat-libdnssd-dev libavcodec-dev libavfilter-dev libavformat-dev libavutil-dev libbluetooth-dev libbluray-dev libbluray1 libboost-dev libboost-thread-dev libbz2-dev libcap-dev libcdio-dev libcrystalhd-dev libcrystalhd3 libcurl3 libcurl4-gnutls-dev libcwiid-dev libcwiid1 libdbus-1-dev libenca-dev libflac-dev libfontconfig-dev libfreetype6-dev libfribidi-dev libglew-dev libgnutls28-dev libiso9660-dev libjasper-dev libjpeg-dev libltdl-dev liblzo2-dev libmad0-dev libmicrohttpd-dev libmodplug-dev libmp3lame-dev libmpeg2-4-dev libmpeg3-dev libmysqlclient-dev libnfs-dev libogg-dev libp8-platform-dev libpcre3-dev libplist-dev libpng-dev libpostproc-dev libpulse-dev libsamplerate-dev libsdl-dev libsdl-gfx1.2-dev libsdl-image1.2-dev libsdl-mixer1.2-dev libshairport-dev libsmbclient-dev libsqlite3-dev libssh-dev libssl-dev libswscale-dev libtiff-dev libtinyxml-dev libtool libudev-dev libusb-dev libva-dev libva-egl1 libva-tpi1 libvdpau-dev libvorbisenc2 libxml2-dev libxmu-dev libxrandr-dev libxrender-dev libxslt1-dev libxt-dev libyajl-dev mesa-utils nasm pmount python-dev python-imaging python-sqlite unzip uuid-dev yasm zip zlib1g-dev libtag1-dev libegl1-mesa-dev libcrossguid-dev
- Pulse-Eight USB CEC Adapter. Skip this part if you don't have the adapter.
2. Get source code from GitHub
3. Compile
Compiling the source will take some time. Wait for the queue to finish.
4. Start Kodi
To make Kodi auto start when you boot your NAS follow step 4 (Add a new init script). Modify the variables to suit your configuration.
Conclusion
If everything went well you should have Kodi 17 installed on OMV3. Be aware that both are in beta stage. The Pulse-Eight USB CEC Adapter should work out of the box.
Kodi 17 feels pretty sluggish on my HP ProLiant G7 MicroServer N54L. It's not as fast as Kodi 15 was and videos are lagging a bit.
1.0.0 - 12.11.2016
- Guide written
1.0.1 - 27.11.2016
- Added missing packages (sorry for that. totally left that part out)