Skip to content
backcountrymountains edited this page Aug 5, 2021 · 13 revisions

Compilation

  • Download and extract Moonlight Embedded from release or git clone
  • Install development dependencies (see Dependencies)
  • Initialize the git submodules git submodule update --init --recursive
  • Build and install using the following commands
mkdir build
cd build/
cmake ../
make
make install

Raspbian

Debian required a patch to compile correctly. This patch is available in /debian/patches in the debian/wheezy and debian/jessie branch. A .deb package can automatically be created by running:

fakeroot debian/rules binary

Dependencies

ArchLinux

Install with

pacman -S (package list)
  • opus
  • expat
  • openssl
  • alsa-lib
  • avahi
  • libevdev
  • raspberrypi-firmware-tools (Raspberry Pi)
  • imx-vpu (iMX.6)
  • linux-headers-imx6-cubox-dt (iMX.6)

For compilation and development you also need:

  • cmake

Debian (Raspbian) / OSMC

Install with

apt-get install (package list)
  • libopus0
  • libexpat1
  • libasound2
  • libudev0 or libudev1
  • libavahi-client3
  • libcurl4
  • libevdev2
  • rbp-userland-osmc (Raspberry Pi and OSMC)
  • libraspberrypi0 (Raspberry Pi and Raspbian)

For compilation and development you also need:

  • libssl-dev
  • libopus-dev
  • libasound2-dev
  • libudev-dev
  • libavahi-client-dev
  • libcurl4-openssl-dev
  • libevdev-dev
  • libexpat1-dev
  • libpulse-dev
  • uuid-dev
  • cmake
  • gcc
  • g++
  • rbp-userland-dev-osmc (Raspberry Pi and OSMC)
  • libraspberrypi-dev (Raspberry Pi and Raspbian)
  • fakeroot (Package creation)
  • debhelper (Package creation)