[PATCH]: gnu: Add web-pixbuf-loader.

DoneSubmitted by Zhu Zihao.
Details
2 participants
  • Zhu Zihao
  • Ludovic Courtès
Owner
unassigned
Severity
normal
Z
Z
Zhu Zihao wrote on 6 Mar 06:33 +0100
(address . guix-patches@gnu.org)
86wnh73aro.fsf@163.com
-----BEGIN PGP SIGNATURE-----

iIsEARYIADMWIQRefA5qkqvnKdl/GTlmOX+E92aT+QUCYiRHuxUcYWxsX2J1dF9s
YXN0QDE2My5jb20ACgkQZjl/hPdmk/knVwEA2xGvcmyaeKzUKvEMQn+Yxjx3Du/a
ysnG7EDNkRk2ykMA/jgCWfuSdwexzm9G8xQGldYGuMefXTNUBDFfm/zAjxcJ
=Gxx+
-----END PGP SIGNATURE-----

From 5cd861b0cdfc0527f8b2676b46be7d5007fbf9af Mon Sep 17 00:00:00 2001
From: Zhu Zihao <all_but_last@163.com>
Date: Sun, 6 Mar 2022 13:32:30 +0800
Subject: [PATCH] gnu: Add webp-pixbuf-loader.

* gnu/packages/gtk.scm (webp-pixbuf-loader): New variable.
---
gnu/packages/gtk.scm | 26 ++++++++++++++++++++++++++
1 file changed, 26 insertions(+)

Toggle diff (36 lines)
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 @@ (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+)))
-- 
2.34.0
--
Retrieve my PGP public key:

gpg --recv-keys D47A9C8B2AE3905B563D9135BE42B352A9F6821F

Zihao
L
L
Ludovic Courtès wrote on 11 Mar 23:14 +0100
(name . Zhu Zihao)(address . all_but_last@163.com)(address . 54269-done@debbugs.gnu.org)
87h784w30u.fsf@gnu.org
Hi,

Zhu Zihao <all_but_last@163.com> skribis:

Toggle quote (7 lines)
>>From 5cd861b0cdfc0527f8b2676b46be7d5007fbf9af Mon Sep 17 00:00:00 2001
> From: Zhu Zihao <all_but_last@163.com>
> Date: Sun, 6 Mar 2022 13:32:30 +0800
> Subject: [PATCH] gnu: Add webp-pixbuf-loader.
>
> * gnu/packages/gtk.scm (webp-pixbuf-loader): New variable.

Applied, thanks!

Ludo’.
Closed
?
Your comment

This issue is archived.

To comment on this conversation send email to 54269@debbugs.gnu.org