2019-07-09 18:16:27 +00:00
|
|
|
# Template file for 'rlottie'
|
|
|
|
pkgname=rlottie
|
2019-08-10 00:35:23 +00:00
|
|
|
_commit=33d4fca732943eb393c23b143e5783b463847193
|
|
|
|
version=0.0.20190809
|
2019-07-17 15:27:23 +00:00
|
|
|
revision=2
|
2019-07-09 18:16:27 +00:00
|
|
|
wrksrc="rlottie-${_commit}"
|
|
|
|
build_style=cmake
|
2019-07-17 15:27:23 +00:00
|
|
|
configure_args="-DLOTTIE_CACHE=OFF"
|
2019-07-09 18:16:27 +00:00
|
|
|
short_desc="Platform independent standalone library that plays Lottie Animation"
|
|
|
|
maintainer="John <johnz@posteo.net>"
|
|
|
|
license="LGPL-2.1-or-later, FTL, MIT, JSON, BSD-3-Clause"
|
|
|
|
homepage="https://github.com/Samsung/rlottie"
|
|
|
|
distfiles="https://github.com/Samsung/rlottie/archive/${_commit}.tar.gz"
|
2019-08-10 00:35:23 +00:00
|
|
|
checksum=1cf21762b983e5edf71ca4b487a1af4a9e6e127c1c7c1bec95b886022c96ff7f
|
|
|
|
|
|
|
|
post_patch() {
|
|
|
|
vsed -e 's/c++14/c++17/g' -i CMakeLists.txt
|
|
|
|
}
|
2019-07-09 18:16:27 +00:00
|
|
|
|
|
|
|
post_install() {
|
|
|
|
vlicense licenses/COPYING.PIX
|
|
|
|
vlicense licenses/COPYING.RPD
|
|
|
|
vlicense licenses/COPYING.STB
|
|
|
|
}
|
|
|
|
|
|
|
|
rlottie-devel_package() {
|
|
|
|
depends="${sourcepkg}>=${version}_${revision}"
|
|
|
|
short_desc+=" - development files"
|
|
|
|
pkg_install() {
|
|
|
|
vmove usr/include
|
|
|
|
vmove usr/lib/cmake
|
|
|
|
vmove usr/lib/pkgconfig
|
|
|
|
vmove usr/lib/librlottie.so
|
|
|
|
}
|
|
|
|
}
|