void-packages/srcpkgs/kodi-addon-inputstream-adap.../template

21 lines
867 B
Bash

# Template file for 'kodi-addon-inputstream-adaptive'
pkgname=kodi-addon-inputstream-adaptive
version=2.6.7
revision=2
_kodi_release=Matrix
wrksrc="inputstream.adaptive-${version}-${_kodi_release}"
build_style=cmake
makedepends="kodi-devel kodi-platform-devel p8-platform-devel tinyxml-devel
expat-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"
checksum=353207f5f98bf81ce8d79cec903c28da8c0227d7c7a632692c910d81e59c2dbe
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