# Contributor: Damian Kurek # Maintainer: Damian Kurek pkgname=kodi-inputstream-rtmp pkgver=20.3.0 _realname=Nexus pkgrel=1 pkgdesc="RTMP input stream add-on for Kodi" options="!check" # no test suite url="https://github.com/xbmc/inputstream.rtmp" arch="x86_64 aarch64 armv7" # kodi is available only on these architectures license="GPL-2.0-only" makedepends="cmake rtmpdump-dev kodi-dev samurai" source="$pkgname-$pkgver-$_realname.tar.gz::https://github.com/xbmc/inputstream.rtmp/archive/$pkgver-$_realname.tar.gz" builddir="$srcdir/inputstream.rtmp-$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=" 4c70d3df184eae19e359460560257012fece6cbd571d9a27c01f0dbdff84f1ce12b88527a1797cdc3c2a12e39edb92a7a82dd1cfd5721b553290a295733df9f6 kodi-inputstream-rtmp-20.3.0-Nexus.tar.gz "