Skip to content
peno64 edited this page Apr 10, 2020 · 34 revisions

Build on Windows (64 bit)

Prerequisites:

Compile:

  1. Make a new folder (e.g. C:\PROJECTS)
  2. On the new folder, open the context menu and select Git Bash Here (or use CMD terminal, PowerShell)
  3. In the terminal window:
    Clone the Kodi master branch git clone --branch master https://github.com/xbmc/xbmc.git
    Clone the ISA master branch git clone --branch master https://github.com/peak3d/inputstream.adaptive.git
    (Change the branch names with the preferred branch)
  4. Create the build folder mkdir inputstream.adaptive/build/
  5. Open the build folder cd inputstream.adaptive/build/
  6. Configure the build:
    CMAKE_BUILD_TYPE can be "Debug" or "Release"
    MAKE_INSTALL_PREFIX is the target folder where place the compiled files
    If needed modify the parameters in the command line and then run:
cmake -T host=x64 -DADDONS_TO_BUILD=inputstream.adaptive -DCMAKE_BUILD_TYPE=Debug -DADDON_SRC_PREFIX=../.. -DCMAKE_INSTALL_PREFIX=../../xbmc/addons -DPACKAGE_ZIP=1 ../../xbmc/cmake/addons
  1. Run the build: cmake --build . --config Debug --target inputstream.adaptive

Build on raspbian for raspberry pi

These instructions are to compile inputstream.adaptive for Leia (kodi 18). By selecting the Matrix branch this should work also for kodi 19.

Prerequisites:

  • update tools: sudo apt install autoconf bison build-essential curl default-jdk gawk git gperf libcurl4-openssl-dev zlib1g-dev cmake zip

Compile:

  1. Make a new (e.g. inputstream.adaptive): mkdir
  2. cd
  3. git clone https://github.com/raspberrypi/tools --depth=1
  4. git clone https://github.com/raspberrypi/firmware --depth=1
  5. git clone -b Leia https://github.com/xbmc/xbmc.git
  6. git clone -b Leia https://github.com/peak3d/inputstream.adaptive
  7. cd inputstream.adaptive
  8. mkdir build && cd build
  9. cmake -DADDONS_TO_BUILD=inputstream.adaptive -DADDON_SRC_PREFIX=../.. -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=../../xbmc/addons -DPACKAGE_ZIP=1 ../../xbmc/cmake/addons
  10. make
  11. cd ../../xbmc/addons/
  12. zip -r /tmp/inputstream.adaptive.zip inputstream.adaptive

There is now a zip inputstream.adaptive.zip in the /tmp folder which can be installed as addon on a raspberry pi (at least on LibreElec)

Clone this wiki locally