From 6ec19c7f1bc4aa70e5f8a86cd29d579a95d97035 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sat, 18 Jan 2020 18:58:09 +0000 Subject: gentoo resync : 18.01.2020 --- .../rlottie/rlottie-0.0.1_pre20200110.ebuild | 39 ++++++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 media-libs/rlottie/rlottie-0.0.1_pre20200110.ebuild (limited to 'media-libs/rlottie/rlottie-0.0.1_pre20200110.ebuild') diff --git a/media-libs/rlottie/rlottie-0.0.1_pre20200110.ebuild b/media-libs/rlottie/rlottie-0.0.1_pre20200110.ebuild new file mode 100644 index 000000000000..50f5ab3f029d --- /dev/null +++ b/media-libs/rlottie/rlottie-0.0.1_pre20200110.ebuild @@ -0,0 +1,39 @@ +# Copyright 2019-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit meson + +MY_COMMIT="f6fc61f214945ac9961ba49fdfc9a3d3336e999b" + +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/${MY_COMMIT}.tar.gz -> ${P}.tar.gz" + +LICENSE="BSD FTL JSON LGPL-2.1 MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86" +IUSE="test" + +RESTRICT="!test? ( test )" + +DEPEND="test? ( dev-cpp/gtest )" + +S="${WORKDIR}/rlottie-${MY_COMMIT}" + +PATCHES=( "${FILESDIR}"/rlottie-0.0.1_pre20190920-disable-werror.patch ) + +src_configure() { + local emesonargs=( + -D example=false + $(meson_use test) + ) + + meson_src_configure +} + +src_test() { + cd "${BUILD_DIR}" || die "Failed to switch into BUILD_DIR." + eninja test +} -- cgit v1.2.3