The webp-pixbuf-loader package contains a library that allows gdk-pixbuf to load and process webp images.
Development versions of BLFS may not build or run some packages properly if dependencies have been updated since the most recent stable versions of the book.
Download (HTTP): https://github.com/aruiz/webp-pixbuf-loader/archive/0.2.4/webp-pixbuf-loader-0.2.4.tar.gz
Download MD5 sum: 2218f764598044497691c02bf641173d
Download size: 8.7 MB
Estimated disk space required: 9.7 MB
Estimated build time: less than 0.1 SBU (with tests)
gdk-pixbuf-2.42.10 and libwebp-1.3.0
User Notes: https://wiki.linuxfromscratch.org/blfs/wiki/webp-pixbuf-loader
Install webp-pixbuf-loader by running the following commands:
mkdir build && cd build && meson setup --prefix=/usr --buildtype=release .. && ninja
To test the results, issue: ninja test.
Now, as the root
user:
ninja install
The webp format needs to be added to the loaders cache:
gdk-pixbuf-query-loaders --update-cache
--buildtype=release
:
Specify a buildtype suitable for stable releases of the package, as
the default may produce unoptimized binaries.
gdk-pixbuf-query-loaders --update-cache: This command updates the gdk-pixbuf loader cache so that it knows the webp loader has been installed.