diff options
author | Zhu Zihao <all_but_last@163.com> | 2022-03-06 13:32:30 +0800 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2022-03-11 23:12:48 +0100 |
commit | b3b9b680403add768763cc65b1e67815c489989f (patch) | |
tree | dec2048ed4a79450743e5f1c16611ea90d3a6193 /gnu | |
parent | 4e0c4ab7f962a56b1c5b023b40dbeb3e856c96f6 (diff) | |
download | guix-b3b9b680403add768763cc65b1e67815c489989f.tar.gz |
gnu: Add webp-pixbuf-loader.
* gnu/packages/gtk.scm (webp-pixbuf-loader): New variable. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
Diffstat (limited to 'gnu')
-rw-r--r-- | gnu/packages/gtk.scm | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/gnu/packages/gtk.scm b/gnu/packages/gtk.scm index 29302051c1..0abe22d637 100644 --- a/gnu/packages/gtk.scm +++ b/gnu/packages/gtk.scm @@ -2893,3 +2893,29 @@ excellent pavucontrol.") "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+))) |