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

20 lines
766 B
Bash

# Template file for 'kodi-addon-vfs-rar'
pkgname=kodi-addon-vfs-rar
version=4.0.0
revision=2
_kodi_release=Matrix
wrksrc="vfs.rar-${version}-${_kodi_release}"
build_style=cmake
makedepends="kodi-devel kodi-platform p8-platform-devel tinyxml-devel pkg-config"
short_desc="RAR VFS addon for Kodi"
maintainer="Kai Stian Olstad <void@olstad.com>"
license="GPL-2.0-or-later"
homepage="https://github.com/xbmc/vfs.rar"
distfiles="https://github.com/xbmc/vfs.rar/archive/${version}-${_kodi_release}.tar.gz"
checksum=1111d1f90cc4addc2adb0884b779f4b47e30abb2766ba1708053e5f100b514bf
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