me
/
guix
Archived
1
0
Fork 0

gnu: Add tgs2png.

* gnu/packages/animation.scm (tgs2png): New variable.

Signed-off-by: Andrew Tropin <andrew@trop.in>
master
Sergey Trofimov 2024-07-01 22:53:13 +02:00 committed by Andrew Tropin
parent 5f1e4e4c02
commit e209437ca2
No known key found for this signature in database
GPG Key ID: 2208D20958C1DEB0
1 changed files with 31 additions and 0 deletions

View File

@ -468,6 +468,37 @@ lets you create traditional hand-drawn animations (cartoons) using both bitmap
and vector graphics.")
(license license:gpl2)))
(define-public tgs2png
(let ((commit "25c15b7c2ca3b1a580a383d9d3cb13bf8531d04a")
(revision "0"))
(package
(name "tgs2png")
(version (git-version "0.3.0" revision commit))
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/zevlg/tgs2png")
(commit commit)))
(sha256
(base32 "0camvzapkfvr9v0nkk96n26rdmw0g8wbpv41i5l03j6bzdgm4myl"))
(file-name (git-file-name "tgs2png" version))
(modules '((guix build utils)))
(snippet
'(begin
(delete-file-recursively "rlottie")
#t))))
(arguments '(#:tests? #f))
(build-system cmake-build-system)
(inputs
(list rlottie libpng))
(native-inputs
(list pkg-config))
(home-page "https://github.com/zevlg/tgs2png")
(synopsis "Convert Telegram's animated stickers to PNG")
(description "Convert Telegram's animated stickers in TGS format into series of PNG images.")
(license license:gpl3+))))
(define-public swftools
;; Last release of swftools was 0.9.2 on 2012-04-21 - it is really old and
;; does not compile with what's available in guix, master on the other hand works.