The existing gdkpixbuf PACKAGECONFIG is actually for the gdk-pixbuf SVG loader. Rename this to gdkpixbuf-loader and add another PACKAGECONFIG that controls whether gdk-pixbuf support is enabled, and enable this by default to preserve behaviour.
Add a new PACKAGECONFIG to enable support for embedded AVIF[1] files. This is disabled out of the box as it depends on dav1d, part of meta-oe. [1] https://en.wikipedia.org/wiki/AVIF Signed-off-by: Ross Burton <[email protected]> --- meta/recipes-gnome/librsvg/librsvg_2.61.3.bb | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/meta/recipes-gnome/librsvg/librsvg_2.61.3.bb b/meta/recipes-gnome/librsvg/librsvg_2.61.3.bb index 00f8599828c..2c1979dd154 100644 --- a/meta/recipes-gnome/librsvg/librsvg_2.61.3.bb +++ b/meta/recipes-gnome/librsvg/librsvg_2.61.3.bb @@ -10,7 +10,7 @@ LICENSE = "LGPL-2.1-or-later" LIC_FILES_CHKSUM = "file://COPYING.LIB;md5=4fbd65380cdd255951079008b364516c" SECTION = "x11/utils" -DEPENDS = "cairo gdk-pixbuf glib-2.0 libxml2 pango python3-docutils-native cargo-native cargo-c-native" +DEPENDS = "cairo glib-2.0 libxml2 pango python3-docutils-native cargo-native cargo-c-native" RDEPENDS:${PN}-ptest += "rsvg" BBCLASSEXTEND = "native nativesdk" @@ -56,11 +56,14 @@ LDFLAGS += " -L${B}/rsvg" # needed on ubuntu 20.04/debian 11 to avoid 'undefined reference to `dlsym'' errors BUILD_LDFLAGS += " -ldl" -PACKAGECONFIG ??= "gdkpixbuf \ +PACKAGECONFIG ??= "gdkpixbuf gdkpixbuf-loader \ ${@bb.utils.contains('PTEST_ENABLED', '1', 'apitest', '', d)} \ ${@bb.utils.contains('GI_DATA_ENABLED', 'True', 'vala', '', d)}" -# The gdk-pixbuf loader -PACKAGECONFIG[gdkpixbuf] = "-Dpixbuf-loader=enabled,-Dpixbuf-loader=disabled,gdk-pixbuf-native" + +PACKAGECONFIG[avif] = "-Davif=enabled,-Davif=disabled,dav1d" +PACKAGECONFIG[gdkpixbuf] = "-Dpixbuf=enabled,-Dpixbuf=disabled,gdk-pixbuf" +# The gdk-pixbuf loader (depends on gdkpixbuf) +PACKAGECONFIG[gdkpixbuf-loader] = "-Dpixbuf-loader=enabled,-Dpixbuf-loader=disabled,gdk-pixbuf-native" PACKAGECONFIG[vala] = "-Dvala=enabled,-Dvala=disabled" PACKAGECONFIG[apitest] = "-Dtests=true,-Dtests=false" -- 2.43.0
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#237178): https://lists.openembedded.org/g/openembedded-core/message/237178 Mute This Topic: https://lists.openembedded.org/mt/119331268/21656 Group Owner: [email protected] Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
