Package Details: lottieconverter-git r19.190dc66-1

Git Clone URL: https://aur.archlinux.org/lottieconverter-git.git (read-only, click to copy)
Package Base: lottieconverter-git
Description: Simple, dummy lottie converter
Upstream URL: https://github.com/sot-tech/LottieConverter
Licenses: LGPL-v2.1
Provides: lottieconverter
Replaces: lottieconverter
Submitter: BluePeril
Maintainer: BluePeril
Last Packager: BluePeril
Votes: 0
Popularity: 0.000000
First Submitted: 2020-03-18 09:32 (UTC)
Last Updated: 2022-02-04 15:11 (UTC)

Dependencies (5)

Required by (0)

Sources (1)

Latest Comments

aragon123 commented on 2022-02-04 00:12 (UTC) (edited on 2022-02-04 00:17 (UTC) by aragon123)

I just modified the PKGBUILD to my needs, feel free to use the diff:

diff --git a/PKGBUILD b/PKGBUILD
index e737e19..5b3196a 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,14 +2,14 @@

 _pkgname=lottieconverter
 pkgname=lottieconverter-git
-pkgver=r10.e515646
+pkgver=r19.190dc66
 pkgrel=1
 pkgdesc='Simple, dummy lottie converter '
 arch=('i686' 'x86_64')
 url='https://github.com/sot-tech/LottieConverter'
 license=('LGPL-v2.1')
 makedepends=("git")
-depends=('rlottie-git')
+depends=('rlottie-git' 'libpng' 'giflib')
 provides=(${_pkgname})
 replaces=(${_pkgname})
 source=(${_pkgname}::"git+https://github.com/sot-tech/LottieConverter.git")
@@ -20,17 +20,23 @@ pkgver() {
     printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
 }

-build() {
+prepare() {
     cd "${_pkgname}"

-    make CONF=Release || return 1
+    mkdir -p build
+}
+
+build() {
+    cd "${_pkgname}/build"
+
+    cmake -DCMAKE_BUILD_TYPE=Release -DSYSTEM_RL=true -DSYSTEM_GL=true .. && cmake --build .
 }

 package() {
-    cd "${_pkgname}"
+    cd "${_pkgname}/build"

     install -d -m755 "${pkgdir}/usr/bin"
-    install -D -m755 dist/Release/GNU-Linux/lottieconverter "${pkgdir}/usr/bin/lottieconverter"
+    install -D -m755 lottieconverter "${pkgdir}/usr/bin/lottieconverter"
 }

 # vim:set ts=8 sts=2 sw=2 et:

BubuIIC commented on 2021-12-13 16:19 (UTC)

Upstream build system changed to cmake, so this package needs updating