diff --git a/recipes/wip/libs/image/librsvg/recipe.toml b/recipes/wip/libs/image/librsvg/recipe.toml index 0036b835..14e44666 100644 --- a/recipes/wip/libs/image/librsvg/recipe.toml +++ b/recipes/wip/libs/image/librsvg/recipe.toml @@ -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 +""" \ No newline at end of file