26 lines
810 B
Bash
26 lines
810 B
Bash
|
# Template file for 'kodi-platform'
|
||
|
pkgname=kodi-platform
|
||
|
version=17.1.0
|
||
|
revision=1
|
||
|
build_style=cmake
|
||
|
configure_args="-DCMAKE_INSTALL_LIBDIR=/usr/lib"
|
||
|
makedepends="kodi-devel tinyxml-devel p8-platform-devel"
|
||
|
short_desc="Kodi platform support library"
|
||
|
maintainer="Helmut Pozimski <helmut@pozimski.eu>"
|
||
|
license="GPL-2.0-or-later"
|
||
|
homepage="https://github.com/xbmc/kodi-platform"
|
||
|
distfiles="https://github.com/xbmc/kodi-platform/archive/${version}.tar.gz"
|
||
|
checksum=39de7eb6db14de3fa33ca0e56243c3307e7598187e73ad930dabccdf068bd9b2
|
||
|
nocross="kodi cmake files use absolute paths"
|
||
|
|
||
|
kodi-platform-devel_package() {
|
||
|
short_desc+=" - development files"
|
||
|
depends="${sourcepkg}>=${version}_${revision}"
|
||
|
pkg_install() {
|
||
|
vmove usr/include
|
||
|
vmove usr/lib/pkgconfig
|
||
|
vmove "usr/lib/*.so"
|
||
|
vmove usr/lib/kodiplatform
|
||
|
}
|
||
|
}
|