23 lines
848 B
Bash
23 lines
848 B
Bash
# Template file for 'kodi-addon-pvr-hts'
|
|
pkgname=kodi-addon-pvr-hts
|
|
version=8.2.3
|
|
revision=2
|
|
_kodi_release=Matrix
|
|
wrksrc="pvr.hts-${version}-${_kodi_release}"
|
|
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=bdaf63945d6552bead5a6e8ba4ffe1b8057e3b0c05b52c0fbf93a7834f652330
|
|
|
|
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
|