Gentoo Archives: gentoo-commits

From: Joonas Niilola <juippis@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: media-libs/rlottie/
Date: Sat, 14 Dec 2019 08:06:56
Message-Id: 1576310541.66e15017a2448fbcaa52fb062c1d422d0afe4c97.juippis@gentoo
1 commit: 66e15017a2448fbcaa52fb062c1d422d0afe4c97
2 Author: Joonas Niilola <juippis <AT> gentoo <DOT> org>
3 AuthorDate: Sat Dec 14 08:02:21 2019 +0000
4 Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org>
5 CommitDate: Sat Dec 14 08:02:21 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=66e15017
7
8 media-libs/rlottie: bump to 0.0.1_pre20191214
9
10 Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>
11
12 media-libs/rlottie/Manifest | 1 +
13 .../rlottie/rlottie-0.0.1_pre20191214.ebuild | 39 ++++++++++++++++++++++
14 2 files changed, 40 insertions(+)
15
16 diff --git a/media-libs/rlottie/Manifest b/media-libs/rlottie/Manifest
17 index 25905d273b6..f7aa93cb495 100644
18 --- a/media-libs/rlottie/Manifest
19 +++ b/media-libs/rlottie/Manifest
20 @@ -1 +1,2 @@
21 DIST rlottie-0.0.1_pre20191101.tar.gz 7896379 BLAKE2B 2361415074af71340c80b91595edab0b53e85ce704400ba5574e1efc19e6bc2cd7dff8b0e2d32b9f0666889c4d8bd2abbffa943f551b4ee3e4787aa94cfbbe01 SHA512 c4c4dae0f0da4d0bd4b3ea63066335794111f1bd4a33f8844494b9b9e79de46cd994b5e9d185b175cba19d1665ef1fdb0d89babfd71cf7dd0fbf0535ba83ab96
22 +DIST rlottie-0.0.1_pre20191214.tar.gz 7898743 BLAKE2B 16f2456d60ebb2e81cca7017e9f8f32f137cc0b9e94f023b9b85c47354fdf07fed3ad8c07d9236560784866a3585f19d768e25655f5807ce89f40895141ca67f SHA512 f8876b1660c531a20e2b54523c93c2cae9a7f53b516707ae614369b6ecddd9281ed672bd27398829f02b55eb20e59dce7a5cb93104026df11690a18a3caadafc
23
24 diff --git a/media-libs/rlottie/rlottie-0.0.1_pre20191214.ebuild b/media-libs/rlottie/rlottie-0.0.1_pre20191214.ebuild
25 new file mode 100644
26 index 00000000000..df2d12389f4
27 --- /dev/null
28 +++ b/media-libs/rlottie/rlottie-0.0.1_pre20191214.ebuild
29 @@ -0,0 +1,39 @@
30 +# Copyright 2019 Gentoo Authors
31 +# Distributed under the terms of the GNU General Public License v2
32 +
33 +EAPI=7
34 +
35 +inherit meson
36 +
37 +MY_COMMIT="87f485e2247925ceaead99c4bca997e4c44e3a20"
38 +
39 +DESCRIPTION="A platform independent standalone library that plays Lottie Animations"
40 +HOMEPAGE="https://www.tizen.org/ https://github.com/Samsung/rlottie"
41 +SRC_URI="https://github.com/Samsung/rlottie/archive/${MY_COMMIT}.tar.gz -> ${P}.tar.gz"
42 +
43 +LICENSE="BSD FTL LGPL-2.1 MIT"
44 +SLOT="0"
45 +KEYWORDS="~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
46 +IUSE="test"
47 +
48 +RESTRICT="!test? ( test )"
49 +
50 +DEPEND="test? ( dev-cpp/gtest )"
51 +
52 +S="${WORKDIR}/rlottie-${MY_COMMIT}"
53 +
54 +PATCHES=( "${FILESDIR}"/rlottie-0.0.1_pre20190920-disable-werror.patch )
55 +
56 +src_configure() {
57 + local emesonargs=(
58 + -D example=false
59 + $(meson_use test)
60 + )
61 +
62 + meson_src_configure
63 +}
64 +
65 +src_test() {
66 + cd "${BUILD_DIR}" || die "Failed to switch into BUILD_DIR."
67 + eninja test
68 +}