PVR Freebox and Kodi

Hello,

I’m trying to compile this project https://github.com/aassif/pvr.freebox on my Beelink GT King Pro.

But, it failed with this error :

oreELEC:~/.opt/pvr.freebox # 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
– Addon source tarball caching is enabled
– ZIP packaging enabled (destination: /opt/pvr.freebox/build/zips)
– Building following addons: pvr.freebox
– Overriding addon source directory prefix: /opt

– ---- Preparing general dependencies ----
– Processing /opt/kodi/cmake/addons/depends/common/kodi-platform/kodi-platform.txt
– kodi-platform url: https://github.com/xbmc/kodi-platform
– kodi-platform depends: tinyxml;p8-platform
– Processing /opt/kodi/cmake/addons/depends/common/p8-platform/p8-platform.txt
– p8-platform url: https://github.com/xbmc/platform.git
– Processing /opt/kodi/cmake/addons/depends/common/tinyxml/tinyxml.txt
– tinyxml url: http://mirrors.kodi.tv/build-deps/sources/tinyxml-2.6.2_2.tar.gz
– No platform specific file /opt/kodi/cmake/addons/depends/linux/CMakeLists.txt found

CMake Error at CMakeLists.txt:441 (message):
pvr.freebox did not match any of the supported addons. A list of supported
addons can be viewed by building the ‘supported_addons’ target. Addon
definitions are loaded from ADDONS_DEFINITION_DIR
(/opt/kodi/cmake/addons/addons).

– Configuring incomplete, errors occurred!
See also “/opt/pvr.freebox/CMakeFiles/CMakeOutput.log”.
See also “/opt/pvr.freebox/CMakeFiles/CMakeError.log”.

Can you help me to add the missing file /opt/kodi/cmake/addons/depends/linux/CMakeLists.txt to my installation ?

Thank you,

Steph

I found an issue for my first error but now there’s another one.

Any help will be appreciate :

CoreELEC:~/.opt/pvr.freebox # make package-addons
[ 3%] Performing update step for ‘p8-platform’
[ 6%] Performing configure step for ‘p8-platform’
– Configuring done
– Generating done
– Build files have been written to: /opt/pvr.freebox/build/p8-platform/src/p8-platform-build
[ 9%] Performing build step for ‘p8-platform’
[100%] Built target p8-platform
[ 12%] Performing install step for ‘p8-platform’
[100%] Built target p8-platform
Install the project…
– Install configuration: “Release”
– Up-to-date: /opt/pvr.freebox/build/depends/lib/libp8-platform.a
– Up-to-date: /opt/pvr.freebox/build/depends/include/p8-platform/os.h
– Up-to-date: /opt/pvr.freebox/build/depends/include/p8-platform/posix/os-socket.h
– Up-to-date: /opt/pvr.freebox/build/depends/include/p8-platform/posix/os-threads.h
– Up-to-date: /opt/pvr.freebox/build/depends/include/p8-platform/posix/os-types.h
– Up-to-date: /opt/pvr.freebox/build/depends/include/p8-platform/sockets/cdevsocket.h
– Up-to-date: /opt/pvr.freebox/build/depends/include/p8-platform/sockets/socket.h
– Up-to-date: /opt/pvr.freebox/build/depends/include/p8-platform/sockets/tcp.h
– Up-to-date: /opt/pvr.freebox/build/depends/include/p8-platform/threads/atomics.h
– Up-to-date: /opt/pvr.freebox/build/depends/include/p8-platform/threads/mutex.h
– Up-to-date: /opt/pvr.freebox/build/depends/include/p8-platform/threads/threads.h
– Up-to-date: /opt/pvr.freebox/build/depends/include/p8-platform/util/atomic.h
– Up-to-date: /opt/pvr.freebox/build/depends/include/p8-platform/util/buffer.h
– Up-to-date: /opt/pvr.freebox/build/depends/include/p8-platform/util/StringUtils.h
– Up-to-date: /opt/pvr.freebox/build/depends/include/p8-platform/util/StdString.h
– Up-to-date: /opt/pvr.freebox/build/depends/include/p8-platform/util/timeutils.h
– Up-to-date: /opt/pvr.freebox/build/depends/include/p8-platform/util/util.h
– Up-to-date: /opt/pvr.freebox/build/depends/lib/pkgconfig/p8-platform.pc
– Up-to-date: /opt/pvr.freebox/build/depends/lib/p8-platform/p8-platform-config.cmake
[ 15%] Completed ‘p8-platform’
[ 24%] Built target p8-platform
[ 27%] Performing configure step for ‘tinyxml’
– Configuring done
– Generating done
– Build files have been written to: /opt/pvr.freebox/build/tinyxml/src/tinyxml-build
[ 30%] Performing build step for ‘tinyxml’
[100%] Built target tinyxml
[ 33%] Performing install step for ‘tinyxml’
[100%] Built target tinyxml
Install the project…
– Install configuration: “Release”
– Up-to-date: /opt/pvr.freebox/build/depends/include/tinystr.h
– Up-to-date: /opt/pvr.freebox/build/depends/include/tinyxml.h
– Up-to-date: /opt/pvr.freebox/build/depends/lib/libtinyxml.a
[ 36%] Completed ‘tinyxml’
[ 48%] Built target tinyxml
[ 51%] Performing update step for ‘kodi-platform’
[ 54%] Performing configure step for ‘kodi-platform’
– Configuring done
– Generating done
– Build files have been written to: /opt/pvr.freebox/build/kodi-platform/src/kodi-platform-build
[ 57%] Performing build step for ‘kodi-platform’
[100%] Built target kodiplatform
[ 60%] Performing install step for ‘kodi-platform’
[100%] Built target kodiplatform
Install the project…
– Install configuration: “Release”
– Up-to-date: /opt/pvr.freebox/build/depends/lib/libkodiplatform.a
– Up-to-date: /opt/pvr.freebox/build/depends/include/kodi/util/XMLUtils.h
– Up-to-date: /opt/pvr.freebox/build/depends/lib/pkgconfig/kodiplatform.pc
– Up-to-date: /opt/pvr.freebox/build/depends/lib/kodiplatform/kodiplatform-config.cmake
[ 63%] Completed ‘kodi-platform’
[ 72%] Built target kodi-platform
[ 75%] Performing forcebuild step for ‘pvr.freebox’
Force build of pvr.freebox
[ 78%] Performing build step for ‘pvr.freebox’
make[4]: *** No targets specified and no makefile found. Stop.
make[3]: *** [CMakeFiles/pvr.freebox.dir/build.make:114: pvr.freebox-prefix/src/pvr.freebox-stamp/pvr.freebox-build] Error 2
make[2]: *** [CMakeFiles/Makefile2:124: CMakeFiles/pvr.freebox.dir/all] Error 2
make[1]: *** [CMakeFiles/Makefile2:158: CMakeFiles/package-addons.dir/rule] Error 2
make: *** [Makefile:131: package-addons] Error 2

Thank you