35 lines
985 B
Bash
35 lines
985 B
Bash
# Template file for 'rlottie'
|
|
pkgname=rlottie
|
|
_commit=71dfd5c3ba206cad9d73e3c249dd7d22f4f65b98
|
|
version=0.0.20191002
|
|
revision=2
|
|
wrksrc="rlottie-${_commit}"
|
|
build_style=cmake
|
|
configure_args="-DLOTTIE_CACHE=OFF"
|
|
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"
|
|
checksum=df064c381ade4fce143e5d7ee27771bbf7bc2218ac7a32afe3f49036ddcba422
|
|
|
|
post_patch() {
|
|
vsed -e 's/c++14/c++17/g' -i CMakeLists.txt
|
|
}
|
|
|
|
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
|
|
}
|
|
}
|