1 |
commit: 9e2a1f06335e649e850ad62949558f9d75f29aff |
2 |
Author: Joonas Niilola <juippis <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Apr 29 16:56:23 2020 +0000 |
4 |
Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Apr 29 17:04:46 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9e2a1f06 |
7 |
|
8 |
media-libs/rlottie: 2020-04-24 snapshot |
9 |
|
10 |
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org> |
11 |
|
12 |
media-libs/rlottie/Manifest | 1 + |
13 |
.../rlottie/rlottie-0.0.1_pre20200424.ebuild | 45 ++++++++++++++++++++++ |
14 |
2 files changed, 46 insertions(+) |
15 |
|
16 |
diff --git a/media-libs/rlottie/Manifest b/media-libs/rlottie/Manifest |
17 |
index bcbbad8fb3b..de36b1952dd 100644 |
18 |
--- a/media-libs/rlottie/Manifest |
19 |
+++ b/media-libs/rlottie/Manifest |
20 |
@@ -1 +1,2 @@ |
21 |
DIST rlottie-0.0.1_pre20200110.tar.gz 3370396 BLAKE2B 02a51e6f24a83967ccbf085e0c28400e23057c833e4849db3f749d30a3ccb4ade2d4e0a8ea624da7ba0148bc84013ca4df963f01fc75ed4156ab8dc36bda6945 SHA512 e78470254ab7b9653dcd95037001a1763f4229bdc611f4631943f302b20739a6e4b519d54c967c1ecd7bcc4b555bb8f651af0bceebc04cc9ea41789360b49af4 |
22 |
+DIST rlottie-0.0.1_pre20200424.tar.gz 3371620 BLAKE2B cdfc89f66e7aec736029416decf76777f22b4cb8293bed74e647088480faed4c6ffd03a29a967ac532f9e747858fdd93fa552eb974085f7cf1701a12fe3a2c38 SHA512 1a05b835c083337a80b32ea8c1e201d1d2356c58e314b791f74f95504303f3ef46d3951abf2a7467daaeae462c1fe2cf793d9fb2402639b279ca6ea6367cdda7 |
23 |
|
24 |
diff --git a/media-libs/rlottie/rlottie-0.0.1_pre20200424.ebuild b/media-libs/rlottie/rlottie-0.0.1_pre20200424.ebuild |
25 |
new file mode 100644 |
26 |
index 00000000000..26b4f6d67e7 |
27 |
--- /dev/null |
28 |
+++ b/media-libs/rlottie/rlottie-0.0.1_pre20200424.ebuild |
29 |
@@ -0,0 +1,45 @@ |
30 |
+# Copyright 2019-2020 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="607998b9f7e03b05dceed8784207bd0b704f62d4" |
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 JSON 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 cache=true |
59 |
+ -D cmake=false |
60 |
+ -D dumptree=false |
61 |
+ -D example=false |
62 |
+ -D log=false |
63 |
+ -D module=true |
64 |
+ -D thread=true |
65 |
+ $(meson_use test) |
66 |
+ ) |
67 |
+ |
68 |
+ meson_src_configure |
69 |
+} |
70 |
+ |
71 |
+src_test() { |
72 |
+ cd "${BUILD_DIR}" || die "Failed to switch into BUILD_DIR." |
73 |
+ eninja test |
74 |
+} |