mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-11 08:03:16 -04:00
Update done using: ``` git grep -l sys-libs/zlib sys-* | xargs sed -i -e s@sys-libs/zlib@virtual/zlib@g git grep -l virtual/zlib-ng sys-* | xargs sed -i -e s@virtual/zlib-ng@sys-libs/zlib-ng@g git diff --name-only | xargs copybump git diff --name-only | xargs grep -l PYTHON_COMPAT | xargs gpy-impl -@dead pkgcheck scan --commits -c SourcingCheck,VisibilityCheck --exit error ``` Signed-off-by: Paul Zander <negril.nx+gentoo@gmail.com>
40 lines
781 B
Bash
40 lines
781 B
Bash
# Copyright 2023-2025 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:=
|
|
virtual/zlib:=
|
|
"
|
|
RDEPEND="${DEPEND}"
|
|
|
|
PATCHES=( "${FILESDIR}"/${PN}-0.2-buildtype.patch )
|
|
|
|
src_configure() {
|
|
local mycmakeargs=(
|
|
-DSYSTEM_PNG=ON
|
|
-DSYSTEM_RL=ON
|
|
-DSYSTEM_GL=ON
|
|
)
|
|
cmake_src_configure
|
|
}
|
|
|
|
src_install() {
|
|
dobin "${BUILD_DIR}"/lottieconverter
|
|
einstalldocs
|
|
}
|