[bug#75319,2/5] gnu: kiwix-lib: Update to 14.0.0 and rename with libkiwix.

Message ID 1ad9fc024e273276701b48802d64e3bf09fa1801.1735897389.git.sughosha@disroot.org
State New
Headers
Series Update kiwix-desktop to 2.4.1 and kiwix-tools to 3.7.0. |

Commit Message

Sughosha Jan. 3, 2025, 3:49 p.m. UTC
  * gnu/packages/web.scm (kiwix-lib): Update to 14.0.0 and rename with libkiwix.
[source]: Switch to url-fetch.
(kiwix-desktop,kiwix-tools)[inputs]: Replace kiwix-lib with libkiwix.

Change-Id: I0f61a7e699b9d90357707446691cbd0106ad8404
---
 gnu/packages/web.scm | 22 +++++++++++-----------
 1 file changed, 11 insertions(+), 11 deletions(-)
  

Patch

diff --git a/gnu/packages/web.scm b/gnu/packages/web.scm
index dc9fc8ad06..60a9f5681f 100644
--- a/gnu/packages/web.scm
+++ b/gnu/packages/web.scm
@@ -9340,20 +9340,20 @@  (define-public libzim
 for ZIM files.")
     (license license:gpl2)))
 
-(define-public kiwix-lib
+(define-public libkiwix
   (package
-    (name "kiwix-lib")
-    (version "13.0.0")
+    (name "libkiwix")
+    (version "14.0.0")
     (home-page "https://github.com/kiwix/kiwix-lib/")
     (source (origin
-              (method git-fetch)
-              (uri (git-reference
-                    (url home-page)
-                    (commit version)))
+              (method url-fetch)
+              (uri (string-append
+                    "https://download.kiwix.org/release/libkiwix/libkiwix-"
+                    version
+                    ".tar.xz"))
               (sha256
                (base32
-                "0mvlppbj0mqn4ka3cfaaj1pvn062cxbgz01c0nq04x0mzq1xwh5w"))
-              (file-name (git-file-name name version))))
+                "1p0hj94rz22gvhan9y3sg40sz2lw4fsl2m3jjpqz65zxgv9n9p7v"))))
     (build-system meson-build-system)
     (arguments
      `(#:phases
@@ -9420,7 +9420,7 @@  (define-public kiwix-desktop
      (list bash-minimal
            curl
            icu4c
-           kiwix-lib
+           libkiwix
            libmicrohttpd
            libzim
            pugixml
@@ -9455,7 +9455,7 @@  (define-public kiwix-tools
     (inputs
      (list curl
            icu4c
-           kiwix-lib
+           libkiwix
            libmicrohttpd
            libzim
            pugixml