unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#57032] [PATCH] gnu: packages: Add spng.
@ 2022-08-07 11:29 ( via Guix-patches via
  2022-08-12  9:13 ` bug#57032: " Mathieu Othacehe
  0 siblings, 1 reply; 3+ messages in thread
From: ( via Guix-patches via @ 2022-08-07 11:29 UTC (permalink / raw)
  To: 57032; +Cc: (

* gnu/packages/image.scm (spng): New variable.
---
 gnu/packages/image.scm | 26 ++++++++++++++++++++++++++
 1 file changed, 26 insertions(+)

diff --git a/gnu/packages/image.scm b/gnu/packages/image.scm
index 1b88c7be83..9c132ced05 100644
--- a/gnu/packages/image.scm
+++ b/gnu/packages/image.scm
@@ -33,6 +33,7 @@
 ;;; Copyright © 2021 Nicolò Balzarotti <nicolo@nixo.xyz>
 ;;; Copyright © 2021 Alexandr Vityazev <avityazev@posteo.org>
 ;;; Copyright © 2022 Jai Vetrivelan <jaivetrivelan@gmail.com>
+;;; Copyright © 2022 ( <paren@disroot.org>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -2445,3 +2446,28 @@ (define-public phockup
 have creation date information will be placed in a folder called
 @file{unknown}.")
     (license license:expat)))
+
+(define-public spng
+  (package
+   (name "spng")
+   (version "0.7.2")
+   (source (origin
+            (method git-fetch)
+            (uri (git-reference
+                  (url "https://github.com/randy408/libspng")
+                  (commit (string-append "v" version))))
+            (file-name (git-file-name name version))
+            (sha256
+             (base32
+              "0src9ii9w9afz2vgridn9r38pa6888myk28x2bjw0ynw5xcd62hs"))))
+   (build-system meson-build-system)
+   (inputs (list zlib))
+   (native-inputs (list libpng))
+   (home-page "https://libspng.org")
+   (synopsis "Simple PNG loading library")
+   (description
+    "@code{libspng} is a simple C library for loading Portable Network
+Graphics (PNGs), intended as an easy-to-use replacement for @code{libpng}.")
+   (license license:bsd-2)
+   ;; Supports SSE on x86-64 and NEON on AArch64.
+   (properties '((tunable? . #t)))))
-- 
2.37.1





^ permalink raw reply related	[flat|nested] 3+ messages in thread

* bug#57032: [PATCH] gnu: packages: Add spng.
  2022-08-07 11:29 [bug#57032] [PATCH] gnu: packages: Add spng ( via Guix-patches via
@ 2022-08-12  9:13 ` Mathieu Othacehe
  2022-08-12  9:15   ` [bug#57032] " ( via Guix-patches via
  0 siblings, 1 reply; 3+ messages in thread
From: Mathieu Othacehe @ 2022-08-12  9:13 UTC (permalink / raw)
  To: (; +Cc: 57032-done


> * gnu/packages/image.scm (spng): New variable.

Pushed, thanks!

Mathieu




^ permalink raw reply	[flat|nested] 3+ messages in thread

* [bug#57032] [PATCH] gnu: packages: Add spng.
  2022-08-12  9:13 ` bug#57032: " Mathieu Othacehe
@ 2022-08-12  9:15   ` ( via Guix-patches via
  0 siblings, 0 replies; 3+ messages in thread
From: ( via Guix-patches via @ 2022-08-12  9:15 UTC (permalink / raw)
  To: Mathieu Othacehe; +Cc: 57032-done

On Fri Aug 12, 2022 at 10:13 AM BST, Mathieu Othacehe wrote:
> Pushed, thanks!

Woot, no v2 needed! Thanks!

    -- (




^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2022-08-12  9:17 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-08-07 11:29 [bug#57032] [PATCH] gnu: packages: Add spng ( via Guix-patches via
2022-08-12  9:13 ` bug#57032: " Mathieu Othacehe
2022-08-12  9:15   ` [bug#57032] " ( via Guix-patches via

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).