mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-13 18:43:51 +02:00
rlottie: clear JSON license mention
The tarball never contains any non-free JSON licensed code.
This commit is contained in:
parent
dbd6d0fd9b
commit
cd86abd8be
1 changed files with 6 additions and 2 deletions
|
@ -2,19 +2,23 @@
|
||||||
pkgname=rlottie
|
pkgname=rlottie
|
||||||
_commit=f6fc61f214945ac9961ba49fdfc9a3d3336e999b
|
_commit=f6fc61f214945ac9961ba49fdfc9a3d3336e999b
|
||||||
version=0.0.20200110
|
version=0.0.20200110
|
||||||
revision=1
|
revision=2
|
||||||
wrksrc="rlottie-${_commit}"
|
wrksrc="rlottie-${_commit}"
|
||||||
build_style=cmake
|
build_style=cmake
|
||||||
configure_args="-DLOTTIE_CACHE=OFF"
|
configure_args="-DLOTTIE_CACHE=OFF"
|
||||||
short_desc="Platform independent standalone library that plays Lottie Animation"
|
short_desc="Platform independent standalone library that plays Lottie Animation"
|
||||||
maintainer="John <me@johnnynator.dev>"
|
maintainer="John <me@johnnynator.dev>"
|
||||||
license="LGPL-2.1-or-later, FTL, MIT, JSON, BSD-3-Clause"
|
license="LGPL-2.1-or-later, FTL, MIT, BSD-3-Clause"
|
||||||
homepage="https://github.com/Samsung/rlottie"
|
homepage="https://github.com/Samsung/rlottie"
|
||||||
distfiles="https://github.com/Samsung/rlottie/archive/${_commit}.tar.gz"
|
distfiles="https://github.com/Samsung/rlottie/archive/${_commit}.tar.gz"
|
||||||
checksum=399bb06d8d2120f794eff8bc3e4cbbee13b9f22abcfd9f3f746f595d43ea0b42
|
checksum=399bb06d8d2120f794eff8bc3e4cbbee13b9f22abcfd9f3f746f595d43ea0b42
|
||||||
|
|
||||||
post_patch() {
|
post_patch() {
|
||||||
vsed -e 's/c++14/c++17/g' -i CMakeLists.txt
|
vsed -e 's/c++14/c++17/g' -i CMakeLists.txt
|
||||||
|
# No JSON licensed source code included
|
||||||
|
vsed -i licenses/COPYING.RPD \
|
||||||
|
-e 's/To avoid the problematic JSON.*//' \
|
||||||
|
-e '/Under the JSON License/,/OTHER DEALINGS IN THE SOFTWARE/d'
|
||||||
}
|
}
|
||||||
|
|
||||||
post_install() {
|
post_install() {
|
||||||
|
|
Loading…
Add table
Reference in a new issue