Commit a8fb5e2b authored by saltedcoffii's avatar saltedcoffii Committed by GitHub

[New Package] rlottie (#4989)

* [New Package] rlottie

* Use meson/ninja

* remove duplicate build command

* change build to builddir

* Works (tested)

* Updated w/ binaries
Co-authored-by: default avatarsatmandu <satadru@gmail.com>
parent d23248d0
require 'package'
class Rlottie < Package
description 'rlottie is a platform independent standalone c++ library for rendering vector based animations and art in realtime.'
homepage 'https://github.com/Samsung/rlottie'
@_ver = '0.2'
version @_ver
compatibility 'all'
source_url "https://github.com/Samsung/rlottie/archive/v#{@_ver}.tar.gz"
source_sha256 '030ccbc270f144b4f3519fb3b86e20dd79fb48d5d55e57f950f12bab9b65216a'
binary_url ({
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/rlottie-0.2-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/rlottie-0.2-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/rlottie-0.2-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/rlottie-0.2-chromeos-x86_64.tar.xz',
})
binary_sha256 ({
aarch64: 'd41beeacb713a50355e002ce77a58344a9d4fca4d6dee45fce370657733e5088',
armv7l: 'd41beeacb713a50355e002ce77a58344a9d4fca4d6dee45fce370657733e5088',
i686: '64d0f691c23362e42c6a1c547ff44e1f0de100b4a6cb366fb744cf4bcc7dcbcc',
x86_64: 'bd04ab18b3fa491ecb1358e9fabc980a266859c3d867d62a2d327649ee1d4d33',
})
def self.build
system "meson #{CREW_MESON_LTO_OPTIONS} builddir"
system "meson configure builddir"
system "ninja -C builddir"
end
def self.install
system "DESTDIR=#{CREW_DEST_DIR} ninja -C builddir install"
end
end
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment