void-packages/srcpkgs/kodi-addon-inputstream-rtmp/template

21 lines
829 B
Bash

# Template file for 'kodi-addon-inputstream-rtmp'
pkgname=kodi-addon-inputstream-rtmp
version=21.1.0
revision=1
_kodi_release=Omega
build_style=cmake
hostmakedepends="pkg-config"
makedepends="kodi-devel kodi-platform-devel p8-platform-devel tinyxml-devel
openssl-devel zlib-devel librtmp-devel"
short_desc="RTMP input stream add-on for Kodi"
maintainer="Orphaned <orphan@voidlinux.org>"
license="GPL-2.0-or-later"
homepage="https://github.com/xbmc/inputstream.rtmp"
distfiles="https://github.com/xbmc/inputstream.rtmp/archive/${version}-${_kodi_release}.tar.gz"
checksum=193fabb14cd9d92baecf7319c50ba183bc6254385bf187fe2a726159134df2a9
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