This is a net/tdesktop dependency we currently build as bundle, but it is a trivial port and might be useful to others
--- Information for inst:rlottie-0.2 Comment: library for rendering vector based animations Description: rlottie is a platform independent standalone c++ library for rendering vector based animations and art in realtime. Lottie loads and renders animations and vectors exported in the bodymovin JSON format. Bodymovin JSON can be created and exported from After Effects with bodymovin, Sketch with Lottie Sketch Export, and from Haiku. For the first time, designers can create and ship beautiful animations without an engineer painstakingly recreating it by hand. Since the animation is backed by JSON they are extremely small in size but can be large in complexity! Maintainer: Klemens Nanni <k...@openbsd.org> WWW: https://github.com/Samsung/rlottie --- Using cmake I need a tiny patch to remove -Wl,--no-undefined but I get .cmake files which can be important for consumers. Using meson I don't need the patch but meson fails to produce the .cmake files: --- Program cmake found: YES (/usr/local/bin/cmake) ../../pobj/rlottie-0.2/rlottie-0.2/meson.build:79: WARNING: Project targeting '>=0.49' but tried to use feature introduced in '0.50.0': CMake Module. Program cmake found: YES (/usr/local/bin/cmake) error retrieving cmake information: returnCode=1 stdout= stderr=Error: --system-information must be run from a writable directory! ../../pobj/rlottie-0.2/rlottie-0.2/meson.build:80:14: ERROR: Unable to find cmake A full log can be found at /home/kn/ports/pobj/rlottie-0.2/build-aarch64/meson-logs/meson-log.txt --- Thus I'll stick to cmake (for now). Tests pass on amd64 and arm64 with both. tdesktop builds with it are churning away... Feedback? OK?
rlottie.tgz
Description: Binary data