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

22 lines
853 B
Bash

# Template file for 'kodi-addon-pvr-iptvsimple'
pkgname=kodi-addon-pvr-iptvsimple
version=7.5.0
revision=2
_kodi_release=Matrix
wrksrc="pvr.iptvsimple-${version}-${_kodi_release}"
build_style=cmake
hostmakedepends="pkg-config"
makedepends="kodi-devel kodi-platform-devel p8-platform-devel pugixml-devel
zlib-devel"
short_desc="IPTV Simple client addon for Kodi"
maintainer="Orphaned <orphan@voidlinux.org>"
license="GPL-2.0-or-later"
homepage="https://github.com/kodi-pvr/pvr.iptvsimple"
distfiles="https://github.com/kodi-pvr/pvr.iptvsimple/archive/${version}-${_kodi_release}.tar.gz"
checksum=1cbe623e1eec0246c782398d8a8964d26b0fa68966c7f1422666068e50fb4e00
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