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