1 |
commit: 042f9437ac162678af09cec7b4a1c83b5f84dd96 |
2 |
Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Jan 30 22:04:34 2017 +0000 |
4 |
Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Jan 30 22:04:51 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=042f9437 |
7 |
|
8 |
media-libs/gd: Security bump to version 2.2.4 (bug #607718). |
9 |
|
10 |
Package-Manager: Portage-2.3.3, Repoman-2.3.1 |
11 |
|
12 |
media-libs/gd/Manifest | 1 + |
13 |
media-libs/gd/gd-2.2.4.ebuild | 62 +++++++++++++++++++++++++++++++++++++++++++ |
14 |
2 files changed, 63 insertions(+) |
15 |
|
16 |
diff --git a/media-libs/gd/Manifest b/media-libs/gd/Manifest |
17 |
index 49ca5f9..d094191 100644 |
18 |
--- a/media-libs/gd/Manifest |
19 |
+++ b/media-libs/gd/Manifest |
20 |
@@ -1 +1,2 @@ |
21 |
DIST libgd-2.2.3.tar.xz 2164152 SHA256 746b6cbd6769a22ff3ba6f5756f3512a769bd4cdf4695dff17f4867f25fa7d3c SHA512 bdc6d086bc054beda6574ec46baa4cd94048a5f2f357f875ba05983e92d247f1b731434b9e438c6aef09d46fa96f1a7e1f330a25a77ffd2dd78aa8a32d652557 WHIRLPOOL 1f290bb446618e402422488e77e1b88626ea3d9679653f10392b90386cf2ae861f9f8fdf624ebd96d152b764cfa3bf6f01859f58a033585db01ef8ea77c21e1a |
22 |
+DIST libgd-2.2.4.tar.xz 2478528 SHA256 137f13a7eb93ce72e32ccd7cebdab6874f8cf7ddf31d3a455a68e016ecd9e4e6 SHA512 07903f322c4f6ab392508b0f60c38ca133699111ea92995dc6cd9379210d598bcb24a46c19657884d9e252f8663d0ee8c89c600e3a382a5ae598198c190f39b5 WHIRLPOOL eb00e684e8db02e649b3e6e2e76e7eff1e7aaa08995d78cef429b2b2053798aa1a44cd5b5eed5d3bc042394e72096d90ccc238ab3759e11fd543c80b697d0d91 |
23 |
|
24 |
diff --git a/media-libs/gd/gd-2.2.4.ebuild b/media-libs/gd/gd-2.2.4.ebuild |
25 |
new file mode 100644 |
26 |
index 00000000..d0643e9 |
27 |
--- /dev/null |
28 |
+++ b/media-libs/gd/gd-2.2.4.ebuild |
29 |
@@ -0,0 +1,62 @@ |
30 |
+# Copyright 1999-2017 Gentoo Foundation |
31 |
+# Distributed under the terms of the GNU General Public License v2 |
32 |
+# $Id$ |
33 |
+ |
34 |
+EAPI="6" |
35 |
+ |
36 |
+inherit libtool multilib-minimal |
37 |
+ |
38 |
+DESCRIPTION="A graphics library for fast image creation" |
39 |
+HOMEPAGE="http://libgd.org/ http://www.boutell.com/gd/" |
40 |
+SRC_URI="https://github.com/libgd/libgd/releases/download/${P}/lib${P}.tar.xz" |
41 |
+ |
42 |
+LICENSE="gd IJG HPND BSD" |
43 |
+SLOT="2/3" |
44 |
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris" |
45 |
+IUSE="fontconfig jpeg png static-libs tiff truetype webp xpm zlib" |
46 |
+ |
47 |
+# fontconfig has prefixed font paths, details see bug #518970 |
48 |
+REQUIRED_USE="prefix? ( fontconfig )" |
49 |
+ |
50 |
+RDEPEND="fontconfig? ( >=media-libs/fontconfig-2.10.92[${MULTILIB_USEDEP}] ) |
51 |
+ jpeg? ( >=virtual/jpeg-0-r2:0=[${MULTILIB_USEDEP}] ) |
52 |
+ png? ( >=media-libs/libpng-1.6.10:0=[${MULTILIB_USEDEP}] ) |
53 |
+ tiff? ( media-libs/tiff:0[${MULTILIB_USEDEP}] ) |
54 |
+ truetype? ( >=media-libs/freetype-2.5.0.1[${MULTILIB_USEDEP}] ) |
55 |
+ webp? ( media-libs/libwebp[${MULTILIB_USEDEP}] ) |
56 |
+ xpm? ( >=x11-libs/libXpm-3.5.10-r1[${MULTILIB_USEDEP}] >=x11-libs/libXt-1.1.4[${MULTILIB_USEDEP}] ) |
57 |
+ zlib? ( >=sys-libs/zlib-1.2.8-r1[${MULTILIB_USEDEP}] )" |
58 |
+DEPEND="${RDEPEND} |
59 |
+ >=virtual/pkgconfig-0-r1[${MULTILIB_USEDEP}]" |
60 |
+ |
61 |
+S="${WORKDIR}/lib${P}" |
62 |
+ |
63 |
+src_prepare() { |
64 |
+ default |
65 |
+ elibtoolize # for shared library on Solaris |
66 |
+} |
67 |
+ |
68 |
+multilib_src_configure() { |
69 |
+ # we aren't actually {en,dis}abling X here ... the configure |
70 |
+ # script uses it just to add explicit -I/-L paths which we |
71 |
+ # don't care about on Gentoo systems. |
72 |
+ ECONF_SOURCE=${S} \ |
73 |
+ econf \ |
74 |
+ --disable-werror \ |
75 |
+ --without-x \ |
76 |
+ --without-liq \ |
77 |
+ $(use_enable static-libs static) \ |
78 |
+ $(use_with fontconfig) \ |
79 |
+ $(use_with png) \ |
80 |
+ $(use_with tiff) \ |
81 |
+ $(use_with truetype freetype) \ |
82 |
+ $(use_with jpeg) \ |
83 |
+ $(use_with webp) \ |
84 |
+ $(use_with xpm) \ |
85 |
+ $(use_with zlib) |
86 |
+} |
87 |
+ |
88 |
+multilib_src_install_all() { |
89 |
+ dodoc README.md |
90 |
+ find "${ED}" \( -name "*.a" -o -name "*.la" \) -delete || die |
91 |
+} |