19 lines
826 B
Bash
19 lines
826 B
Bash
# Template file for 'kodi-addon-game-libretro'
|
|
pkgname=kodi-addon-game-libretro
|
|
version=2.2.0
|
|
revision=2
|
|
_kodi_release=Matrix
|
|
wrksrc="game.libretro-${version}-${_kodi_release}"
|
|
build_style=cmake
|
|
makedepends="kodi-devel kodi-platform-devel p8-platform-devel tinyxml-devel"
|
|
short_desc="Libretro compatibility layer for the Kodi Game API"
|
|
maintainer="Orphaned <orphan@voidlinux.org>"
|
|
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
|
|
|
|
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
|