[bug#75037,gnome-team,v2,1/2] gnu: harfbuzz: Build with meson.

Message ID 02df420e622b5e1fb5a59964fc8076b62a5cd636.1736336958.git.liliana.prikler@gmail.com
State New
Headers
Series [bug#75037,gnome-team,v2,1/2] gnu: harfbuzz: Build with meson. |

Commit Message

Liliana Marie Prikler Jan. 8, 2025, 11:46 a.m. UTC
  * 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(-)


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

Patch

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.")