webp-pixbuf-loader: add recipe

This adds a gdk-pixbuf loader for webp images. It fixes thumbnailing and
adds support for webp in e.g. gnome-viewer (eog).
gnome-background contains lots of webp images. The default wallpaper is
set to 'adwaita-d.webp' and gnome-shell fails to load it.

Signed-off-by: Markus Volk <f_l_k@t-online.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
Markus Volk 2023-01-15 17:52:48 +01:00 committed by Khem Raj
parent ca7082caa8
commit bc3b07dac0

View File

@ -0,0 +1,23 @@
SUMMARY = "WebP GDK Pixbuf Loader library"
HOMEPAGE = "https://github.com/aruiz/webp-pixbuf-loader"
LICENSE = "LGPL-2.1-or-later"
LIC_FILES_CHKSUM = "file://LICENSE.LGPL-2;md5=0d90e6d44bcf69014bfae649c75aa6ca"
DEPENDS = " \
gdk-pixbuf \
libwebp \
"
inherit meson pkgconfig
EXTRA_OEMESON = "-Dupdate_cache=true"
SRC_URI = "git://github.com/aruiz/webp-pixbuf-loader.git;protocol=https;nobranch=1"
S = "${WORKDIR}/git"
SRCREV = "f91f79c05ff90b41774eda613dc10a2a0d996bc8"
FILES:${PN} = " \
${datadir}/thumbnailers/webp-pixbuf.thumbnailer \
${libdir}/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-webp.so \
"