dev-dotnet/libgdiplus bump
authorHeather Cynede <cynede@gentoo.org>
Fri, 14 Aug 2015 07:16:06 +0000 (11:16 +0400)
committerHeather Cynede <cynede@gentoo.org>
Fri, 14 Aug 2015 07:16:50 +0000 (11:16 +0400)
Package-Manager: portage-2.2.20.1

dev-dotnet/libgdiplus/Manifest
dev-dotnet/libgdiplus/libgdiplus-3.12.ebuild [new file with mode: 0644]

index c3082d64f6d7026a810cc55a50cd4905fccae065..11b004f5e97c79e745f69af3b585959ed5e94529 100644 (file)
@@ -1 +1,2 @@
 DIST libgdiplus-2.10.9.tar.bz2 2074317 SHA256 6ddeb6c327bada7cb6e06d1a20714f526a0c69520dfd42c12ddd032c3c5d964e SHA512 7f1944795c7ede5fd92a6d7e8d7d6cf2ef3c154e656b83e769b417f8f7195dd975084afe3c3cd1dda1ecb2c1167f76c0b5714cd16d549ff056add09763c6b26c WHIRLPOOL 0930cb2ad191c34b7ebd073f687536663bcfe9a44ed3296cf81bc9d43cfc7ee39d8f60f9b9f83f89847164b7366e514ee945737be50b82257209507c3b6e9c5d
+DIST libgdiplus-3.12.tar.gz 688120 SHA256 e61c4dc1bc2ba993e4f79029472efcf5760eb9e60eb20d9cd31f0ebe9113bfc9 SHA512 12c58e7ad99e5aa7caf19f64f47bddd399648292f3c2b9ade64e9051b0495bb8772af8ca9cdb6cb664d20c845d7136f028e10e659548bffd35e7604548bb8743 WHIRLPOOL 288ea9f2b8f5599278f039be1af32f54d0496da6ce70c3e937485d0a3a40494680a7c0fc55430602c256c487df1d57c0b6d8f6220a52b8ac0d7a48e6211d6ead
diff --git a/dev-dotnet/libgdiplus/libgdiplus-3.12.ebuild b/dev-dotnet/libgdiplus/libgdiplus-3.12.ebuild
new file mode 100644 (file)
index 0000000..5959db3
--- /dev/null
@@ -0,0 +1,67 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+inherit base eutils dotnet flag-o-matic
+
+DESCRIPTION="Library for using System.Drawing with mono"
+HOMEPAGE="http://www.mono-project.com"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~x86-freebsd ~amd64-linux ~x86-linux ~x86-solaris"
+SRC_URI="http://download.mono-project.com/sources/${PN}/${P}.tar.gz"
+
+IUSE="cairo"
+
+RDEPEND=">=dev-libs/glib-2.2.3:2
+       >=media-libs/freetype-2.3.7
+       >=media-libs/fontconfig-2.6
+       >=media-libs/libpng-1.4:0
+       x11-libs/libXrender
+       x11-libs/libX11
+       x11-libs/libXt
+       >=x11-libs/cairo-1.8.4[X]
+       media-libs/libexif
+       >=media-libs/giflib-4.2.3
+       virtual/jpeg:0
+       media-libs/tiff:0
+       !cairo? ( >=x11-libs/pango-1.20 )"
+DEPEND="${RDEPEND}"
+
+PATCHES=( "${FILESDIR}/${P}-giflib-quantizebuffer.patch"  )
+
+RESTRICT="test"
+
+src_prepare() {
+       base_src_prepare
+       sed -i -e 's:ungif:gif:g' configure || die
+}
+
+src_configure() {
+       append-flags -fno-strict-aliasing
+       econf   --disable-dependency-tracking           \
+               --disable-static                        \
+               --with-cairo=system                     \
+               $(use !cairo && printf %s --with-pango)
+}
+
+src_compile() {
+       emake "$@"
+}
+
+src_install () {
+       emake -j1 DESTDIR="${D}" "$@" install #nowarn
+       dotnet_multilib_comply
+       local commondoc=( AUTHORS ChangeLog README TODO )
+       for docfile in "${commondoc[@]}"
+       do
+               [[ -e "${docfile}" ]] && dodoc "${docfile}"
+       done
+       if [[ "${DOCS[@]}" ]]
+       then
+               dodoc "${DOCS[@]}"
+       fi
+       prune_libtool_files
+}