void-packages/srcpkgs/kodi-addon-peripheral-joystick/template

20 lines
866 B
Bash

# Template file for 'kodi-addon-peripheral-joystick'
pkgname=kodi-addon-peripheral-joystick
version=1.7.1
revision=2
_kodi_release="Matrix"
wrksrc="peripheral.joystick-${version}-${_kodi_release}"
build_style=cmake
makedepends="kodi-devel kodi-platform-devel p8-platform-devel
eudev-libudev-devel tinyxml-devel"
short_desc="Kodi joystick support (drivers and button maps)"
maintainer="Orphaned <orphan@voidlinux.org>"
license="GPL-2.0-or-later"
homepage="https://github.com/xbmc/peripheral.joystick"
distfiles="https://github.com/xbmc/peripheral.joystick/archive/${version}-${_kodi_release}.tar.gz"
checksum=4dc63c6c5bdad25881eeba800765d97c53b2583addf28e71bbcd67775452ecdb
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