diff options
author | Jurek Bartuszek <jurek@gentoo.org> | 2008-05-31 12:22:19 +0000 |
---|---|---|
committer | Jurek Bartuszek <jurek@gentoo.org> | 2008-05-31 12:22:19 +0000 |
commit | a747d503ed7d65827c4a60facaa0fcbbc8f73eef (patch) | |
tree | de28f4b66113a1a3b4e965841acbc184b2a45c36 /dev-dotnet | |
parent | New version for GNOME-2.22.2. Build, crash and bug fixes. Clean up old revisi... (diff) | |
download | gentoo-2-a747d503ed7d65827c4a60facaa0fcbbc8f73eef.tar.gz gentoo-2-a747d503ed7d65827c4a60facaa0fcbbc8f73eef.tar.bz2 gentoo-2-a747d503ed7d65827c4a60facaa0fcbbc8f73eef.zip |
dev-dotnet/libgdiplus-1.9: version bump (bug #213381)
(Portage version: 2.1.4.4)
Diffstat (limited to 'dev-dotnet')
-rw-r--r-- | dev-dotnet/libgdiplus/ChangeLog | 7 | ||||
-rw-r--r-- | dev-dotnet/libgdiplus/libgdiplus-1.9.ebuild | 66 |
2 files changed, 72 insertions, 1 deletions
diff --git a/dev-dotnet/libgdiplus/ChangeLog b/dev-dotnet/libgdiplus/ChangeLog index 9822058e2a9c..8e8bfba2a78b 100644 --- a/dev-dotnet/libgdiplus/ChangeLog +++ b/dev-dotnet/libgdiplus/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for dev-dotnet/libgdiplus # Copyright 2000-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-dotnet/libgdiplus/ChangeLog,v 1.84 2008/04/18 22:19:04 compnerd Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-dotnet/libgdiplus/ChangeLog,v 1.85 2008/05/31 12:22:19 jurek Exp $ + +*libgdiplus-1.9 (31 May 2008) + + 31 May 2008; Jurek Bartuszek <jurek@gentoo.org> +libgdiplus-1.9.ebuild: + Version bump (bug #213381) 18 Apr 2008; Saleem Abdulrasool <compnerd@gentoo.org> libgdiplus-1.2.2.ebuild, libgdiplus-1.2.3.ebuild, libgdiplus-1.2.4.ebuild, diff --git a/dev-dotnet/libgdiplus/libgdiplus-1.9.ebuild b/dev-dotnet/libgdiplus/libgdiplus-1.9.ebuild new file mode 100644 index 000000000000..5aaee459760a --- /dev/null +++ b/dev-dotnet/libgdiplus/libgdiplus-1.9.ebuild @@ -0,0 +1,66 @@ +# Copyright 1999-2008 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-dotnet/libgdiplus/libgdiplus-1.9.ebuild,v 1.1 2008/05/31 12:22:19 jurek 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.bz2" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~sparc ~x86 ~x86-fbsd" +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 + exif? ( media-libs/libexif ) + gif? ( >=media-libs/giflib-4.1.3 ) + jpeg? ( media-libs/jpeg ) + tiff? ( media-libs/tiff )" +DEPEND="${RDEPEND} + >=dev-util/pkgconfig-0.19" + +RESTRICT="test" + +src_unpack() { + unpack ${A} + cd "${S}" + + epatch "${FILESDIR}/${PN}-1.2.5-imglibs.patch" + + 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 +} |