03-16-2019, 02:43 AM
Code:
dowload from: https://github.com/xbmc/xbmc
Tag: 18.0rc4-Leia
1.: Download the proper ffmpeg to the corresponding subdir in source tree
2.: Add to cmakelists the ffmpeg compile options --enable-version3 --enable-libdrm --enable-rkmpp
Compiled with the following command line:
cmake -lpthread -DFFMPEG_URL=tools/depends/target/ffmpeg/4.0.3-Leia-Beta5.tar.gz -DENABLE_X11=OFF -DENABLE_INTERNAL_FFMPEG=ON -DENABLE_INTERNAL_FLATBUFFERS=OFF -DENABLE_VAAPI=OFF -DENABLE_VDPAU=OFF -DENABLE_OPENGLES=ON -DCORE_PLATFORM_NAME=gbm -DGBM_RENDER_SYSTEM=gles -DENABLE_OPENGL=OFF -DCPACK_GENERATOR=DEB -DDEBIAN_PACKAGE_VERSION=18.0rc4 -DDEBIAN_PACKAGE_REVISION=0bionic-rockchip1 -DDEB_PACKAGE_ARCHITECTURE=armhf -DWITH_ARCH=arm -DWITH_CPU=cortex-a53 ../xbmc
cmake --build . -- -j6
cpack
This is to install KODI. Credit to original source here.