[GUIDE] Kodi 17 on OMV3

    • [GUIDE] Kodi 17 on OMV3

      Kodi 17 on OMV3

      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.

      At least 10 GB free space
      Clean install of OMV3 3.0.52 (or newer)

      1. Installation of required packages/dependencies

      Source Code

      1. omv-update
      2. apt-get install python-software-properties pkg-config
      3. apt-get install software-properties-common
      4. 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

      Display Spoiler


      Source Code

      1. deb http://httpredir.debian.org/debian/ jessie main contrib non-free
      to your sources in etc/apt/sources.list

      Source Code

      1. apt-get update
      2. apt-get install xorg xserver-xorg-video-ati
      3. apt-get install linux-headers-$(uname -r|sed 's,[^-]*-[^-]*-,,') fglrx-driver
      4. apt-get install fglrx-modules-dkms
      5. aticonfig --initial

      - Packages

      Source Code

      1. 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.
      Display Spoiler

      Source Code

      1. cd $HOME
      2. git clone https://github.com/Pulse-Eight/platform.git
      3. mkdir platform/build
      4. cd platform/build
      5. cmake ..
      6. make
      7. sudo make install
      8. sudo ldconfig

      Source Code

      1. cd $HOME
      2. git clone https://github.com/Pulse-Eight/libcec.git
      3. mkdir libcec/build
      4. cd libcec/build
      5. cmake ..
      6. make
      7. sudo make install
      8. sudo ldconfig

      2. Get source code from GitHub

      Source Code

      1. cd $HOME
      2. git clone git://github.com/xbmc/xbmc.git kodi

      3. Compile

      Source Code

      1. cd $HOME/kodi
      2. ./bootstrap
      3. ./configure
      4. make
      5. make install
      Compiling the source will take some time. Wait for the queue to finish.

      4. Start Kodi

      Source Code

      1. xinit 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.

      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)

      The post was edited 2 times, last by sourcefreak ().