summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2016-05-19 22:57:41 -0400
committerMike Frysinger <vapier@gentoo.org>2016-05-19 22:57:47 -0400
commitd91093d341a1d2af3b2e92d7cda28ae02383ba4d (patch)
tree4bac14f5b992fa5ccfdb627cf031f1ec7764273e /media-libs/gd
parentdev-java/xstream: Stable for ppc64. (diff)
downloadgentoo-d91093d341a1d2af3b2e92d7cda28ae02383ba4d.tar.gz
gentoo-d91093d341a1d2af3b2e92d7cda28ae02383ba4d.tar.bz2
gentoo-d91093d341a1d2af3b2e92d7cda28ae02383ba4d.zip
media-libs/gd: version bump to 2.2.0
Diffstat (limited to 'media-libs/gd')
-rw-r--r--media-libs/gd/Manifest1
-rw-r--r--media-libs/gd/gd-2.2.0.ebuild59
2 files changed, 60 insertions, 0 deletions
diff --git a/media-libs/gd/Manifest b/media-libs/gd/Manifest
index 370314513790..236ac6997216 100644
--- a/media-libs/gd/Manifest
+++ b/media-libs/gd/Manifest
@@ -1 +1,2 @@
DIST libgd-2.1.1.tar.xz 2039132 SHA256 9ada1ed45594abc998ebc942cef12b032fbad672e73efc22bc9ff54f5df2b285 SHA512 48f444402a4b89e412870f9091b92eb26136c5c0d795722262ad973c7d4103476204a2de36133a2634b8f410d6bccdcf60afb829a74ac2fddfb96aff2cd2567b WHIRLPOOL a38cf1f060db35d247b54038e731484e6230cd8a9da263a8c4823aaf6b3ce455c0747bbbde60f131d85a48340e39a5c8d6273fa51366cbe2436530520211a238
+DIST libgd-2.2.0.tar.xz 2117636 SHA256 35235129bfaaa4ed09af5b9efef2aa311318ca3a4c36bb8342f9b23cfacbf50b SHA512 209aed94d34df235aa26c1556135537cae116f20a8e408b8981fd59e9d027f6d856a0ebe609d8acadf3b960d20e36eb73e4f56e8a0b96c034493b36dd81ce9a4 WHIRLPOOL 0b73393e6fd3832ac9dd9a2bbf29067855fbd34885f5b8fa7166d5b9992a9a289988c0fd2c9f6f57fcad08d87f1d4309b3471a0892089eeaff58c5a123e4e242
diff --git a/media-libs/gd/gd-2.2.0.ebuild b/media-libs/gd/gd-2.2.0.ebuild
new file mode 100644
index 000000000000..3a697e32a549
--- /dev/null
+++ b/media-libs/gd/gd-2.2.0.ebuild
@@ -0,0 +1,59 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="5"
+
+inherit libtool multilib-minimal
+
+DESCRIPTION="A graphics library for fast image creation"
+HOMEPAGE="http://libgd.org/ http://www.boutell.com/gd/"
+SRC_URI="https://bitbucket.org/libgd/gd-libgd/downloads/lib${P}.tar.xz"
+
+LICENSE="gd IJG HPND BSD"
+SLOT="2/3"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x86-freebsd ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris"
+IUSE="fontconfig jpeg png static-libs tiff truetype webp xpm zlib"
+
+# fontconfig has prefixed font paths, details see bug #518970
+REQUIRED_USE="prefix? ( fontconfig )"
+
+RDEPEND="fontconfig? ( >=media-libs/fontconfig-2.10.92[${MULTILIB_USEDEP}] )
+ jpeg? ( >=virtual/jpeg-0-r2:0=[${MULTILIB_USEDEP}] )
+ png? ( >=media-libs/libpng-1.6.10:0=[${MULTILIB_USEDEP}] )
+ tiff? ( media-libs/tiff:0[${MULTILIB_USEDEP}] )
+ truetype? ( >=media-libs/freetype-2.5.0.1[${MULTILIB_USEDEP}] )
+ webp? ( media-libs/libwebp[${MULTILIB_USEDEP}] )
+ xpm? ( >=x11-libs/libXpm-3.5.10-r1[${MULTILIB_USEDEP}] >=x11-libs/libXt-1.1.4[${MULTILIB_USEDEP}] )
+ zlib? ( >=sys-libs/zlib-1.2.8-r1[${MULTILIB_USEDEP}] )"
+DEPEND="${RDEPEND}
+ >=virtual/pkgconfig-0-r1[${MULTILIB_USEDEP}]"
+
+S="${WORKDIR}/lib${P}"
+
+src_prepare() {
+ elibtoolize # for shared library on Solaris
+}
+
+multilib_src_configure() {
+ # we aren't actually {en,dis}abling X here ... the configure
+ # script uses it just to add explicit -I/-L paths which we
+ # don't care about on Gentoo systems.
+ ECONF_SOURCE=${S} \
+ econf \
+ --without-x \
+ --without-liq \
+ $(use_enable static-libs static) \
+ $(use_with fontconfig) \
+ $(use_with png) \
+ $(use_with tiff) \
+ $(use_with truetype freetype) \
+ $(use_with jpeg) \
+ $(use_with webp) \
+ $(use_with xpm) \
+ $(use_with zlib)
+}
+
+multilib_src_install_all() {
+ #dodoc NEWS README
+ prune_libtool_files
+}