1 |
commit: fa17e04ad41f1bce73006555ec14ba138531f901 |
2 |
Author: Mikhail Pukhlikov <cynede <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Feb 9 07:01:09 2017 +0000 |
4 |
Commit: Mikhail Pukhlikov <cynede <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Feb 9 07:01:34 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fa17e04a |
7 |
|
8 |
dev-dotnet/libgdiplus: fix circular deps, remove mono need |
9 |
|
10 |
Package-Manager: Portage-2.3.3, Repoman-2.3.1 |
11 |
|
12 |
dev-dotnet/libgdiplus/libgdiplus-4.2-r3.ebuild | 51 ++++++++++++++++++++++++++ |
13 |
1 file changed, 51 insertions(+) |
14 |
|
15 |
diff --git a/dev-dotnet/libgdiplus/libgdiplus-4.2-r3.ebuild b/dev-dotnet/libgdiplus/libgdiplus-4.2-r3.ebuild |
16 |
new file mode 100644 |
17 |
index 0000000000..22a97af9dd |
18 |
--- /dev/null |
19 |
+++ b/dev-dotnet/libgdiplus/libgdiplus-4.2-r3.ebuild |
20 |
@@ -0,0 +1,51 @@ |
21 |
+# Copyright 1999-2017 Gentoo Foundation |
22 |
+# Distributed under the terms of the GNU General Public License v2 |
23 |
+# $Id$ |
24 |
+ |
25 |
+EAPI=6 |
26 |
+ |
27 |
+inherit eutils |
28 |
+ |
29 |
+DESCRIPTION="Library for using System.Drawing with mono" |
30 |
+HOMEPAGE="http://www.mono-project.com" |
31 |
+ |
32 |
+LICENSE="MIT" |
33 |
+SLOT="0" |
34 |
+KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~x86-solaris" |
35 |
+SRC_URI="http://download.mono-project.com/sources/${PN}/${P}.tar.gz" |
36 |
+ |
37 |
+IUSE="cairo" |
38 |
+ |
39 |
+RDEPEND=">=dev-libs/glib-2.2.3:2 |
40 |
+ >=media-libs/freetype-2.3.7 |
41 |
+ >=media-libs/fontconfig-2.6 |
42 |
+ >=media-libs/libpng-1.4:0 |
43 |
+ x11-libs/libXrender |
44 |
+ x11-libs/libX11 |
45 |
+ x11-libs/libXt |
46 |
+ >=x11-libs/cairo-1.8.4[X] |
47 |
+ media-libs/libexif |
48 |
+ >=media-libs/giflib-5.1.2 |
49 |
+ virtual/jpeg:0 |
50 |
+ media-libs/tiff:0 |
51 |
+ !cairo? ( >=x11-libs/pango-1.20 )" |
52 |
+DEPEND="${RDEPEND}" |
53 |
+ |
54 |
+src_configure() { |
55 |
+ econf \ |
56 |
+ --disable-dependency-tracking \ |
57 |
+ --disable-static \ |
58 |
+ $(usex cairo "" "--with-pango") |
59 |
+} |
60 |
+ |
61 |
+src_install () { |
62 |
+ default |
63 |
+ |
64 |
+ dotnet_multilib_comply |
65 |
+ local commondoc=( AUTHORS ChangeLog README TODO ) |
66 |
+ for docfile in "${commondoc[@]}"; do |
67 |
+ [[ -e "${docfile}" ]] && dodoc "${docfile}" |
68 |
+ done |
69 |
+ [[ "${DOCS[@]}" ]] && dodoc "${DOCS[@]}" |
70 |
+ prune_libtool_files |
71 |
+} |