commit: 0eda4d43fd098c6dad9ac0469a4150f3fce07d38 Author: Richard-Rogalski <rrogalski <AT> tutanota <DOT> com> AuthorDate: Fri Jul 14 00:24:08 2023 +0000 Commit: Richard Rogalski <rrogalski <AT> tutanota <DOT> com> CommitDate: Fri Jul 14 01:20:31 2023 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=0eda4d43
dev-util/lottieconverter-0.2 : new package This package convers lottie images to more standard image formats. This is a recommended package to use for net-im/mautrix-discord Signed-off-by: Richard-Rogalski <rrogalski <AT> tutanota.com> dev-util/lottieconverter/Manifest | 1 + .../lottieconverter/lottieconverter-0.2.ebuild | 30 ++++++++++++++++++++++ dev-util/lottieconverter/metadata.xml | 11 ++++++++ 3 files changed, 42 insertions(+) diff --git a/dev-util/lottieconverter/Manifest b/dev-util/lottieconverter/Manifest new file mode 100644 index 000000000..349cc9c0c --- /dev/null +++ b/dev-util/lottieconverter/Manifest @@ -0,0 +1 @@ +DIST lottieconverter-0.2.tar.gz 343708 BLAKE2B a4dcd785fc742b382ba853fa40ad05094830349323a372f5c30286c75c2aee5c97c88742b58783309eb294a4da586aaf2a8e172f85d6d4fb5d2dc6994e539e6d SHA512 163c38c3588b20d58ff8c896b8656cbc27e21ec30ef33b24ddd70a993113c1a2a9e24045f6d9aa9b420f642ba50b9e4a12350e6fbbe520099e54fbcd9b90e99a diff --git a/dev-util/lottieconverter/lottieconverter-0.2.ebuild b/dev-util/lottieconverter/lottieconverter-0.2.ebuild new file mode 100644 index 000000000..a88add7c1 --- /dev/null +++ b/dev-util/lottieconverter/lottieconverter-0.2.ebuild @@ -0,0 +1,30 @@ +# Copyright 2023 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" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~ppc64" + +S="${WORKDIR}/LottieConverter-r0.2" + +DEPEND="media-libs/rlottie media-libs/libpng media-libs/giflib" +RDEPEND="${DEPEND}" +BDEPEND="" + +src_configure() { + # -DSYSTEM_PNG=0 -DSYSTEM_RL=1 -DSYSTEM_GL=0 + local mycmakeargs=(-DSYSTEM_PNG=1 -DSYSTEM_RL=1 -DSYSTEM_GL=1) + cmake_src_configure +} + +src_install() { + dobin "${S}_build/lottieconverter" +} diff --git a/dev-util/lottieconverter/metadata.xml b/dev-util/lottieconverter/metadata.xml new file mode 100644 index 000000000..1ebde9a64 --- /dev/null +++ b/dev-util/lottieconverter/metadata.xml @@ -0,0 +1,11 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>[email protected]</email> + <name>Richard Rogalski</name> + </maintainer> + <upstream> + <remote-id type="github">sot-tech/LottieConverter</remote-id> + </upstream> +</pkgmetadata>
