Subject: [bug#69524] [PATCH] gnu: lite-xl: Update to 2.1.3.

From: Parnikkapore <[email-masked]>
Date: Sun, 3 Mar 2024 21:16:14 +0700

* gnu/packages/text-editors.scm (lite-xl): Update to 2.1.3.
[source]: Remove snippet. The code being patched no longer exists.
[inputs]: Remove agg and reproc. These dependencies are removed in 2.1.0.

Change-Id: If3a57587ce2049f94e4ac7791c680d29a4e7d222
---
 gnu/packages/text-editors.scm | 19 +++++++------------
 1 file changed, 7 insertions(+), 12 deletions(-)

diff --git a/gnu/packages/text-editors.scm b/gnu/packages/text-editors.scm
index 977a101c97..d13cd8698a 100644
--- a/gnu/packages/text-editors.scm
+++ b/gnu/packages/text-editors.scm
@@ -1473,7 +1473,7 @@ (define-public mle
 (define-public lite-xl
   (package
     (name "lite-xl")
-    (version "2.1.1")
+    (version "2.1.3")
     (source (origin
               (method git-fetch)
               (uri (git-reference
@@ -1482,18 +1482,13 @@ (define-public lite-xl
               (file-name (git-file-name name version))
               (sha256
                (base32
-                "1pnmax68hvk1ry4bjsxwq4qimfn55pai8jlljw6jiqzcmh4mp7xm"))
-              (modules '((guix build utils)))
-              (snippet '(substitute* "meson.build"
-                          (("dependency\\('lua5\\.4',")
-                           "dependency('lua-5.4',")))))
+                "19wdq8w6ickyynx6r2wg2vf5isl2577zjizgwbzql9vhqdsi8ag3"))))
     (build-system meson-build-system)
-    (inputs (list agg
-                  freetype
-                  lua-5.4
-                  pcre2
-                  reproc
-                  sdl2))
+    (arguments
+      (list
+       ;; Don't try to download Lua
+       #:configure-flags #~'("-Duse_system_lua=true")))
+    (inputs (list lua-5.4 pcre2 freetype sdl2))
     (native-inputs (list pkg-config))
     (home-page "https://lite-xl.com")
     (synopsis "Lightweight text editor written in Lua")

base-commit: f00f56514d90ebba5d9e08ec786c8118e437097c
-- 
2.41.0