1 |
commit: c87110aac367a9d3725fbd234e086bb53b2c5d66 |
2 |
Author: Joonas Niilola <juippis <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Aug 19 12:44:12 2020 +0000 |
4 |
Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Aug 19 12:45:20 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c87110aa |
7 |
|
8 |
media-libs/rlottie: bump to 0.2 |
9 |
|
10 |
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org> |
11 |
|
12 |
media-libs/rlottie/Manifest | 1 + |
13 |
media-libs/rlottie/rlottie-0.2.ebuild | 41 +++++++++++++++++++++++++++++++++++ |
14 |
2 files changed, 42 insertions(+) |
15 |
|
16 |
diff --git a/media-libs/rlottie/Manifest b/media-libs/rlottie/Manifest |
17 |
index 585d07e8264..ef50438978f 100644 |
18 |
--- a/media-libs/rlottie/Manifest |
19 |
+++ b/media-libs/rlottie/Manifest |
20 |
@@ -1 +1,2 @@ |
21 |
DIST rlottie-0.1-1.tar.gz 3370181 BLAKE2B 7ba580af961f2af7b92c40b4640f8b515c21a354ef5e639c5f00b0ea26fd3e2929dbf2e926b58d39ad3f48228511ba42a42a24d4b7bb914389a7e43df810d667 SHA512 ab9b913d9e0bc938a878a6847851cd6965dc61efbf8ef71761b83d6ff577479cf0c0b214c36e58ddd6a29927a1954c3d3db9db427779b5a2d472c8962cd45ff1 |
22 |
+DIST rlottie-0.2-1.tar.gz 3516947 BLAKE2B d5f6b643c910e0b831be223be4fcff3d42cde8239b01d413f2805eeccf2665abfbd209ee6877358c2434d3bc82ea7c5b3849f4dca1d0796436e47ffa6bcfed64 SHA512 1f645ae998ddbe83e4911addf28ec24ae3ff33f6439a9fb6c1e56986b46ac17dba155773ab02a59712e781febb31709a99075a3fbcda6136a0cb43dbd7c753de |
23 |
|
24 |
diff --git a/media-libs/rlottie/rlottie-0.2.ebuild b/media-libs/rlottie/rlottie-0.2.ebuild |
25 |
new file mode 100644 |
26 |
index 00000000000..c5da30c238e |
27 |
--- /dev/null |
28 |
+++ b/media-libs/rlottie/rlottie-0.2.ebuild |
29 |
@@ -0,0 +1,41 @@ |
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 |
+DESCRIPTION="A platform independent standalone library that plays Lottie Animations" |
38 |
+HOMEPAGE="https://www.tizen.org/ https://github.com/Samsung/rlottie" |
39 |
+SRC_URI="https://github.com/Samsung/rlottie/archive/v${PV}.tar.gz -> ${P}-1.tar.gz" |
40 |
+ |
41 |
+LICENSE="BSD FTL JSON MIT" |
42 |
+SLOT="0/0.2" |
43 |
+KEYWORDS="~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86" |
44 |
+IUSE="debug examples test" |
45 |
+ |
46 |
+RESTRICT="!test? ( test )" |
47 |
+ |
48 |
+DEPEND="test? ( dev-cpp/gtest )" |
49 |
+ |
50 |
+src_configure() { |
51 |
+ local emesonargs=( |
52 |
+ -D cache=true |
53 |
+ -D module=true |
54 |
+ -D thread=true |
55 |
+ |
56 |
+ -D cmake=false |
57 |
+ -D example=false |
58 |
+ |
59 |
+ $(meson_use debug dumptree) |
60 |
+ $(meson_use debug log) |
61 |
+ $(meson_use test) |
62 |
+ ) |
63 |
+ |
64 |
+ meson_src_configure |
65 |
+} |
66 |
+ |
67 |
+src_test() { |
68 |
+ cd "${BUILD_DIR}" || die "Failed to switch into BUILD_DIR." |
69 |
+ eninja test |
70 |
+} |