gnu: Add webp-pixbuf-loader.

* gnu/packages/gtk.scm (webp-pixbuf-loader): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
This commit is contained in:
Zhu Zihao 2022-03-06 13:32:30 +08:00 committed by Ludovic Courtès
parent 4e0c4ab7f9
commit b3b9b68040
No known key found for this signature in database
GPG key ID: 090B11993D9AEBB5

View file

@ -2893,3 +2893,29 @@ (define-public gromit-mpx
"Gromit-MPX is an on-screen annotation tool that works with any
Unix desktop environment under X11 as well as Wayland.")
(license license:gpl2+)))
(define-public webp-pixbuf-loader
(package
(name "webp-pixbuf-loader")
(version "0.0.4")
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/aruiz/webp-pixbuf-loader")
(commit version)))
(file-name (git-file-name name version))
(sha256
(base32 "1kshsz91mirjmnmv796nba1r8jg8a613anhgd38dhh2zmnladcwn"))))
(build-system meson-build-system)
(arguments
(list
#:configure-flags
#~(list (string-append "-Dgdk_pixbuf_moduledir="
#$output "/lib/gdk-pixbuf-2.0/2.10.0/loaders"))))
(inputs (list gdk-pixbuf glib gtk+ libwebp))
(native-inputs (list pkg-config))
(home-page "https://github.com/aruiz/webp-pixbuf-loader")
(synopsis "WebP GdkPixbuf loader library")
(description "Webp-pixbuf-loader is a WebP format loader of GdkPixbuf.")
(license license:lgpl2.0+)))