From 7aecfa94624de88ee13bf4e77829d70bde09d4e1 Mon Sep 17 00:00:00 2001 From: "Artyom V. Poptsov" Date: Tue, 13 Aug 2024 00:45:51 +0300 Subject: [PATCH] gnu: mmm: Fix the build. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * gnu/packages/graphics.scm (mmm): Fix the build. [arguments]: Add "patch-meson-build" phase. [home-page]: Fix the URL. Change-Id: If6f1a255e864669a10c646ee0d991e6fabdcb6b9 Signed-off-by: Ludovic Courtès --- gnu/packages/graphics.scm | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/gnu/packages/graphics.scm b/gnu/packages/graphics.scm index 61a9f8a92e..47951e55f9 100644 --- a/gnu/packages/graphics.scm +++ b/gnu/packages/graphics.scm @@ -162,6 +162,16 @@ (define-public mmm (sha256 (base32 "1xmcv6rwinqsbr863rgl9005h2jlmd7k2qrwsc1h4fb8r61ykpjl")))) (build-system meson-build-system) + (arguments + (list #:phases #~(modify-phases %standard-phases + ;; XXX: Meson build fails due to a misspelling of + ;; "description" keyword in the configuration. This phase + ;; fixes that. + (add-after 'unpack 'patch-meson-build + (lambda _ + (substitute* "meson.build" + (("not stable, Description:") + "not stable, description:"))))))) (native-inputs (list luajit pkg-config)) (inputs @@ -169,7 +179,7 @@ (define-public mmm (synopsis "Memory Mapped Machine") (description "MMM is a shared memory protocol for virtualising access to framebuffer graphics, audio output and input event.") - (home-page "https://github.com/hodefoting/mrg") + (home-page "https://github.com/hodefoting/mmm") (license license:isc))) (define-public directfb