summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-dotnet/libgdiplus/libgdiplus-2.4_pre2.ebuild')
-rw-r--r--dev-dotnet/libgdiplus/libgdiplus-2.4_pre2.ebuild44
1 files changed, 44 insertions, 0 deletions
diff --git a/dev-dotnet/libgdiplus/libgdiplus-2.4_pre2.ebuild b/dev-dotnet/libgdiplus/libgdiplus-2.4_pre2.ebuild
new file mode 100644
index 0000000..b56e19c
--- /dev/null
+++ b/dev-dotnet/libgdiplus/libgdiplus-2.4_pre2.ebuild
@@ -0,0 +1,44 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-dotnet/libgdiplus/libgdiplus-2.2.ebuild,v 1.2 2009/01/19 00:26:27 mr_bones_ Exp $
+
+EAPI=2
+
+inherit go-mono mono flag-o-matic
+
+DESCRIPTION="Library for using System.Drawing with mono"
+HOMEPAGE="http://www.go-mono.com/"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~x86 ~amd64"
+IUSE="pango"
+
+RDEPEND=">=dev-libs/glib-2.16
+ >=media-libs/freetype-2.3.7
+ >=media-libs/fontconfig-2.6
+ media-libs/libpng
+ x11-libs/libXrender
+ x11-libs/libX11
+ x11-libs/libXt
+ >=x11-libs/cairo-1.8.4[X]
+ media-libs/libexif
+ >=media-libs/giflib-4.1.3
+ media-libs/jpeg
+ media-libs/tiff
+ pango? ( >=x11-libs/pango-1.20 )"
+DEPEND="${RDEPEND}"
+
+RESTRICT="test"
+
+src_prepare() {
+ go-mono_src_prepare
+ sed -i -e 's:ungif:gif:g' configure || die
+}
+
+src_configure() {
+ append-flags -fno-strict-aliasing
+ go-mono_src_configure --with-cairo=system \
+ $(use pango && printf %s --with-pango) \
+ || die "configure failed"
+}