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