summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Johanson <latexer@gentoo.org>2006-11-10 22:51:25 +0000
committerPeter Johanson <latexer@gentoo.org>2006-11-10 22:51:25 +0000
commit63c175f05a989b31b985d6832e117b280d546600 (patch)
tree006f0e89adda0fedaae2fc28f039180d1a4fbedd /dev-dotnet
parentMarked ~ppc64 (diff)
downloadgentoo-2-63c175f05a989b31b985d6832e117b280d546600.tar.gz
gentoo-2-63c175f05a989b31b985d6832e117b280d546600.tar.bz2
gentoo-2-63c175f05a989b31b985d6832e117b280d546600.zip
Bump to1.2, and do some long over due house cleaning.
(Portage version: 2.1.2_pre1-r4)
Diffstat (limited to 'dev-dotnet')
-rw-r--r--dev-dotnet/libgdiplus/files/digest-libgdiplus-1.23
-rw-r--r--dev-dotnet/libgdiplus/libgdiplus-1.2.ebuild68
2 files changed, 71 insertions, 0 deletions
diff --git a/dev-dotnet/libgdiplus/files/digest-libgdiplus-1.2 b/dev-dotnet/libgdiplus/files/digest-libgdiplus-1.2
new file mode 100644
index 000000000000..be67d1866d16
--- /dev/null
+++ b/dev-dotnet/libgdiplus/files/digest-libgdiplus-1.2
@@ -0,0 +1,3 @@
+MD5 1db98db209907eb78958b947db294692 libgdiplus-1.2.tar.gz 3011147
+RMD160 30d2fa2624b241664cec509f7d7aa698a0d15be5 libgdiplus-1.2.tar.gz 3011147
+SHA256 9d93c99abe79a3a051e64844aec02673633791b797ae02f2fac923f088c32d3c libgdiplus-1.2.tar.gz 3011147
diff --git a/dev-dotnet/libgdiplus/libgdiplus-1.2.ebuild b/dev-dotnet/libgdiplus/libgdiplus-1.2.ebuild
new file mode 100644
index 000000000000..39a6e6e22d21
--- /dev/null
+++ b/dev-dotnet/libgdiplus/libgdiplus-1.2.ebuild
@@ -0,0 +1,68 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-dotnet/libgdiplus/libgdiplus-1.2.ebuild,v 1.1 2006/11/10 22:51:25 latexer Exp $
+
+inherit eutils flag-o-matic toolchain-funcs autotools
+
+DESCRIPTION="Library for using System.Drawing with mono"
+HOMEPAGE="http://www.go-mono.com/"
+SRC_URI="http://www.go-mono.com/sources/${PN}/${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE="exif gif jpeg tiff"
+
+RDEPEND=">=dev-libs/glib-2.6
+ >=media-libs/freetype-2
+ >=media-libs/fontconfig-2
+ media-libs/libpng
+ || (
+ (
+ x11-libs/libXrender
+ x11-libs/libX11
+ x11-libs/libXt
+ )
+ virtual/x11
+ )
+ exif? ( media-libs/libexif )
+ gif? ( >=media-libs/giflib-4.1.3 )
+ jpeg? ( media-libs/jpeg )
+ tiff? ( media-libs/tiff )"
+DEPEND="${RDEPEND}"
+
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+
+ epatch ${FILESDIR}/${PN}-1.1.13-libungif-configure-fix.diff
+
+ eautoreconf
+}
+
+src_compile() {
+ if [[ "$(gcc-major-version)" -gt "3" ]] || \
+ ( [[ "$(gcc-major-version)" -eq "3" ]] && [[ "$(gcc-minor-version)" -gt "3" ]] )
+ then
+ append-flags -fno-inline-functions
+ fi
+
+ # Disable glitz support as libgdiplus does not use it, and it causes errors
+ econf --disable-glitz \
+ $(use_with exif libexif) \
+ $(use_with gif libgif) \
+ $(use_with jpeg libjpeg) \
+ $(use_with tiff libtiff) || die "configure failed"
+
+ # attribute((__stdcall__)) generates warnings on ppc
+ if use ppc ; then
+ sed -i -e 's:-Werror::g' src/Makefile
+ fi
+
+ emake || die "compile failed"
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die "install failed"
+ dodoc AUTHORS ChangeLog NEWS README
+}