void-packages/srcpkgs/kodi-addon-pvr-hts/template

23 lines
804 B
Bash

# Template file for 'kodi-addon-pvr-hts'
pkgname=kodi-addon-pvr-hts
version=19.0.6
revision=1
_kodi_release=Matrix
build_style=cmake
makedepends="kodi-devel kodi-platform-devel p8-platform-devel"
short_desc="Tvheadend HTSP client addon for Kodi"
maintainer="Orphaned <orphan@voidlinux.org>"
license="GPL-2.0-or-later"
homepage="https://github.com/kodi-pvr/pvr.hts"
distfiles="https://github.com/kodi-pvr/pvr.hts/archive/${version}-${_kodi_release}.tar.gz"
checksum=990e5fd0757d48b86675aa124b77629e7fb2de6b27dcfd6f6ccc7ce181d04aeb
if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
makedepends+=" musl-legacy-compat"
fi
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