gnu: mmm: Fix the build.

* 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 <ludo@gnu.org>
This commit is contained in:
Artyom V. Poptsov 2024-08-13 00:45:51 +03:00 committed by Ludovic Courtès
parent 98545ea115
commit 7aecfa9462
No known key found for this signature in database
GPG key ID: 090B11993D9AEBB5

View file

@ -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