diff options
author | Mike Frysinger <vapier@gentoo.org> | 2016-06-24 04:01:25 -0400 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2016-06-24 04:01:25 -0400 |
commit | 6d8d4cf5b84b547dc0d37f9447302cb91ec608a6 (patch) | |
tree | 0e8dcffdbe9c40b7616eb7236505e724e3d40f25 /media-libs/gd | |
parent | dev-embedded/libftdi: mark 1.2 arm64/ppc/ppc64/sparc/x86 stable #563134 (diff) | |
download | gentoo-6d8d4cf5b84b547dc0d37f9447302cb91ec608a6.tar.gz gentoo-6d8d4cf5b84b547dc0d37f9447302cb91ec608a6.tar.bz2 gentoo-6d8d4cf5b84b547dc0d37f9447302cb91ec608a6.zip |
media-libs/gd: version bump to 2.2.2
Diffstat (limited to 'media-libs/gd')
-rw-r--r-- | media-libs/gd/Manifest | 1 | ||||
-rw-r--r-- | media-libs/gd/gd-2.2.2.ebuild | 61 |
2 files changed, 62 insertions, 0 deletions
diff --git a/media-libs/gd/Manifest b/media-libs/gd/Manifest index 2b0821e010d0..37ff16c16f51 100644 --- a/media-libs/gd/Manifest +++ b/media-libs/gd/Manifest @@ -1,2 +1,3 @@ DIST libgd-2.1.1.tar.xz 2039132 SHA256 9ada1ed45594abc998ebc942cef12b032fbad672e73efc22bc9ff54f5df2b285 SHA512 48f444402a4b89e412870f9091b92eb26136c5c0d795722262ad973c7d4103476204a2de36133a2634b8f410d6bccdcf60afb829a74ac2fddfb96aff2cd2567b WHIRLPOOL a38cf1f060db35d247b54038e731484e6230cd8a9da263a8c4823aaf6b3ce455c0747bbbde60f131d85a48340e39a5c8d6273fa51366cbe2436530520211a238 DIST libgd-2.2.1.tar.xz 2117160 SHA256 708762ae483e5fe46b58659f622c3e8f820c7ce0b3ae4e10ad0fbf17d4c4b976 SHA512 c19fe86230198b5ba25d7bb275f93ad3332d039accf7149036f53fc333753bacd91a80b5dca576b241e9eb20e9a4028236a485ca0f9fb8581c2a552fe4fe2262 WHIRLPOOL 41f53e0d7dc6a629190019b76dc98e35b75b64a62feb5ddb5d4fedc37d2240f1a0460dd9127b247e0e8010fcec1e10d7d846ce8e7ea6fd238087bb30e5b6f08d +DIST libgd-2.2.2.tar.xz 2105628 SHA256 489f756ce07f0c034b1a794f4d34fdb4d829256112cb3c36feb40bb56b79218c SHA512 65c2f22ff35b5d62889921d7963d9cf808700299aece9292716555ac544e8c52ca435d6c5f817610553162e249343868a9164bf0fef9d59b61cd8075334c7e8d WHIRLPOOL 862588677be868c56af7c312e4aa66a5e67f10ccbc3cc7209b0fd23bcc3aae594c1e092b4b08ca7f913b334be47a486e696bced69d3f461056649f9ea8cc130d diff --git a/media-libs/gd/gd-2.2.2.ebuild b/media-libs/gd/gd-2.2.2.ebuild new file mode 100644 index 000000000000..95712419c961 --- /dev/null +++ b/media-libs/gd/gd-2.2.2.ebuild @@ -0,0 +1,61 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit eutils libtool multilib-minimal + +DESCRIPTION="A graphics library for fast image creation" +HOMEPAGE="http://libgd.org/ http://www.boutell.com/gd/" +SRC_URI="https://github.com/libgd/libgd/releases/download/${P}/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() { + default + 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 \ + --disable-werror \ + --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.md + prune_libtool_files +} |