commit:     266ce0e3418e9cd7bc656cb898729d41d5e11509
Author:     Anna (cybertailor) Vyalkova <cyber+gentoo <AT> sysrq <DOT> in>
AuthorDate: Fri Aug  9 00:08:33 2024 +0000
Commit:     Anna Vyalkova <cyber+gentoo <AT> sysrq <DOT> in>
CommitDate: Fri Aug  9 00:08:33 2024 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=266ce0e3

dev-util/lottieconverter: add missing deps

Closes: https://bugs.gentoo.org/932402
Signed-off-by: Anna (cybertailor) Vyalkova <cyber+gentoo <AT> sysrq.in>

 .../lottieconverter/lottieconverter-0.2-r1.ebuild  | 37 ++++++++++++++++++++++
 1 file changed, 37 insertions(+)

diff --git a/dev-util/lottieconverter/lottieconverter-0.2-r1.ebuild 
b/dev-util/lottieconverter/lottieconverter-0.2-r1.ebuild
new file mode 100644
index 000000000..188924a48
--- /dev/null
+++ b/dev-util/lottieconverter/lottieconverter-0.2-r1.ebuild
@@ -0,0 +1,37 @@
+# Copyright 2023-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit cmake
+
+DESCRIPTION="Simple lottie (telegram animated sticker) converter"
+HOMEPAGE="https://github.com/sot-tech/LottieConverter";
+SRC_URI="https://github.com/sot-tech/${PN}/archive/refs/tags/r${PV}.tar.gz -> 
${P}.tar.gz"
+S="${WORKDIR}/LottieConverter-r${PV}"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc64"
+
+DEPEND="
+       media-libs/giflib:=
+       media-libs/libpng:=
+       media-libs/rlottie:=
+       sys-libs/zlib:=
+"
+RDEPEND="${DEPEND}"
+
+src_configure() {
+       local mycmakeargs=(
+               -DSYSTEM_PNG=ON
+               -DSYSTEM_RL=ON
+               -DSYSTEM_GL=ON
+       )
+       cmake_src_configure
+}
+
+src_install() {
+       dobin "${BUILD_DIR}"/lottieconverter
+       einstalldocs
+}

Reply via email to