kodi-addon-vfs-sftp: enable cross compilation
This commit is contained in:
parent
35f74b02b5
commit
6058f807d0
1 changed files with 6 additions and 2 deletions
|
@ -1,7 +1,7 @@
|
|||
# Template file for 'kodi-addon-vfs-sftp'
|
||||
pkgname=kodi-addon-vfs-sftp
|
||||
version=2.0.0
|
||||
revision=1
|
||||
revision=2
|
||||
_kodi_release=Matrix
|
||||
wrksrc="vfs.sftp-${version}-${_kodi_release}"
|
||||
build_style=cmake
|
||||
|
@ -13,4 +13,8 @@ license="GPL-2.0-or-later"
|
|||
homepage="https://github.com/xbmc/vfs.sftp"
|
||||
distfiles="https://github.com/xbmc/vfs.sftp/archive/${version}-${_kodi_release}.tar.gz"
|
||||
checksum=b15c5dde7b3aadb3e82e61cb9b0440812b6c2f65b38c6c25aef726f97e746f68
|
||||
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