From 9a1da50e3abc73624083dc8f827aa3eb8f9cb40f Mon Sep 17 00:00:00 2001 From: unmush Date: Wed, 27 Nov 2024 00:56:00 Subject: [PATCH v2 20/21] gnu: Add libgdiplus. * gnu/packages/dotnet.scm (libgdiplus): New variable. --- gnu/packages/dotnet.scm | 44 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) diff --git a/gnu/packages/dotnet.scm b/gnu/packages/dotnet.scm index 321b71236d8..9c38a83cc64 100644 --- a/gnu/packages/dotnet.scm +++ b/gnu/packages/dotnet.scm @@ -1661,3 +1661,47 @@ (define-public mono-5.10.0 '()) "CSC=mcs" ,@make-flags)))))))))))) + +(define-public libgdiplus + (package + (name "libgdiplus") + (version "6.2") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/mono/libgdiplus.git") + (commit "94a49875487e296376f209fe64b921c6020f74c0"))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "1gwmhrddr8kdlfprjqcd6gqiy8p5v8sl9215dbd949j1l76szl9v")) + (modules '((guix build utils))) + (snippet #~(substitute* "./Makefile.am" + (("\\./update_submodules\\.sh") + ":"))))) + (build-system gnu-build-system) + (native-inputs + (list automake + autoconf + googletest-1.8 + libtool + pkg-config + which)) + (inputs (list cairo + freetype + fontconfig + gettext-minimal + giflib + glib + libexif + libjpeg-turbo + libpng + libtiff + libx11)) + (synopsis "Open Source implementation of the GDI+ API") + (description "Libgdiplus is the Mono library that provides a +GDI+-compatible API on non-Windows operating systems. It uses Cairo to do +most of the heavy lifting.") + (home-page "https://github.com/mono/libgdiplus") + (license license:expat))) -- 2.45.2