hectorkvs
Posts: 47
Joined: Tue Jan 21, 2020 1:23 pm

Kodi Leia 18.6 on Rpi4 with Manjaro Arm 20.02

Sun Mar 08, 2020 11:09 pm

If anyone is interested, here is tutorial how to install Kodi Leia 18.6 on RasPi 4 with Manjaro ARM 20.02, KDE Plasma or XFCE

First you need to install git

sudo pacman -S git

Once git is installed, we can now get the Kodi source-code:

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

Kodi needs several third party packages, most of them can be installed from the official Arch/Manjaro repository:

sudo pacman --needed --asdeps -S alsa-lib autoconf automake avahi bluez-libs bzip2 cmake curl dbus ffmpeg flatbuffers fmt fontconfig freetype2 fribidi gawk giflib glu gperf jre8-openjdk libao libass libbluray libcap libcdio libcec libcrossguid libjpeg-turbo libltdl libmariadbclient libmicrohttpd libmpcdec libnfs libplist libpng libpulse libssh libsystemd libtool libusb libva libvdpau libxml2 libxmu libxrandr libxslt libxt lsb-release lzo mesa nasm openssl pcre python2 python2-pillow rapidjson shairplay smbclient sqlite swig taglib tinyxml yasm zlib

Kodi needs a few packages that are currently unavailable in the official repo,but can be build from AUR, so you need to install fstrcmp (make sure you edit and add 'aarch64' in arch=() before installing it, you can do it from pacman-manager, just enable AUR in preferances)

To create the Kodi executable manually perform these steps:

git branch -a
cd $HOME/kodi/
git checkout -b Leia remotes/origin/Leia
mkdir kodi-build
cd kodi-build
cmake ../kodi-build -DCMAKE_INSTALL_PREFIX=/usr/local -DX11_RENDER_SYSTEM=gl
cmake .. -DCMAKE_INSTALL_PREFIX=/usr/local
cmake --build . -- VERBOSE=1 -j4
sudo make install

If everything goes right, start Kodi from menu, or just type kodi in Konsole/Terminal

Be patient process is very long...enjoy :-)

smilenkovski
Posts: 7
Joined: Sat Mar 28, 2020 9:44 am

Re: Kodi Leia 18.6 on Rpi4 with Manjaro Arm 20.02

Fri May 01, 2020 4:29 pm

Nice guide, thanks. I think there is Kodi 18.6 in AUR in meantime.The problem is that Kodi on Manjaro lacks hw. acc.. While Manjaro (KDE) DE runs with hardware accelartion I think there is no Kodi version fo Manjaro playing HEVC nicely. At least , last time I've checked. So, is there any guide for building Kodi with hw. acc. like Raspbian version?

hectorkvs
Posts: 47
Joined: Tue Jan 21, 2020 1:23 pm

Re: Kodi Leia 18.6 on Rpi4 with Manjaro Arm 20.02

Sat May 02, 2020 8:40 pm

smilenkovski wrote:
Fri May 01, 2020 4:29 pm
Nice guide, thanks. I think there is Kodi 18.6 in AUR in meantime.The problem is that Kodi on Manjaro lacks hw. acc.. While Manjaro (KDE) DE runs with hardware accelartion I think there is no Kodi version fo Manjaro playing HEVC nicely. At least , last time I've checked. So, is there any guide for building Kodi with hw. acc. like Raspbian version?
If there is one, i`m not aware of it..and yes, Kodi is now available directly from Pacman, so my compiled version is a bit outdated..:-)

Return to “Arch”