1 |
commit: 42873c46b7ed07d5b4f8af5fcf08d8549cb6385b |
2 |
Author: Joonas Niilola <juippis <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Sep 21 07:31:00 2019 +0000 |
4 |
Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Sep 21 07:31:19 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=42873c46 |
7 |
|
8 |
dev-libs/rlottie: new package |
9 |
|
10 |
- A platform independent standalone c++ library for rendering vector |
11 |
based animations and art in realtime. |
12 |
|
13 |
Package-Manager: Portage-2.3.76, Repoman-2.3.17 |
14 |
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org> |
15 |
|
16 |
dev-libs/rlottie/Manifest | 1 + |
17 |
dev-libs/rlottie/metadata.xml | 8 +++++ |
18 |
dev-libs/rlottie/rlottie-0.0.1_pre20190920.ebuild | 36 +++++++++++++++++++++++ |
19 |
3 files changed, 45 insertions(+) |
20 |
|
21 |
diff --git a/dev-libs/rlottie/Manifest b/dev-libs/rlottie/Manifest |
22 |
new file mode 100644 |
23 |
index 00000000000..0a8e05f4f99 |
24 |
--- /dev/null |
25 |
+++ b/dev-libs/rlottie/Manifest |
26 |
@@ -0,0 +1 @@ |
27 |
+DIST rlottie-0.0.1_pre20190920.tar.gz 7891127 BLAKE2B bc9e37e74f21f681fffae3e6140662782ebce7bee58c4205cdb9f927f5246aedc83efc516adecf6c61fb5fc06aff58d1c65bfe3cca18d02bf4e9f2d71890869e SHA512 8d903e877cb83fd0af8cb7b6dd96e09a423201c0b88b2c8c733e54bb873a7b48377e5eb8eeefa620e284c2d1b61fcfe0aa309d180c88428aaccdb0f1ac4a48ed |
28 |
|
29 |
diff --git a/dev-libs/rlottie/metadata.xml b/dev-libs/rlottie/metadata.xml |
30 |
new file mode 100644 |
31 |
index 00000000000..6b0a0fb3a72 |
32 |
--- /dev/null |
33 |
+++ b/dev-libs/rlottie/metadata.xml |
34 |
@@ -0,0 +1,8 @@ |
35 |
+<?xml version="1.0" encoding="UTF-8"?> |
36 |
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
37 |
+<pkgmetadata> |
38 |
+ <maintainer type="person"> |
39 |
+ <email>juippis@g.o</email> |
40 |
+ <name>Joonas Niilola</name> |
41 |
+ </maintainer> |
42 |
+</pkgmetadata> |
43 |
|
44 |
diff --git a/dev-libs/rlottie/rlottie-0.0.1_pre20190920.ebuild b/dev-libs/rlottie/rlottie-0.0.1_pre20190920.ebuild |
45 |
new file mode 100644 |
46 |
index 00000000000..91fc1181639 |
47 |
--- /dev/null |
48 |
+++ b/dev-libs/rlottie/rlottie-0.0.1_pre20190920.ebuild |
49 |
@@ -0,0 +1,36 @@ |
50 |
+# Copyright 2019 Gentoo Authors |
51 |
+# Distributed under the terms of the GNU General Public License v2 |
52 |
+ |
53 |
+EAPI=7 |
54 |
+ |
55 |
+inherit meson |
56 |
+ |
57 |
+MY_COMMIT="93dd5305d9f5d2270a873c9c565b6931439fd11f" |
58 |
+ |
59 |
+DESCRIPTION="A platform independent standalone library that plays Lottie Animations" |
60 |
+HOMEPAGE="https://www.tizen.org/ https://github.com/Samsung/rlottie" |
61 |
+SRC_URI="https://github.com/Samsung/rlottie/archive/${MY_COMMIT}.tar.gz -> ${P}.tar.gz" |
62 |
+ |
63 |
+LICENSE="BSD FTL LGPL-2.1 MIT" |
64 |
+SLOT="0" |
65 |
+KEYWORDS="~amd64 ~x86" |
66 |
+IUSE="test" |
67 |
+ |
68 |
+RESTRICT="!test? ( test )" |
69 |
+ |
70 |
+DEPEND="test? ( dev-cpp/gtest )" |
71 |
+ |
72 |
+S="${WORKDIR}/rlottie-${MY_COMMIT}" |
73 |
+ |
74 |
+src_configure() { |
75 |
+ local emesonargs=( |
76 |
+ $(meson_use test) |
77 |
+ ) |
78 |
+ |
79 |
+ meson_src_configure |
80 |
+} |
81 |
+ |
82 |
+src_test() { |
83 |
+ cd "${BUILD_DIR}" || die "Failed to switch into BUILD_DIR." |
84 |
+ eninja test |
85 |
+} |