void-packages/srcpkgs/kodi-addon-vfs-sftp/template

21 lines
806 B
Bash

# Template file for 'kodi-addon-vfs-sftp'
pkgname=kodi-addon-vfs-sftp
version=2.0.0
revision=2
_kodi_release=Matrix
wrksrc="vfs.sftp-${version}-${_kodi_release}"
build_style=cmake
hostmakedepends="pkg-config"
makedepends="kodi-devel kodi-platform p8-platform-devel openssl-devel libssh-devel zlib-devel"
short_desc="VFS SFTP addon for Kodi"
maintainer="Foxlet <foxlet@furcode.co>"
license="GPL-2.0-or-later"
homepage="https://github.com/xbmc/vfs.sftp"
distfiles="https://github.com/xbmc/vfs.sftp/archive/${version}-${_kodi_release}.tar.gz"
checksum=b15c5dde7b3aadb3e82e61cb9b0440812b6c2f65b38c6c25aef726f97e746f68
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