summaryrefslogtreecommitdiff
path: root/media-libs/rlottie
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2020-06-21 17:50:24 +0100
committerV3n3RiX <venerix@redcorelinux.org>2020-06-21 17:50:24 +0100
commitfeb0daf81d888e9160f9f94502de09b66f2a63fd (patch)
treeb6e5c40ce2abef3da27ed50a023153f475e0ddef /media-libs/rlottie
parent9452a6e87b6c2c70513bc47a2470bf9f1168920e (diff)
gentoo resync : 21.06.2020
Diffstat (limited to 'media-libs/rlottie')
-rw-r--r--media-libs/rlottie/Manifest5
-rw-r--r--media-libs/rlottie/files/rlottie-0.1-disable-werror.patch10
-rw-r--r--media-libs/rlottie/metadata.xml13
-rw-r--r--media-libs/rlottie/rlottie-0.1-r1.ebuild43
4 files changed, 70 insertions, 1 deletions
diff --git a/media-libs/rlottie/Manifest b/media-libs/rlottie/Manifest
index 14d029865713..0d57fe48bbdb 100644
--- a/media-libs/rlottie/Manifest
+++ b/media-libs/rlottie/Manifest
@@ -1,4 +1,7 @@
AUX rlottie-0.0.1_pre20190920-disable-werror.patch 420 BLAKE2B 3b3173c4514227de44f1f953678dcce871b3df07ccbb617d0f8a18763f66dadf584fdacd8eeb31a8391a5b8a8a1c00a05137790ad09662e093eb7888f8f0bb4d SHA512 893b5a658a63e8fe4f62e72e967d9e89eaef8184680c1b753fbc0c0893078bbf963967dd4dadff6a94150b7b15c0b6c7ee7cd54631b6874aa3cf3d21989746ed
+AUX rlottie-0.1-disable-werror.patch 381 BLAKE2B 26afddff05d0cfda88617473ec4affca4a721f081e393c31b409fc6a3e73efe73e4e661caf13aeaf5394f31533390b1439492e066ad19087d76b984b6304f421 SHA512 2363100f6b0ab09f3ad9ae46dd02dffd2a5ca2124ae1b4f3791c88b3b7563e9cafd68da4ee719f9460d781aab80b4a83f21f0d788db2eefa5cd9d2cab0ab69ce
DIST rlottie-0.0.1_pre20200424.tar.gz 3371620 BLAKE2B cdfc89f66e7aec736029416decf76777f22b4cb8293bed74e647088480faed4c6ffd03a29a967ac532f9e747858fdd93fa552eb974085f7cf1701a12fe3a2c38 SHA512 1a05b835c083337a80b32ea8c1e201d1d2356c58e314b791f74f95504303f3ef46d3951abf2a7467daaeae462c1fe2cf793d9fb2402639b279ca6ea6367cdda7
+DIST rlottie-0.1-1.tar.gz 3370181 BLAKE2B 7ba580af961f2af7b92c40b4640f8b515c21a354ef5e639c5f00b0ea26fd3e2929dbf2e926b58d39ad3f48228511ba42a42a24d4b7bb914389a7e43df810d667 SHA512 ab9b913d9e0bc938a878a6847851cd6965dc61efbf8ef71761b83d6ff577479cf0c0b214c36e58ddd6a29927a1954c3d3db9db427779b5a2d472c8962cd45ff1
EBUILD rlottie-0.0.1_pre20200424.ebuild 1009 BLAKE2B 8961c52e46ad05d16f96a04620373a950b8a6164b2dee685cda2079b96e466edfb5049c4f8f551f327b5a6f16d31ddb061aa88c8dfe3b6ced9e0f828b088cac0 SHA512 54bf08e1a2781a80b4c190bb0c86245dbc267a6d4bbd4e14e6bc83538c237819be1275737085ea25ae926d639397c26a7026ea93156649444a74f4ba42738ebd
-MISC metadata.xml 254 BLAKE2B 938f68b7b21ad386a35540a09e4bb956e241dfc963d4823c3c0cd46d3449ff4fb5a1cead67ad7c35a460503d30bdbde35822535f1c2d46f2939ee190f328b846 SHA512 26047ebb40fc49bfb4393121c5c5af69caee617a1d75676be84b0f5af75564828aeeef4503c7681eaaf7e48f6c662574874336296c18e002dca8e925162a1d4c
+EBUILD rlottie-0.1-r1.ebuild 938 BLAKE2B 81089ca22c2eecf141786f318bc3e9e0e695ffdc4ed813fe21a4d4aa797149140f1fb3112e6b62c5c20c390ecec2fa01ba35fffb316737dc22b966bfe31b4f2f SHA512 4ad3a001804d54da606f857a22350a82acb34479f0a937a8925c42fee361ea85897251879dfe8a03ef6bdaa286ca08dc78092ea9fefd70b40570b3935eaa94de
+MISC metadata.xml 901 BLAKE2B 0f2b146bafcbff57e44a91a21176114d15c9d81a076cc42f3d57e3849d1b3af3d46eb45bc74cf6e524679677b5394f440dc762c87ddc3652d0b754ebd62907b5 SHA512 f7e80a3946b2462a3718f508be57cdbbc3c85c632778b58393f467cfa5c4e80b96f3f264251d9fbb9ce4cf26e4907e534ee758c77661504f05f73577c4c06fab
diff --git a/media-libs/rlottie/files/rlottie-0.1-disable-werror.patch b/media-libs/rlottie/files/rlottie-0.1-disable-werror.patch
new file mode 100644
index 000000000000..55e50d63a553
--- /dev/null
+++ b/media-libs/rlottie/files/rlottie-0.1-disable-werror.patch
@@ -0,0 +1,10 @@
+--- a/meson.build 2020-06-19 08:49:20.511888022 +0300
++++ b/meson.build 2020-06-19 08:49:49.166640657 +0300
+@@ -1,6 +1,6 @@
+ project('rlottie',
+ 'cpp',
+- default_options : ['warning_level=3', 'werror=true', 'cpp_std=c++14', 'optimization=s'],
++ default_options : ['cpp_std=c++14', 'optimization=s'],
+ version : '0.1',
+ license : 'LGPL-v2.1')
+
diff --git a/media-libs/rlottie/metadata.xml b/media-libs/rlottie/metadata.xml
index 6b0a0fb3a729..be0ee7cd3352 100644
--- a/media-libs/rlottie/metadata.xml
+++ b/media-libs/rlottie/metadata.xml
@@ -5,4 +5,17 @@
<email>juippis@gentoo.org</email>
<name>Joonas Niilola</name>
</maintainer>
+ <longdescription>
+ rlottie is a platform independent standalone c++ library for rendering
+ vector based animations and art in realtime.
+
+ Lottie loads and renders animations and vectors exported in the bodymovin
+ JSON format. Bodymovin JSON can be created and exported from After Effects
+ with bodymovin, Sketch with Lottie Sketch Export, and from Haiku.
+
+ For the first time, designers can create and ship beautiful animations
+ without an engineer painstakingly recreating it by hand. Since the
+ animation is backed by JSON they are extremely small in size but can be
+ large in complexity!
+ </longdescription>
</pkgmetadata>
diff --git a/media-libs/rlottie/rlottie-0.1-r1.ebuild b/media-libs/rlottie/rlottie-0.1-r1.ebuild
new file mode 100644
index 000000000000..5aafb5241279
--- /dev/null
+++ b/media-libs/rlottie/rlottie-0.1-r1.ebuild
@@ -0,0 +1,43 @@
+# Copyright 2019-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit meson
+
+DESCRIPTION="A platform independent standalone library that plays Lottie Animations"
+HOMEPAGE="https://www.tizen.org/ https://github.com/Samsung/rlottie"
+SRC_URI="https://github.com/Samsung/rlottie/archive/v${PV}.tar.gz -> ${P}-1.tar.gz"
+
+LICENSE="BSD FTL JSON LGPL-2.1 MIT"
+SLOT="0/0.0.1"
+KEYWORDS="~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
+IUSE="debug examples test"
+
+RESTRICT="!test? ( test )"
+
+DEPEND="test? ( dev-cpp/gtest )"
+
+PATCHES=( "${FILESDIR}"/${P}-disable-werror.patch )
+
+src_configure() {
+ local emesonargs=(
+ -D cache=true
+ -D module=true
+ -D thread=true
+
+ -D cmake=false
+ -D example=false
+
+ $(meson_use debug dumptree)
+ $(meson_use debug log)
+ $(meson_use test)
+ )
+
+ meson_src_configure
+}
+
+src_test() {
+ cd "${BUILD_DIR}" || die "Failed to switch into BUILD_DIR."
+ eninja test
+}