kodi-platform: update to 20180302 and enable cross compilation

This commit is contained in:
marmeladema 2021-03-16 01:19:44 +00:00 committed by Érico Nogueira Rolim
parent 1c3ec7681b
commit 1d676d6284
2 changed files with 9 additions and 5 deletions

View file

@ -3549,7 +3549,7 @@ libgaminggear.so.0 libgaminggear-0.15.1_1
libgaminggearfx.so.0 libgaminggear-0.15.1_1
libgaminggearwidget.so.0 libgaminggear-0.15.1_1
libopkg.so.1 libopkg-0.4.4_2
libkodiplatform.so.18.0 kodi-platform-17.1.0_1
libkodiplatform.so.19.0 kodi-platform-20180302_1
libQMatrixClient.so.0.5.3 libqmatrixclient-0.5.3.2_1
libipset.so.13 libipset-7.9_1
libmp3splt.so.0 libmp3splt-0.9.2_1

View file

@ -1,7 +1,8 @@
# Template file for 'kodi-platform'
pkgname=kodi-platform
version=17.1.0
version=20180302
revision=1
wrksrc=kodi-platform-kodiplatform-${version}
build_style=cmake
configure_args="-DCMAKE_INSTALL_LIBDIR=/usr/lib"
makedepends="kodi-devel tinyxml-devel p8-platform-devel"
@ -9,9 +10,12 @@ short_desc="Kodi platform support library"
maintainer="Orphaned <orphan@voidlinux.org>"
license="GPL-2.0-or-later"
homepage="https://github.com/xbmc/kodi-platform"
distfiles="https://github.com/xbmc/kodi-platform/archive/${version}.tar.gz"
checksum=39de7eb6db14de3fa33ca0e56243c3307e7598187e73ad930dabccdf068bd9b2
nocross="kodi cmake files use absolute paths"
distfiles="https://github.com/xbmc/kodi-platform/archive/kodiplatform-${version}.tar.gz"
checksum=1d8ddbe444bd42f4b6f2babb9f78d6c1e152d828eff90b07308febf883c05b38
if [ -n "${CROSS_BUILD}" ]; then
configure_args+=" -DCMAKE_MODULE_PATH=${XBPS_CROSS_BASE}/usr/share/kodi/cmake"
fi
kodi-platform-devel_package() {
short_desc+=" - development files"