summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorunmush <unmush@hashbang.sh>2024-11-27 00:56:00 +0200
committerEfraim Flashner <efraim@flashner.co.il>2024-12-22 15:37:35 +0200
commita46816dcd155e0544e745deb7256362574fe3154 (patch)
tree1acd76de297441f53789e19c715b4f65e5e47a8b /gnu
parent8e8653fcfb6081f1e96d7cf876faeeda8bd52e30 (diff)
gnu: Add libgdiplus.
* gnu/packages/dotnet.scm (libgdiplus): New variable. Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/dotnet.scm44
1 files changed, 44 insertions, 0 deletions
diff --git a/gnu/packages/dotnet.scm b/gnu/packages/dotnet.scm
index 5be4bfd9afb..8db14e0ac52 100644
--- a/gnu/packages/dotnet.scm
+++ b/gnu/packages/dotnet.scm
@@ -1625,3 +1625,47 @@ unused0:")))))
1625 '()) 1625 '())
1626 "CSC=mcs" 1626 "CSC=mcs"
1627 ,@make-flags)))))))))))) 1627 ,@make-flags))))))))))))
1628
1629(define-public libgdiplus
1630 (package
1631 (name "libgdiplus")
1632 (version "6.2")
1633 (source
1634 (origin
1635 (method git-fetch)
1636 (uri (git-reference
1637 (url "https://github.com/mono/libgdiplus.git")
1638 ;; The releases aren't tagged.
1639 (commit "94a49875487e296376f209fe64b921c6020f74c0")))
1640 (file-name (git-file-name name version))
1641 (sha256
1642 (base32 "1gwmhrddr8kdlfprjqcd6gqiy8p5v8sl9215dbd949j1l76szl9v"))
1643 (modules '((guix build utils)))
1644 (snippet #~(substitute* "./Makefile.am"
1645 (("\\./update_submodules\\.sh")
1646 ":")))))
1647 (build-system gnu-build-system)
1648 (native-inputs
1649 (list automake
1650 autoconf
1651 googletest-1.8
1652 libtool
1653 pkg-config
1654 which))
1655 (inputs (list cairo
1656 freetype
1657 fontconfig
1658 gettext-minimal
1659 giflib
1660 glib
1661 libexif
1662 libjpeg-turbo
1663 libpng
1664 libtiff
1665 libx11))
1666 (synopsis "Open Source implementation of the GDI+ API")
1667 (description "Libgdiplus is the Mono library that provides a
1668GDI+-compatible API on non-Windows operating systems. It uses Cairo to do
1669most of the heavy lifting.")
1670 (home-page "https://github.com/mono/libgdiplus")
1671 (license license:expat)))