Subject: [PATCH gnome-team v2 1/2] gnu: harfbuzz: Build with meson.

From: Liliana Marie Prikler <[email-masked]>
Date: Wed, 8 Jan 2025 12:46:01 +0100

* gnu/packages/gtk.scm (harfbuzz)[build-system]: Use meson-build-system.
[#:configure-flags]: Replace “--with-graphite2” with “-Dgraphite2=enabled”.
Remove other flags.
---
 gnu/packages/gtk.scm | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)

diff --git a/gnu/packages/gtk.scm b/gnu/packages/gtk.scm
index fd6448cc6d..c8bcb02cbb 100644
--- a/gnu/packages/gtk.scm
+++ b/gnu/packages/gtk.scm
@@ -291,7 +291,7 @@ (define-public harfbuzz
               (sha256
                (base32
                 "0izq2lpqxrf1l755nxrxkkiarywkx5j43asznankxplbxgm0358h"))))
-    (build-system gnu-build-system)
+    (build-system meson-build-system)
     (outputs '("out"
                "bin"))                  ;160K, only hb-view depend on cairo
     (inputs
@@ -309,9 +309,7 @@ (define-public harfbuzz
                    which)))
     (arguments
      (list #:configure-flags
-           #~(list "--with-graphite2"
-                   "--with-gobject"
-                   (string-append "--bindir=" #$output:bin "/bin"))))
+           #~(list "-Dgraphite2=enabled")))
     (synopsis "OpenType text shaping engine")
     (description
      "HarfBuzz is an OpenType text shaping engine.")

base-commit: 198b6c745a7ac9813a8c9b9995f287b3a4c6cb48
prerequisite-patch-id: b8ea62f663c0eb01ba5b47665196e3197cbb474c
-- 
2.47.1