summaryrefslogtreecommitdiffstats
path: root/packages/dev-libs/tlottie/tlottie-0_pre20260911.exheres-0
diff options
context:
space:
mode:
authorcoast <coasteen@proton.me>2026-10-12 14:41:07 +0330
committercoast <coasteen@proton.me>2026-10-12 14:41:07 +0330
commit25922912c7e37f3bc3000e71b647e77677d8f2c5 (patch)
tree8383c5569a668613eee384ee31ea8cddc2113ee5 /packages/dev-libs/tlottie/tlottie-0_pre20260911.exheres-0
downloadexherbo-overlay-main.tar.gz
exherbo-overlay-main.tar.bz2
exherbo-overlay-main.tar.xz
exherbo-overlay-main.tar.zst
Diffstat (limited to 'packages/dev-libs/tlottie/tlottie-0_pre20260911.exheres-0')
-rw-r--r--packages/dev-libs/tlottie/tlottie-0_pre20260911.exheres-030
1 files changed, 30 insertions, 0 deletions
diff --git a/packages/dev-libs/tlottie/tlottie-0_pre20260911.exheres-0 b/packages/dev-libs/tlottie/tlottie-0_pre20260911.exheres-0
new file mode 100644
index 0000000..faf85da
--- /dev/null
+++ b/packages/dev-libs/tlottie/tlottie-0_pre20260911.exheres-0
@@ -0,0 +1,30 @@
+# Copyright 2026 Gurov <thuggerthugger1@duck.com>
+# Distributed under the terms of the GNU General Public License v2
+
+require cargo [ rust_minimum_version=1.96.1 ]
+
+TLOTTIE_COMMIT="31f1b542f88e7b4be9a01e749920d857535fc715"
+
+SUMMARY="Rust library for rendering Lottie animations"
+HOMEPAGE="https://github.com/dkaraush/tlottie"
+DOWNLOADS="${HOMEPAGE}/archive/${TLOTTIE_COMMIT}.tar.gz -> ${PNV}.tar.gz"
+WORK="${WORKBASE}/tlottie-${TLOTTIE_COMMIT}"
+
+LICENCES="MIT"
+SLOT="0"
+PLATFORMS="~amd64"
+
+DEFAULT_SRC_PREPARE_PATCHES=( "${FILES}/${PNV}-tdesktop-compat.patch" )
+
+src_compile() {
+ ecargo rustc --frozen --release --features c-api --lib --crate-type staticlib \
+ -- --print native-static-libs
+}
+
+src_install() {
+ insinto /usr/$(exhost --target)/lib
+ doins "target/$(rust_target_arch_name)/release/libtlottie.a"
+ insinto /usr/$(exhost --target)/include/tlottie
+ doins include/tlottie.h
+ emagicdocs
+}