Subject: [PATCH gnome-team 3/4] gnu: appstream: Update to 0.16.4.

From: Liliana Marie Prikler <[email-masked]>
Date: Sat, 11 Nov 2023 01:38:07 +0100

* gnu/packages/freedesktop.scm (appstream): Update to 0.16.4.
[arguments]<#:configure-flags>: Add “-Dsystemd=false”.
<#:phases>: Adjust accordingly.

Change-Id: I9c22cbd10681666c20e848dbc1e52ca08431d984
---
 gnu/packages/freedesktop.scm | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/gnu/packages/freedesktop.scm b/gnu/packages/freedesktop.scm
index d920afe1e7..0aeeadf5a3 100644
--- a/gnu/packages/freedesktop.scm
+++ b/gnu/packages/freedesktop.scm
@@ -139,7 +139,7 @@ (define-module (gnu packages freedesktop)
 (define-public appstream
   (package
     (name "appstream")
-    (version "0.15.6")
+    (version "0.16.4")
     (source
      (origin
        (method url-fetch)
@@ -148,11 +148,12 @@ (define-public appstream
                        "appstream/releases/"
                        "AppStream-" version ".tar.xz"))
        (sha256
-        (base32 "03pirmc5r4izl6mzff879g7pk1nxq03kgpr2yvnnqnlb6r0ckmi3"))))
+        (base32 "1val1b3dggn9g33q2r9q7wsl75a64x4lcvswvkcjjbvakkbj5xyl"))))
     (build-system meson-build-system)
     (arguments
      (list
       #:glib-or-gtk? #t
+      #:configure-flags #~(list "-Dsystemd=false")
       #:phases
       #~(modify-phases %standard-phases
           (add-after 'unpack 'patch-libstemmer
@@ -165,7 +166,7 @@ (define-public appstream
           (add-after 'unpack 'disable-failing-tests
             (lambda _
               (substitute* "tests/test-pool.c"
-                (("[ \t]*g_test_add_func \\(\"/AppStream/PoolRead?.*;")
+                (("[ \t]*g_test_add_func \\(\"/AppStream/Stemming.*;")
                  ""))))
           (add-before 'check 'check-setup
             (lambda _
-- 
2.41.0