Phriction This Is A Wiki Documentation Kodi Standalone Kodi Compile Kodi for ARM History Version 1 vs 2
Version 1 vs 2
Version 1 vs 2
Edits
Edits
- Edit by keithzg, Version 2
- Sep 15 2019 2:23 AM
- ·Fix cmake line for flatbuffers and target GBM
- Edit by keithzg, Version 1
- Sep 15 2019 2:13 AM
- ·Initial creation, full of hope
Original Change | Next Change » |
Edit Older Version 1... | Edit Older Version 2... |
Content Changes
Content Changes
So you don't want to use LibreELEC, and are annoyed with the Kodi team for not bothering to publish ARM binaries in their PPA, probably because they really want to make LibreELEC happen? Well here we go.
Official Instructions:
* https://github.com/xbmc/xbmc/blob/master/docs/README.Ubuntu.md
* https://github.com/xbmc/xbmc/blob/master/docs/README.Linux.md
== Get the dependencies ==
```
sudo apt install debhelper autoconf automake autopoint gettext autotools-dev cmake curl default-jre doxygen gawk gcc gdc gperf libasound2-dev libass-dev libavahi-client-dev libavahi-common-dev libbluetooth-dev libbluray-dev libbz2-dev libcdio-dev libp8-platform-dev libcrossguid-dev libcurl4-openssl-dev libcwiid-dev libdbus-1-dev libegl1-mesa-dev libenca-dev libflac-dev libfontconfig-dev libfreetype6-dev libfribidi-dev libfstrcmp-dev libgcrypt-dev libgif-dev libgles2-mesa-dev libgl1-mesa-dev libglu1-mesa-dev libgnutls28-dev libgpg-error-dev libiso9660-dev libjpeg-dev liblcms2-dev libltdl-dev liblzo2-dev libmicrohttpd-dev libmysqlclient-dev libnfs-dev libogg-dev libpcre3-dev libplist-dev libpng-dev libpulse-dev libsmbclient-dev libsqlite3-dev libssl-dev libtag1-dev libtiff5-dev libtinyxml-dev libtool libudev-dev libva-dev libvdpau-dev libvorbis-dev libxmu-dev libxrandr-dev libxslt1-dev libxt-dev lsb-release python-dev python-pil rapidjson-dev swig unzip uuid-dev yasm zip zlib1g-dev libcec-dev libfmt-dev liblirc-dev
```
Compared to the official instructions, this removes the following packages not available for Ubuntu 19.04 ARM64:
* `libshairplay-dev`, which is presumably for AirPlay and what kinda asshole even has an iOS device anyways?
* `flatbuffers-dev`, which can theoretically be compiled within Kodi itself (see `cmake` flag used below)
== Get the source ==
```
# Clone to a Kodi folder. Probably go into somewhere like ~/Code/git or something first.
git clone https://github.com/xbmc/xbmc kodi
# Check what tags are available, then switch to the latest stable
cd kodi
git tag
git checkout tags/18.4-Leia
```
== Compilin' time ==
```
# Presuming we're inside the checkout right now, the hot new thing all the kids are doing is out-of-source builds, and Kodi is nothing if not trendy.
mkdir ../build-kodi
cd ../build-kodi
cmake ../kodi -DCMAKE_INSTALL_PREFIX=/usr/local -DENABLE_INTERNAL_FLATBUFFERS
# Et voila, maybe, I dunno, I'm still actually installing all the dependencies as of this writing
```
So you don't want to use LibreELEC, and are annoyed with the Kodi team for not bothering to publish ARM binaries in their PPA, probably because they really want to make LibreELEC happen? Well here we go.
Official Instructions:
* https://github.com/xbmc/xbmc/blob/master/docs/README.Ubuntu.md
* https://github.com/xbmc/xbmc/blob/master/docs/README.Linux.md
== Get the dependencies ==
```
sudo apt install debhelper autoconf automake autopoint gettext autotools-dev cmake curl default-jre doxygen gawk gcc gdc gperf libasound2-dev libass-dev libavahi-client-dev libavahi-common-dev libbluetooth-dev libbluray-dev libbz2-dev libcdio-dev libp8-platform-dev libcrossguid-dev libcurl4-openssl-dev libcwiid-dev libdbus-1-dev libegl1-mesa-dev libenca-dev libflac-dev libfontconfig-dev libfreetype6-dev libfribidi-dev libfstrcmp-dev libgcrypt-dev libgif-dev libgles2-mesa-dev libgl1-mesa-dev libglu1-mesa-dev libgnutls28-dev libgpg-error-dev libiso9660-dev libjpeg-dev liblcms2-dev libltdl-dev liblzo2-dev libmicrohttpd-dev libmysqlclient-dev libnfs-dev libogg-dev libpcre3-dev libplist-dev libpng-dev libpulse-dev libsmbclient-dev libsqlite3-dev libssl-dev libtag1-dev libtiff5-dev libtinyxml-dev libtool libudev-dev libva-dev libvdpau-dev libvorbis-dev libxmu-dev libxrandr-dev libxslt1-dev libxt-dev lsb-release python-dev python-pil rapidjson-dev swig unzip uuid-dev yasm zip zlib1g-dev libcec-dev libfmt-dev liblirc-dev
```
Compared to the official instructions, this removes the following packages not available for Ubuntu 19.04 ARM64:
* `libshairplay-dev`, which is presumably for AirPlay and what kinda asshole even has an iOS device anyways?
* `flatbuffers-dev`, which can theoretically be compiled within Kodi itself (see `cmake` flag used below)
== Get the source ==
```
# Clone to a Kodi folder. Probably go into somewhere like ~/Code/git or something first.
git clone https://github.com/xbmc/xbmc kodi
# Check what tags are available, then switch to the latest stable
cd kodi
git tag
git checkout tags/18.4-Leia
```
== Compilin' time ==
```
# Presuming we're inside the checkout right now, the hot new thing all the kids are doing is out-of-source builds, and Kodi is nothing if not trendy.
mkdir ../build-kodi
cd ../build-kodi
cmake ../kodi -DCMAKE_INSTALL_PREFIX=/usr/local -DENABLE_INTERNAL_FLATBUFFERS=on -DCORE_PLATFORM_NAME=gbm
# Et voila, maybe, I dunno, I'm still actually installing all the dependencies as of this writing
```
So you don't want to use LibreELEC, and are annoyed with the Kodi team for not bothering to publish ARM binaries in their PPA, probably because they really want to make LibreELEC happen? Well here we go.
Official Instructions:
* https://github.com/xbmc/xbmc/blob/master/docs/README.Ubuntu.md
* https://github.com/xbmc/xbmc/blob/master/docs/README.Linux.md
== Get the dependencies ==
```
sudo apt install debhelper autoconf automake autopoint gettext autotools-dev cmake curl default-jre doxygen gawk gcc gdc gperf libasound2-dev libass-dev libavahi-client-dev libavahi-common-dev libbluetooth-dev libbluray-dev libbz2-dev libcdio-dev libp8-platform-dev libcrossguid-dev libcurl4-openssl-dev libcwiid-dev libdbus-1-dev libegl1-mesa-dev libenca-dev libflac-dev libfontconfig-dev libfreetype6-dev libfribidi-dev libfstrcmp-dev libgcrypt-dev libgif-dev libgles2-mesa-dev libgl1-mesa-dev libglu1-mesa-dev libgnutls28-dev libgpg-error-dev libiso9660-dev libjpeg-dev liblcms2-dev libltdl-dev liblzo2-dev libmicrohttpd-dev libmysqlclient-dev libnfs-dev libogg-dev libpcre3-dev libplist-dev libpng-dev libpulse-dev libsmbclient-dev libsqlite3-dev libssl-dev libtag1-dev libtiff5-dev libtinyxml-dev libtool libudev-dev libva-dev libvdpau-dev libvorbis-dev libxmu-dev libxrandr-dev libxslt1-dev libxt-dev lsb-release python-dev python-pil rapidjson-dev swig unzip uuid-dev yasm zip zlib1g-dev libcec-dev libfmt-dev liblirc-dev
```
Compared to the official instructions, this removes the following packages not available for Ubuntu 19.04 ARM64:
* `libshairplay-dev`, which is presumably for AirPlay and what kinda asshole even has an iOS device anyways?
* `flatbuffers-dev`, which can theoretically be compiled within Kodi itself (see `cmake` flag used below)
== Get the source ==
```
# Clone to a Kodi folder. Probably go into somewhere like ~/Code/git or something first.
git clone https://github.com/xbmc/xbmc kodi
# Check what tags are available, then switch to the latest stable
cd kodi
git tag
git checkout tags/18.4-Leia
```
== Compilin' time ==
```
# Presuming we're inside the checkout right now, the hot new thing all the kids are doing is out-of-source builds, and Kodi is nothing if not trendy.
mkdir ../build-kodi
cd ../build-kodi
cmake ../kodi -DCMAKE_INSTALL_PREFIX=/usr/local -DENABLE_INTERNAL_FLATBUFFERS=on -DCORE_PLATFORM_NAME=gbm
# Et voila, maybe, I dunno, I'm still actually installing all the dependencies as of this writing
```