kodi-addon-pvr-zattoo: enable cross compilation

This commit is contained in:
marmeladema 2021-03-16 01:37:54 +00:00 committed by Érico Nogueira Rolim
parent fd7baeb4cf
commit f654813b9d
1 changed files with 6 additions and 2 deletions

View File

@ -1,7 +1,7 @@
# Template file for 'kodi-addon-pvr-zattoo'
pkgname=kodi-addon-pvr-zattoo
version=19.7.8.1
revision=1
revision=2
_kodi_release=Matrix
wrksrc="pvr.zattoo-${version}-${_kodi_release}"
build_style=cmake
@ -15,5 +15,9 @@ license="GPL-2.0-only"
homepage="https://github.com/rbuehlma/pvr.zattoo"
distfiles="https://github.com/rbuehlma/pvr.zattoo/archive/${version}-${_kodi_release}.tar.gz"
checksum=25dc4ea72b5315a65286ba606e6e26d281fb8eb830d5e0164b66b8d7ae90319a
nocross="depends on kodi-platform"
make_check=no # No target to "make test"
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