librsvg: update, disable intropsection, fix compilation

This commit is contained in:
Jeremy Soller 2025-11-20 09:48:21 -07:00
parent bac4349ec1
commit da93b635fe
No known key found for this signature in database
GPG Key ID: 670FDFB5428E05CA

View File

@ -1,15 +1,26 @@
#TODO make dependencies work
#TODO build instructions - https://gnome.pages.gitlab.gnome.org/librsvg/devel-docs/compiling.html
#TODO: version 2.59 and newer require cargo-c
[source]
tar = "https://download.gnome.org/sources/librsvg/2.56/librsvg-2.56.0.tar.xz"
tar = "https://download.gnome.org/sources/librsvg/2.58/librsvg-2.58.5.tar.xz"
blake3 = "15ccac6309992ced51128825e9c3ebeb041705aeb8371507ffc4cebb6a1e4ce5"
script = """
DYNAMIC_INIT
autotools_recursive_regenerate
"""
[build]
template = "configure"
dependencies = [
"cairo",
"freetype2",
"gdk-pixbuf",
"glib",
"gobject-introspection",
"harfbuzz",
"pango",
"libffi",
"libxml2",
"pango",
]
template = "custom"
script = """
DYNAMIC_INIT
export GDK_PIXBUF_QUERYLOADERS="/usr/lib/$(cc -dumpmachine)/gdk-pixbuf-2.0/gdk-pixbuf-query-loaders"
cookbook_configure --disable-introspection
"""