25 lines
1.3 KiB
Bash
25 lines
1.3 KiB
Bash
# Template file for 'kodi-addon-inputstream-adaptive'
|
|
pkgname=kodi-addon-inputstream-adaptive
|
|
version=21.4.4
|
|
revision=1
|
|
_kodi_release=Omega
|
|
# Bento4 version defined in https://github.com/xbmc/inputstream.adaptive/blob/Piers/depends/common/bento4/bento4.txt
|
|
_bento4_version=1.6.0-641-Omega
|
|
build_style=cmake
|
|
configure_args=" -DENABLE_INTERNAL_BENTO4=1 -DBENTO4_URL=${XBPS_SRCDISTDIR}/${pkgname}-${version}/${_bento4_version}.tar.gz -DVERBOSE=1"
|
|
makedepends="gtest-devel kodi-devel kodi-platform-devel pugixml-devel"
|
|
short_desc="Kodi inputstream addon for several manifest types"
|
|
maintainer="Orphaned <orphan@voidlinux.org>"
|
|
license="GPL-2.0-or-later"
|
|
homepage="https://github.com/peak3d/inputstream.adaptive"
|
|
distfiles="https://github.com/peak3d/inputstream.adaptive/archive/${version}-${_kodi_release}.tar.gz https://github.com/xbmc/Bento4/archive/refs/tags/${_bento4_version}.tar.gz"
|
|
checksum="0a1074fe04fb7e9500d578490b4cda12ecfcf433495e15e7bf65861527586167 f1f8cfa4f7cb651b609e587f825607cb4b06fe5b08af876fd0154a434f9a5315"
|
|
|
|
# Inputstream Adaptive needs the unextracted tarball
|
|
skip_extraction="${_bento4_version}.tar.gz"
|
|
|
|
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
|