Gentoo Archives: gentoo-commits

From: Lars Wendler <polynomial-c@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: media-libs/gd/
Date: Fri, 01 Sep 2017 20:54:48
Message-Id: 1504299269.102baa282bb124e37febc17d24e9b84767272fc4.polynomial-c@gentoo
1 commit: 102baa282bb124e37febc17d24e9b84767272fc4
2 Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
3 AuthorDate: Fri Sep 1 20:42:20 2017 +0000
4 Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
5 CommitDate: Fri Sep 1 20:54:29 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=102baa28
7
8 media-libs/gd: Bump to version 2.2.5
9
10 Package-Manager: Portage-2.3.8, Repoman-2.3.3
11
12 media-libs/gd/Manifest | 1 +
13 media-libs/gd/gd-2.2.5.ebuild | 62 +++++++++++++++++++++++++++++++++++++++++++
14 2 files changed, 63 insertions(+)
15
16 diff --git a/media-libs/gd/Manifest b/media-libs/gd/Manifest
17 index cc46b94908b..4cc99d4511f 100644
18 --- a/media-libs/gd/Manifest
19 +++ b/media-libs/gd/Manifest
20 @@ -1 +1,2 @@
21 DIST libgd-2.2.4.tar.xz 2478528 SHA256 137f13a7eb93ce72e32ccd7cebdab6874f8cf7ddf31d3a455a68e016ecd9e4e6 SHA512 07903f322c4f6ab392508b0f60c38ca133699111ea92995dc6cd9379210d598bcb24a46c19657884d9e252f8663d0ee8c89c600e3a382a5ae598198c190f39b5 WHIRLPOOL eb00e684e8db02e649b3e6e2e76e7eff1e7aaa08995d78cef429b2b2053798aa1a44cd5b5eed5d3bc042394e72096d90ccc238ab3759e11fd543c80b697d0d91
22 +DIST libgd-2.2.5.tar.xz 2594092 SHA256 8c302ccbf467faec732f0741a859eef4ecae22fea2d2ab87467be940842bde51 SHA512 e4598e17a277a75e02255402182cab139cb3f2cffcd68ec05cc10bbeaf6bc7aa39162c3445cd4a7efc1a26b72b9152bbedb187351e3ed099ea51767319997a6b WHIRLPOOL 0ca5f05ebf03ec38caa028862379c3ad78da0a28b933a150b7635135807aa0a7d6bb85f4e9c206dd0ba0d3ce8ef64cc1ba1a3d929f0aad737a6b48d4453e33ef
23
24 diff --git a/media-libs/gd/gd-2.2.5.ebuild b/media-libs/gd/gd-2.2.5.ebuild
25 new file mode 100644
26 index 00000000000..3db0e012734
27 --- /dev/null
28 +++ b/media-libs/gd/gd-2.2.5.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 +
33 +EAPI="6"
34 +
35 +inherit libtool ltprune multilib-minimal
36 +
37 +DESCRIPTION="A graphics library for fast image creation"
38 +HOMEPAGE="http://libgd.org/ http://www.boutell.com/gd/"
39 +SRC_URI="https://github.com/libgd/libgd/releases/download/${P}/lib${P}.tar.xz"
40 +
41 +LICENSE="gd IJG HPND BSD"
42 +SLOT="2/3"
43 +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"
44 +IUSE="fontconfig jpeg png static-libs tiff truetype webp xpm zlib"
45 +
46 +# fontconfig has prefixed font paths, details see bug #518970
47 +REQUIRED_USE="prefix? ( fontconfig )"
48 +
49 +RDEPEND="fontconfig? ( >=media-libs/fontconfig-2.10.92[${MULTILIB_USEDEP}] )
50 + jpeg? ( >=virtual/jpeg-0-r2:0=[${MULTILIB_USEDEP}] )
51 + png? ( >=media-libs/libpng-1.6.10:0=[${MULTILIB_USEDEP}] )
52 + tiff? ( media-libs/tiff:0[${MULTILIB_USEDEP}] )
53 + truetype? ( >=media-libs/freetype-2.5.0.1[${MULTILIB_USEDEP}] )
54 + webp? ( media-libs/libwebp:=[${MULTILIB_USEDEP}] )
55 + xpm? ( >=x11-libs/libXpm-3.5.10-r1[${MULTILIB_USEDEP}] >=x11-libs/libXt-1.1.4[${MULTILIB_USEDEP}] )
56 + zlib? ( >=sys-libs/zlib-1.2.8-r1[${MULTILIB_USEDEP}] )"
57 +DEPEND="${RDEPEND}
58 + >=virtual/pkgconfig-0-r1[${MULTILIB_USEDEP}]"
59 +
60 +S="${WORKDIR}/lib${P}"
61 +
62 +src_prepare() {
63 + default
64 + elibtoolize # for shared library on Solaris
65 +}
66 +
67 +multilib_src_configure() {
68 + # we aren't actually {en,dis}abling X here ... the configure
69 + # script uses it just to add explicit -I/-L paths which we
70 + # don't care about on Gentoo systems.
71 + local myeconfargs=(
72 + --disable-werror
73 + --without-x
74 + --without-liq
75 + $(use_enable static-libs static)
76 + $(use_with fontconfig)
77 + $(use_with png)
78 + $(use_with tiff)
79 + $(use_with truetype freetype)
80 + $(use_with jpeg)
81 + $(use_with webp)
82 + $(use_with xpm)
83 + $(use_with zlib)
84 + )
85 + ECONF_SOURCE="${S}" econf "${myeconfargs[@]}"
86 +}
87 +
88 +multilib_src_install_all() {
89 + dodoc README.md
90 + prune_libtool_files
91 +}