Skip to content

(FR) Compilation

Aassif Benassarou edited this page Nov 22, 2021 · 4 revisions

La procédure est identique à celle de tout PVR.

Il faut tout d'abord cloner les deux projets :

  • git clone -b 18.6-Leia https://github.com/xbmc/xbmc.git kodi
  • git clone -b Leia https://github.com/aassif/pvr.freebox.git

Puis configurer le projet :

  • PREFIX=$PWD
  • cd pvr.freebox
  • mkdir build
  • cd build
  • cmake \
    -DADDONS_TO_BUILD=pvr.freebox \
    -DADDON_SRC_PREFIX=$PREFIX \
    -DCMAKE_BUILD_TYPE=Release \
    -DCMAKE_INSTALL_PREFIX=$PREFIX/kodi/addons \
    -DPACKAGE_ZIP=1 \
    $PREFIX/kodi/cmake/addons

Et enfin le compiler :
make package-addons

L'archive générée se situera dans le répertoire pvr.freebox-prefix/src/pvr.freebox-build.