From: Joonas Niilola Date: Sat, 14 Dec 2019 08:02:21 +0000 (+0200) Subject: media-libs/rlottie: bump to 0.0.1_pre20191214 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=66e15017a2448fbcaa52fb062c1d422d0afe4c97;p=gentoo.git media-libs/rlottie: bump to 0.0.1_pre20191214 Signed-off-by: Joonas Niilola --- diff --git a/media-libs/rlottie/Manifest b/media-libs/rlottie/Manifest index 25905d273b69..f7aa93cb4958 100644 --- a/media-libs/rlottie/Manifest +++ b/media-libs/rlottie/Manifest @@ -1 +1,2 @@ DIST rlottie-0.0.1_pre20191101.tar.gz 7896379 BLAKE2B 2361415074af71340c80b91595edab0b53e85ce704400ba5574e1efc19e6bc2cd7dff8b0e2d32b9f0666889c4d8bd2abbffa943f551b4ee3e4787aa94cfbbe01 SHA512 c4c4dae0f0da4d0bd4b3ea63066335794111f1bd4a33f8844494b9b9e79de46cd994b5e9d185b175cba19d1665ef1fdb0d89babfd71cf7dd0fbf0535ba83ab96 +DIST rlottie-0.0.1_pre20191214.tar.gz 7898743 BLAKE2B 16f2456d60ebb2e81cca7017e9f8f32f137cc0b9e94f023b9b85c47354fdf07fed3ad8c07d9236560784866a3585f19d768e25655f5807ce89f40895141ca67f SHA512 f8876b1660c531a20e2b54523c93c2cae9a7f53b516707ae614369b6ecddd9281ed672bd27398829f02b55eb20e59dce7a5cb93104026df11690a18a3caadafc diff --git a/media-libs/rlottie/rlottie-0.0.1_pre20191214.ebuild b/media-libs/rlottie/rlottie-0.0.1_pre20191214.ebuild new file mode 100644 index 000000000000..df2d12389f47 --- /dev/null +++ b/media-libs/rlottie/rlottie-0.0.1_pre20191214.ebuild @@ -0,0 +1,39 @@ +# Copyright 2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit meson + +MY_COMMIT="87f485e2247925ceaead99c4bca997e4c44e3a20" + +DESCRIPTION="A platform independent standalone library that plays Lottie Animations" +HOMEPAGE="https://www.tizen.org/ https://github.com/Samsung/rlottie" +SRC_URI="https://github.com/Samsung/rlottie/archive/${MY_COMMIT}.tar.gz -> ${P}.tar.gz" + +LICENSE="BSD FTL LGPL-2.1 MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86" +IUSE="test" + +RESTRICT="!test? ( test )" + +DEPEND="test? ( dev-cpp/gtest )" + +S="${WORKDIR}/rlottie-${MY_COMMIT}" + +PATCHES=( "${FILESDIR}"/rlottie-0.0.1_pre20190920-disable-werror.patch ) + +src_configure() { + local emesonargs=( + -D example=false + $(meson_use test) + ) + + meson_src_configure +} + +src_test() { + cd "${BUILD_DIR}" || die "Failed to switch into BUILD_DIR." + eninja test +}