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@tutanota.com>
This commit is contained in:
Richard-Rogalski
2023-07-13 19:24:08 -05:00
parent 7e397a5b6a
commit 0eda4d43fd
3 changed files with 42 additions and 0 deletions

View File

@@ -0,0 +1 @@
DIST lottieconverter-0.2.tar.gz 343708 BLAKE2B a4dcd785fc742b382ba853fa40ad05094830349323a372f5c30286c75c2aee5c97c88742b58783309eb294a4da586aaf2a8e172f85d6d4fb5d2dc6994e539e6d SHA512 163c38c3588b20d58ff8c896b8656cbc27e21ec30ef33b24ddd70a993113c1a2a9e24045f6d9aa9b420f642ba50b9e4a12350e6fbbe520099e54fbcd9b90e99a

View File

@@ -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"
}

View File

@@ -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>rrogalski@tutanota.com</email>
<name>Richard Rogalski</name>
</maintainer>
<upstream>
<remote-id type="github">sot-tech/LottieConverter</remote-id>
</upstream>
</pkgmetadata>