kodi-addon-inputstream-adaptive: enable cross compilation
This commit is contained in:
parent
870cde888a
commit
35f74b02b5
1 changed files with 6 additions and 2 deletions
|
@ -1,7 +1,7 @@
|
|||
# Template file for 'kodi-addon-inputstream-adaptive'
|
||||
pkgname=kodi-addon-inputstream-adaptive
|
||||
version=2.6.7
|
||||
revision=1
|
||||
revision=2
|
||||
_kodi_release=Matrix
|
||||
wrksrc="inputstream.adaptive-${version}-${_kodi_release}"
|
||||
build_style=cmake
|
||||
|
@ -13,4 +13,8 @@ license="GPL-2.0-or-later"
|
|||
homepage="https://github.com/peak3d/inputstream.adaptive"
|
||||
distfiles="https://github.com/peak3d/inputstream.adaptive/archive/${version}-${_kodi_release}.tar.gz"
|
||||
checksum=353207f5f98bf81ce8d79cec903c28da8c0227d7c7a632692c910d81e59c2dbe
|
||||
nocross="depends on kodi-platform"
|
||||
|
||||
if [ -n "${CROSS_BUILD}" ]; then
|
||||
configure_args+=" -DCMAKE_MODULE_PATH=${XBPS_CROSS_BASE}/usr/share/kodi/cmake"
|
||||
configure_args+=" -DKODI_INCLUDE_DIR=${XBPS_CROSS_BASE}/usr/include/kodi"
|
||||
fi
|
||||
|
|
Loading…
Reference in a new issue