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