kodi-addon-vfs-rar: enable cross compilation

This commit is contained in:
marmeladema 2021-03-16 01:50:16 +00:00 committed by Érico Nogueira Rolim
parent 6058f807d0
commit d6417ca678
1 changed files with 6 additions and 2 deletions

View File

@ -1,7 +1,7 @@
# Template file for 'kodi-addon-vfs-rar'
pkgname=kodi-addon-vfs-rar
version=4.0.0
revision=1
revision=2
_kodi_release=Matrix
wrksrc="vfs.rar-${version}-${_kodi_release}"
build_style=cmake
@ -12,4 +12,8 @@ license="GPL-2.0-or-later"
homepage="https://github.com/xbmc/vfs.rar"
distfiles="https://github.com/xbmc/vfs.rar/archive/${version}-${_kodi_release}.tar.gz"
checksum=1111d1f90cc4addc2adb0884b779f4b47e30abb2766ba1708053e5f100b514bf
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