diff mbox series

[bug#59584,3/3] gnu: jp2a: Update to 1.1.1.

Message ID 20221125193736.17095-3-kiasoc5@disroot.org
State New
Headers show
Series Update ytfzf and dependencies to latest versions. | expand

Commit Message

kiasoc5 Nov. 25, 2022, 7:37 p.m. UTC
* gnu/packages/image.scm (jp2a): Update to 1.1.1.
[source]: Use release tarball.
[inputs]: Add libpng.
[native-inputs]: Add doxygen.
---
 gnu/packages/image.scm | 13 +++++++------
 1 file changed, 7 insertions(+), 6 deletions(-)
diff mbox series

Patch

diff --git a/gnu/packages/image.scm b/gnu/packages/image.scm
index 9e53b7483e..bc1f25627b 100644
--- a/gnu/packages/image.scm
+++ b/gnu/packages/image.scm
@@ -1937,22 +1937,23 @@  (define-public gifsicle
 identical visual appearance.")
    (license license:gpl2+)))
 
-;; 1.0.7 is buggy and reverted in git repository.
 (define-public jp2a
   (package
     (name "jp2a")
-    (version "1.0.6")
+    (version "1.1.1")
     (source
      (origin
        (method url-fetch)
-       (uri (string-append "mirror://debian/pool/main/j/jp2a/jp2a_"
-                           version ".orig.tar.gz"))
+       (uri (string-append "https://github.com/Talinx/jp2a/releases/download/v"
+                           version "/jp2a-" version ".tar.gz"))
         (sha256
          (base32
-          "076frk3pa16s4r1b10zgy81vdlz0385zh3ykbnkaij25jn5aqc09"))))
+          "10kwhh1a0ivrzagl2vcxrbqmlr2q8x29ymqwzchpiriy6xqxck8l"))))
     (build-system gnu-build-system)
     (inputs
-     (list curl libjpeg-turbo ncurses))
+     (list curl libpng libjpeg-turbo ncurses))
+    (native-inputs
+     (list doxygen))
     (home-page "https://csl.name/jp2a/")
     (synopsis "Convert JPEG images to ASCII")
     (description