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

22 lines
883 B
Bash

# Template file for 'kodi-addon-inputstream-rtmp'
pkgname=kodi-addon-inputstream-rtmp
version=3.4.0
revision=2
_kodi_release=Matrix
wrksrc="inputstream.rtmp-${version}-${_kodi_release}"
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=efaaa9b07c18810582a3826df476fc36a2aac82be7512271545073c3f6cc0212
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