# Contributor: Damian Kurek # Maintainer: Damian Kurek pkgname=kodi-pvr-hts pkgver=20.6.2 _realname=Nexus pkgrel=1 pkgdesc="Kodi's Tvheadend HTSP client addon" options="!check" # no test suite url="https://github.com/kodi-pvr/pvr.hts" arch="x86_64 aarch64 armv7" # kodi is available only on these architectures license="GPL-2.0-only" makedepends="cmake kodi-dev samurai" source="$pkgname-$pkgver-$_realname.tar.gz::https://github.com/kodi-pvr/pvr.hts/archive/$pkgver-$_realname.tar.gz ctime.patch " builddir="$srcdir/pvr.hts-$pkgver-$_realname" build() { cmake -B build -G Ninja \ -DCMAKE_BUILD_TYPE=None \ -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_MODULE_PATH=/usr/lib/cmake/kodi cmake --build build } package() { DESTDIR="$pkgdir" cmake --install build } sha512sums=" 8213b2d061abc3eeb8253426c37425826ed00450e43cc1561d154311b19d5280190e3ad09666cb01134a72ac02956395a56a36e78eb97c88f88cb8ded7eaad2f kodi-pvr-hts-20.6.2-Nexus.tar.gz e5171f4fd01488e569caff1c4854f99af7201c9eaf5548f636aa0698b45ec062e1004c30bca165e93af9e232ae96875a41bc84f8cfc6a95ee2b8ce1085baa4c7 ctime.patch "