kodi-addon-inputstream-rtmp: enable cross compilation
This commit is contained in:
parent
e1b470f59e
commit
870cde888a
|
@ -1,7 +1,7 @@
|
|||
# Template file for 'kodi-addon-inputstream-rtmp'
|
||||
pkgname=kodi-addon-inputstream-rtmp
|
||||
version=3.4.0
|
||||
revision=1
|
||||
revision=2
|
||||
_kodi_release=Matrix
|
||||
wrksrc="inputstream.rtmp-${version}-${_kodi_release}"
|
||||
build_style=cmake
|
||||
|
@ -14,4 +14,8 @@ license="GPL-2.0-or-later"
|
|||
homepage="https://github.com/xbmc/inputstream.rtmp"
|
||||
distfiles="https://github.com/xbmc/inputstream.rtmp/archive/${version}-${_kodi_release}.tar.gz"
|
||||
checksum=efaaa9b07c18810582a3826df476fc36a2aac82be7512271545073c3f6cc0212
|
||||
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 New Issue