Files
chromebrew/packages/librsvg.rb
chromebrew-actions[bot] dbfc13bd0e updater-librsvg-2.61.0 — librsvg → 2.61.0 (#12544)
* Add unbuilt librsvg to updater-librsvg-2.61.0

* updater-librsvg-2.61.0: Build Run on linux/amd64.

* updater-librsvg-2.61.0: Build Run on linux/arm/v7.

* updater-librsvg-2.61.0: Package File Update Run on linux/amd64 container.

---------

Co-authored-by: satmandu <satmandu@users.noreply.github.com>
Co-authored-by: chromebrew-actions[bot] <chromebrew-actions[bot]@users.noreply.github.com>
2025-08-18 01:56:08 +00:00

45 lines
1.3 KiB
Ruby

require 'buildsystems/meson'
class Librsvg < Meson
description 'SVG library for GNOME'
homepage 'https://wiki.gnome.org/Projects/LibRsvg'
version "2.61.0-#{CREW_ICU_VER}"
license 'LGPL-2+'
compatibility 'aarch64 armv7l x86_64'
source_url 'https://gitlab.gnome.org/GNOME/librsvg.git'
git_hashtag version.split('-').first
binary_compression 'tar.zst'
binary_sha256({
aarch64: 'c3efa30c8415bee1b21373a109253082db44a08a2afb4dafc6ad7e9ab7b2c096',
armv7l: 'c3efa30c8415bee1b21373a109253082db44a08a2afb4dafc6ad7e9ab7b2c096',
x86_64: '3c885d706a4ee22aa30156aa86e328f921abc0415a1de4a7bba57dc2d882131c'
})
depends_on 'cairo' # R
depends_on 'cargo_c' => :build
depends_on 'dav1d' # R
depends_on 'fribidi' => :build
depends_on 'gcc_lib' # R
depends_on 'gdk_pixbuf' # R
depends_on 'glib' # R
depends_on 'glibc' # R
depends_on 'gobject_introspection' => :build
depends_on 'harfbuzz' # R
depends_on 'libcroco' => :build
depends_on 'libjpeg_turbo' => :build
depends_on 'libxml2' # R
depends_on 'pango' # R
depends_on 'py3_meson' => :build
depends_on 'py3_six' => :build
depends_on 'py3_smartypants' => :build
depends_on 'rust' => :build
depends_on 'vala' => :build
gnome
ENV['CARGO_PROFILE_RELEASE_LTO'] = 'true'
meson_options '-Ddocs=disabled -Dintrospection=disabled -Dtests=false -Dvala=enabled'
end