From af02e9eb2e681975c7b42a7e6a42ce5adff93a1e Mon Sep 17 00:00:00 2001 From: Raghav Gururajan Date: Mon, 20 Jul 2020 12:21:09 -0400 Subject: [PATCH 10/36] gnu: Add mrg. * gnu/packages/gimp.scm (mrg): New variable. --- gnu/packages/gimp.scm | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) diff --git a/gnu/packages/gimp.scm b/gnu/packages/gimp.scm index a6fa30ad87..a8f85ad264 100644 --- a/gnu/packages/gimp.scm +++ b/gnu/packages/gimp.scm @@ -40,10 +40,14 @@ #:use-module (gnu packages glib) #:use-module (gnu packages gtk) #:use-module (gnu packages gnome) + #:use-module (gnu packages graphics) #:use-module (gnu packages image) #:use-module (gnu packages ghostscript) #:use-module (gnu packages compression) #:use-module (gnu packages xml) + #:use-module (gnu packages linux) + #:use-module (gnu packages ncurses) + #:use-module (gnu packages patchutils) #:use-module (gnu packages pdf) #:use-module (gnu packages photo) #:use-module (gnu packages python) @@ -127,6 +131,39 @@ (home-page "https://code.google.com/archive/p/poly2tri-c/") (license license:bsd-3))) +(define-public mrg + (package + (name "mrg") + (version "0.1.3") + (source + (origin + (method git-fetch) + (uri + (git-reference + (url "https://github.com/hodefoting/mrg.git") + (commit version))) + (file-name + (git-file-name name version)) + (sha256 + (base32 "0g6wm9f7i3gcr07ab2avqsg18rsaj43b7y2qcnf1n7kc3asc44vm")))) + (build-system meson-build-system) + (arguments + `(#:glib-or-gtk? #t)) ; To wrap binaries and/or compile schemas + (native-inputs + `(("pkg-config" ,pkg-config))) + (propagated-inputs + `(("alsa" ,alsa-lib) + ("cairo" ,cairo) + ("gtk+" ,gtk+) + ("mmm" ,mmm) + ("x11" ,libx11))) + (synopsis "Microraptor GUI") + (description "MrG is is a C API for creating user interfaces. It can be +used as an application writing environment or as an interactive canvas for part +of a larger interface.") + (home-page "https://github.com/hodefoting/mrg") + (license license:lgpl2.0+))) + (define-public babl (package (name "babl") -- 2.27.0