Subject: [PATCH 2/2] gnu: nomacs: Update to 3.21.1.

From: Sergey Trofimov <[email-masked]>
Date: Sat, 10 May 2025 22:38:13 +0200

* gnu/packages/image-viewers.scm (nomacs): Update to 3.21.1.

Change-Id: I957054430043b72e6f50c4849fbce92f12b51adc
---
 gnu/packages/image-viewers.scm | 22 ++++++++++++----------
 1 file changed, 12 insertions(+), 10 deletions(-)

diff --git a/gnu/packages/image-viewers.scm b/gnu/packages/image-viewers.scm
index 4413b93fce..def557afa0 100644
--- a/gnu/packages/image-viewers.scm
+++ b/gnu/packages/image-viewers.scm
@@ -1041,7 +1041,7 @@ (define-public pqiv
 (define-public nomacs
   (package
     (name "nomacs")
-    (version "3.16.224")
+    (version "3.21.1")
     (source
      (origin
        (method git-fetch)
@@ -1051,12 +1051,13 @@ (define-public nomacs
        (file-name (git-file-name name version))
        (sha256
         (base32
-         "05d4hqg0gl3g9s2xf1hr7mc7g4cqarcap4nzxxa51fsphw2b8x16"))))
+         "1by62r1g1clji7g539zyhm5z7h1ssp8pcb6vrm33p2gvz3vba5j5"))))
     (build-system cmake-build-system)
     (arguments
      `(#:build-type "Release" ; fails to build with debug info
        #:configure-flags (list "-DENABLE_TRANSLATIONS=true"
                                "-DUSE_SYSTEM_QUAZIP=true"
+                               "-DENABLE_QUAZIP=true"
                                "-DENABLE_OPENCV=true")
        #:tests? #f ; no rule for target 'test'
        #:phases
@@ -1072,22 +1073,23 @@ (define-public nomacs
         ,(origin
            (method git-fetch)
            (uri (git-reference
-                 (url "https://github.com/nomacs/nomacs-plugins")
-                 (commit "3.16")))
+                 (url "https://github.com/novomesk/nomacs-plugins")
+                 (commit "20101da282f13d3184ece873388e1c234a79b5e7")))
            (sha256
             (base32
-             "1cpdwhfvaxm970nwdc1hc13848a85pqqi176m9xpa3krla9qskml"))))
+             "0nbrsxhggy15idvm5dlhxh2z14gvki7vljxqi90hw98nmbh5ri41"))))
        ("exiv2" ,exiv2)
        ("libraw" ,libraw)
        ("libtiff" ,libtiff)
        ("opencv" ,opencv)
-       ("python" ,python-wrapper)
-       ("quazip" ,quazip-0)
-       ("qtbase" ,qtbase-5)
-       ("qtsvg-5" ,qtsvg-5)))
+       ("quazip" ,quazip-qt6)
+       ("qtimageformats" ,qtimageformats)
+       ("qtbase" ,qtbase)
+       ("qt5compat" ,qt5compat)
+       ("qtsvg" ,qtsvg)))
     (native-inputs
      `(("pkg-config" ,pkg-config)
-       ("qtlinguist" ,qttools-5)))
+       ("qttools" ,qttools)))
     (synopsis "Image viewer supporting all common formats")
     (description "Nomacs is a simple to use image lounge featuring
 semi-transparent widgets that display additional information such as metadata,
-- 
2.49.0