void-packages/srcpkgs/rlottie/template
John 3259897dc1 rlottie: disable caching
having caching enabled breaks animated stickers in telegram-desktop
2019-07-18 15:09:17 +02:00

31 lines
922 B
Bash

# Template file for 'rlottie'
pkgname=rlottie
_commit=9be18fbd4047467495af5bd6d83f5b91bc063ea2
version=0.0.20160709
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=d34b3f6acc224a494fae7f2c6c9c231f26652ee50d1493f12a577ce33eff21d3
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
}
}