diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2019-09-06 10:28:05 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2019-09-06 10:28:05 +0100 |
commit | f1af93971b7490792d8541bc790e0d8c6d787059 (patch) | |
tree | a38046712bbc3a3844d77452d16c84e716caa3d4 /dev-dotnet/libgdiplus/libgdiplus-6.0.2.ebuild | |
parent | fc637fb28da700da71ec2064d65ca5a7a31b9c6c (diff) |
gentoo resync : 06.08.2019
Diffstat (limited to 'dev-dotnet/libgdiplus/libgdiplus-6.0.2.ebuild')
-rw-r--r-- | dev-dotnet/libgdiplus/libgdiplus-6.0.2.ebuild | 51 |
1 files changed, 51 insertions, 0 deletions
diff --git a/dev-dotnet/libgdiplus/libgdiplus-6.0.2.ebuild b/dev-dotnet/libgdiplus/libgdiplus-6.0.2.ebuild new file mode 100644 index 000000000000..4c37480bf4c9 --- /dev/null +++ b/dev-dotnet/libgdiplus/libgdiplus-6.0.2.ebuild @@ -0,0 +1,51 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit dotnet + +DESCRIPTION="Library for using System.Drawing with Mono" +HOMEPAGE="https://www.mono-project.com" +SRC_URI="https://download.mono-project.com/sources/${PN}/${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~x86-solaris" +IUSE="cairo" +#skip tests due https://bugs.gentoo.org/687784 +RESTRICT="test" + +RDEPEND="dev-libs/glib + media-libs/freetype + media-libs/fontconfig + >=media-libs/giflib-5.1.2 + media-libs/libexif + media-libs/libpng:0= + media-libs/tiff + x11-libs/cairo[X] + x11-libs/libX11 + x11-libs/libXrender + x11-libs/libXt + virtual/jpeg:0 + !cairo? ( x11-libs/pango )" +DEPEND="${RDEPEND}" + +src_configure() { + econf \ + --disable-dependency-tracking \ + --disable-static \ + $(usex cairo "" "--with-pango") +} + +src_install () { + default + + dotnet_multilib_comply + local commondoc=( AUTHORS ChangeLog README TODO ) + for docfile in "${commondoc[@]}"; do + [[ -e "${docfile}" ]] && dodoc "${docfile}" + done + [[ "${DOCS[@]}" ]] && dodoc "${DOCS[@]}" + prune_libtool_files +} |