From 6bd347c94e99de8cf44e97ee8255b56c7d0a1773 Mon Sep 17 00:00:00 2001 From: Raghav Gururajan Date: Mon, 20 Jul 2020 11:00:41 -0400 Subject: [PATCH] gnu: Add mmm. * gnu/packages/graphics.scm (mmm): New variable. Signed-off-by: Danny Milosavljevic --- gnu/packages/graphics.scm | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) diff --git a/gnu/packages/graphics.scm b/gnu/packages/graphics.scm index 8be5327507..d4ea1b1caa 100644 --- a/gnu/packages/graphics.scm +++ b/gnu/packages/graphics.scm @@ -72,6 +72,7 @@ (define-module (gnu packages graphics) #:use-module (gnu packages jemalloc) #:use-module (gnu packages kde-frameworks) #:use-module (gnu packages linux) + #:use-module (gnu packages lua) #:use-module (gnu packages maths) #:use-module (gnu packages mp3) #:use-module (gnu packages multiprecision) @@ -97,6 +98,7 @@ (define-module (gnu packages graphics) #:use-module (gnu packages xdisorg) #:use-module (guix build-system cmake) #:use-module (guix build-system gnu) + #:use-module (guix build-system meson) #:use-module (guix build-system python) #:use-module (guix build-system qt) #:use-module (guix download) @@ -106,6 +108,35 @@ (define-module (gnu packages graphics) #:use-module (guix packages) #:use-module (guix utils)) +(define-public mmm + (package + (name "mmm") + (version "0.1.1") + (source + (origin + (method git-fetch) + (uri + (git-reference + (url "https://github.com/hodefoting/mmm.git") + (commit version))) + (file-name + (git-file-name name version)) + (sha256 + (base32 "1xmcv6rwinqsbr863rgl9005h2jlmd7k2qrwsc1h4fb8r61ykpjl")))) + (build-system meson-build-system) + (native-inputs + `(("luajit" ,luajit) + ("pkg-config" ,pkg-config))) + (inputs + `(("alsa" ,alsa-lib) + ("sdl" ,sdl) + ("sdl2" ,sdl2))) + (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") + (license license:isc))) + (define-public directfb (package (name "directfb")