Skip to content

Commit

Permalink
dev-util/lottieconverter: add missing deps
Browse files Browse the repository at this point in the history
Closes: https://bugs.gentoo.org/932402
Signed-off-by: Anna (cybertailor) Vyalkova <[email protected]>
  • Loading branch information
CyberTailor committed Aug 9, 2024
1 parent 5bcb6d8 commit 266ce0e
Showing 1 changed file with 37 additions and 0 deletions.
37 changes: 37 additions & 0 deletions dev-util/lottieconverter/lottieconverter-0.2-r1.ebuild
Original file line number Diff line number Diff line change
@@ -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
}

0 comments on commit 266ce0e

Please sign in to comment.