summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMikhail Pukhlikov <cynede@gentoo.org>2017-02-09 11:01:09 +0400
committerMikhail Pukhlikov <cynede@gentoo.org>2017-02-09 11:01:34 +0400
commitfa17e04ad41f1bce73006555ec14ba138531f901 (patch)
treed69f96bd19093491261732e2971876756321e6ae /dev-dotnet
parentmedia-gfx/feh: version bump to 2.18.1 (diff)
downloadgentoo-fa17e04ad41f1bce73006555ec14ba138531f901.tar.gz
gentoo-fa17e04ad41f1bce73006555ec14ba138531f901.tar.bz2
gentoo-fa17e04ad41f1bce73006555ec14ba138531f901.zip
dev-dotnet/libgdiplus: fix circular deps, remove mono need
Package-Manager: Portage-2.3.3, Repoman-2.3.1
Diffstat (limited to 'dev-dotnet')
-rw-r--r--dev-dotnet/libgdiplus/libgdiplus-4.2-r3.ebuild51
1 files changed, 51 insertions, 0 deletions
diff --git a/dev-dotnet/libgdiplus/libgdiplus-4.2-r3.ebuild b/dev-dotnet/libgdiplus/libgdiplus-4.2-r3.ebuild
new file mode 100644
index 000000000000..22a97af9dd92
--- /dev/null
+++ b/dev-dotnet/libgdiplus/libgdiplus-4.2-r3.ebuild
@@ -0,0 +1,51 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+inherit eutils
+
+DESCRIPTION="Library for using System.Drawing with mono"
+HOMEPAGE="http://www.mono-project.com"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~x86-solaris"
+SRC_URI="http://download.mono-project.com/sources/${PN}/${P}.tar.gz"
+
+IUSE="cairo"
+
+RDEPEND=">=dev-libs/glib-2.2.3:2
+ >=media-libs/freetype-2.3.7
+ >=media-libs/fontconfig-2.6
+ >=media-libs/libpng-1.4:0
+ x11-libs/libXrender
+ x11-libs/libX11
+ x11-libs/libXt
+ >=x11-libs/cairo-1.8.4[X]
+ media-libs/libexif
+ >=media-libs/giflib-5.1.2
+ virtual/jpeg:0
+ media-libs/tiff:0
+ !cairo? ( >=x11-libs/pango-1.20 )"
+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
+}